0s autopkgtest [01:38:53]: starting date and time: 2024-12-04 01:38:53+0000
0s autopkgtest [01:38:53]: git checkout: be626eda Fix armhf LXD image generation for plucky
0s autopkgtest [01:38:53]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.fh6ua2x9/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:xauth --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 -- lxd -r lxd-armhf-10.145.243.240 lxd-armhf-10.145.243.240:autopkgtest/ubuntu/plucky/armhf
59s autopkgtest [01:39:52]: testbed dpkg architecture: armhf
62s autopkgtest [01:39:55]: testbed apt version: 2.9.14ubuntu1
68s autopkgtest [01:40:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup
73s autopkgtest [01:40:06]: testbed release detected to be: None
87s autopkgtest [01:40:20]: updating testbed package index (apt update)
91s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB]
91s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB]
91s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
91s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
91s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB]
91s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB]
91s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB]
91s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B]
91s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [108 kB]
91s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B]
91s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [582 kB]
91s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6956 B]
91s Get:13 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB]
91s Get:14 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB]
92s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1382 kB]
92s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1353 kB]
92s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.6 MB]
92s Get:18 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [175 kB]
96s Fetched 40.3 MB in 5s (8046 kB/s)
97s Reading package lists...
107s autopkgtest [01:40:40]: upgrading testbed (apt dist-upgrade and autopurge)
111s Reading package lists...
112s Building dependency tree...
112s Reading state information...
112s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
112s Starting 2 pkgProblemResolver with broken count: 0
112s Done
113s Entering ResolveByKeep
113s
113s The following package was automatically installed and is no longer required:
113s libassuan0
113s Use 'apt autoremove' to remove it.
113s The following packages will be upgraded:
113s binutils binutils-arm-linux-gnueabihf binutils-common dirmngr fwupd
113s gcc-14-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
113s gpgconf gpgsm gpgv keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0
113s libctf0 libfwupd3 libgcc-s1 libsframe1 libstdc++6 publicsuffix
113s python3-software-properties software-properties-common xauth
114s 29 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
114s Need to get 12.5 MB of archives.
114s After this operation, 416 kB of additional disk space will be used.
114s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-9ubuntu1 [7856 B]
114s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-9ubuntu1 [51.9 kB]
114s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-9ubuntu1 [713 kB]
114s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-9ubuntu1 [40.9 kB]
114s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB]
114s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu20 [88.9 kB]
114s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu20 [351 kB]
114s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu20 [246 kB]
114s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu20 [160 kB]
114s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu20 [238 kB]
114s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu20 [535 kB]
114s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu20 [117 kB]
114s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu20 [359 kB]
114s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu20 [113 kB]
114s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu20 [228 kB]
114s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241025.1547-0.1 [135 kB]
114s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB]
114s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241126-3ubuntu1 [90.2 kB]
114s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241126-3ubuntu1 [89.7 kB]
114s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241126-3ubuntu1 [3084 B]
114s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241126-3ubuntu1 [2938 kB]
114s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241126-3ubuntu1 [461 kB]
114s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241126-3ubuntu1 [222 kB]
114s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241126-3ubuntu1 [12.8 kB]
114s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.2-2 [5020 kB]
115s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.2-2 [124 kB]
115s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB]
115s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.107 [16.5 kB]
115s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.107 [30.4 kB]
115s Fetched 12.5 MB in 1s (11.8 MB/s)
115s (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 ... 59970 files and directories currently installed.)
115s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_armhf.deb ...
115s Unpacking libatomic1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
115s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_armhf.deb ...
115s Unpacking gcc-14-base:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
115s Setting up gcc-14-base:armhf (14.2.0-9ubuntu1) ...
115s (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 ... 59970 files and directories currently installed.)
115s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_armhf.deb ...
115s Unpacking libstdc++6:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
115s Setting up libstdc++6:armhf (14.2.0-9ubuntu1) ...
115s (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 ... 59970 files and directories currently installed.)
115s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_armhf.deb ...
115s Unpacking libgcc-s1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
115s Setting up libgcc-s1:armhf (14.2.0-9ubuntu1) ...
115s (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 ... 59970 files and directories currently installed.)
115s Preparing to unpack .../libcap-ng0_0.8.5-4_armhf.deb ...
115s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ...
115s Setting up libcap-ng0:armhf (0.8.5-4) ...
116s (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 ... 59970 files and directories currently installed.)
116s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ...
116s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_armhf.deb ...
116s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
116s Setting up gpgv (2.4.4-2ubuntu20) ...
116s (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 ... 59970 files and directories currently installed.)
116s Preparing to unpack .../00-publicsuffix_20241025.1547-0.1_all.deb ...
116s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ...
116s Preparing to unpack .../01-xauth_1%3a1.1.2-1.1_armhf.deb ...
116s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ...
116s Preparing to unpack .../02-libctf0_2.43.50.20241126-3ubuntu1_armhf.deb ...
116s Unpacking libctf0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
116s Preparing to unpack .../03-libctf-nobfd0_2.43.50.20241126-3ubuntu1_armhf.deb ...
116s Unpacking libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
116s Preparing to unpack .../04-binutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
116s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
116s Preparing to unpack .../05-binutils-arm-linux-gnueabihf_2.43.50.20241126-3ubuntu1_armhf.deb ...
116s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
116s Preparing to unpack .../06-libbinutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
116s Unpacking libbinutils:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
116s Preparing to unpack .../07-binutils-common_2.43.50.20241126-3ubuntu1_armhf.deb ...
116s Unpacking binutils-common:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
116s Preparing to unpack .../08-libsframe1_2.43.50.20241126-3ubuntu1_armhf.deb ...
116s Unpacking libsframe1:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
116s Preparing to unpack .../09-fwupd_2.0.2-2_armhf.deb ...
117s Unpacking fwupd (2.0.2-2) over (2.0.2-1) ...
117s Preparing to unpack .../10-libfwupd3_2.0.2-2_armhf.deb ...
117s Unpacking libfwupd3:armhf (2.0.2-2) over (2.0.2-1) ...
117s Preparing to unpack .../11-gnupg-l10n_2.4.4-2ubuntu20_all.deb ...
117s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
117s Preparing to unpack .../12-software-properties-common_0.107_all.deb ...
117s Unpacking software-properties-common (0.107) over (0.105) ...
117s Preparing to unpack .../13-python3-software-properties_0.107_all.deb ...
117s Unpacking python3-software-properties (0.107) over (0.105) ...
117s Setting up binutils-common:armhf (2.43.50.20241126-3ubuntu1) ...
117s Setting up libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) ...
117s Setting up libfwupd3:armhf (2.0.2-2) ...
117s Setting up libsframe1:armhf (2.43.50.20241126-3ubuntu1) ...
117s Setting up gnupg-l10n (2.4.4-2ubuntu20) ...
117s Setting up libatomic1:armhf (14.2.0-9ubuntu1) ...
117s Setting up xauth (1:1.1.2-1.1) ...
117s Setting up gpgconf (2.4.4-2ubuntu20) ...
117s Setting up libbinutils:armhf (2.43.50.20241126-3ubuntu1) ...
117s Setting up publicsuffix (20241025.1547-0.1) ...
117s Setting up fwupd (2.0.2-2) ...
117s fwupd-refresh.service is a disabled or a static unit not running, not starting it.
117s fwupd.service is a disabled or a static unit not running, not starting it.
117s Setting up gpg (2.4.4-2ubuntu20) ...
117s Setting up gnupg-utils (2.4.4-2ubuntu20) ...
117s Setting up libctf0:armhf (2.43.50.20241126-3ubuntu1) ...
117s Setting up gpg-agent (2.4.4-2ubuntu20) ...
118s Setting up gpgsm (2.4.4-2ubuntu20) ...
118s Setting up dirmngr (2.4.4-2ubuntu20) ...
118s Setting up python3-software-properties (0.107) ...
118s Setting up keyboxd (2.4.4-2ubuntu20) ...
118s Setting up gnupg (2.4.4-2ubuntu20) ...
118s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) ...
118s Setting up gpg-wks-client (2.4.4-2ubuntu20) ...
118s Setting up binutils (2.43.50.20241126-3ubuntu1) ...
118s Setting up software-properties-common (0.107) ...
118s Processing triggers for install-info (7.1.1-1) ...
119s Processing triggers for libc-bin (2.40-1ubuntu3) ...
119s Processing triggers for man-db (2.13.0-1) ...
120s Processing triggers for dbus (1.14.10-4ubuntu5) ...
123s Reading package lists...
123s Building dependency tree...
123s Reading state information...
124s Starting pkgProblemResolver with broken count: 0
124s Starting 2 pkgProblemResolver with broken count: 0
124s Done
125s The following packages will be REMOVED:
125s libassuan0*
125s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
125s After this operation, 68.6 kB disk space will be freed.
125s (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 ... 59970 files and directories currently installed.)
125s Removing libassuan0:armhf (2.5.6-1build1) ...
125s Processing triggers for libc-bin (2.40-1ubuntu3) ...
128s autopkgtest [01:41:01]: rebooting testbed after setup commands that affected boot
212s autopkgtest [01:42:25]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2
257s autopkgtest [01:43:10]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0
372s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (dsc) [4921 B]
372s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (tar) [263 kB]
372s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (tar) [5556 kB]
372s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (diff) [141 kB]
372s gpgv: Signature made Wed Nov 13 21:48:54 2024 UTC
372s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076
372s gpgv: Can't check signature: No public key
372s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.2-3.dsc: no acceptable signature found
373s autopkgtest [01:45:06]: testing package glib2.0 version 2.82.2-3
386s autopkgtest [01:45:19]: build not needed
400s autopkgtest [01:45:33]: test build: preparing testbed
403s Reading package lists...
403s Building dependency tree...
403s Reading state information...
404s Starting pkgProblemResolver with broken count: 0
404s Starting 2 pkgProblemResolver with broken count: 0
404s Done
405s The following NEW packages will be installed:
405s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf
405s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf
405s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf
405s gcc-arm-linux-gnueabihf libasan8 libblkid-dev libc-dev-bin libc6-dev
405s libcc1-0 libcrypt-dev libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1
405s libisl23 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev
405s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev
405s libsysprof-capture-4-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin
405s rpcsvc-proto uuid-dev zlib1g-dev
405s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded.
405s Need to get 54.7 MB of archives.
405s After this operation, 161 MB of additional disk space will be used.
405s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB]
405s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB]
405s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB]
405s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB]
405s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB]
405s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB]
405s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB]
405s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-9ubuntu1 [9312 kB]
406s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-9ubuntu1 [1036 B]
406s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B]
406s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB]
406s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-9ubuntu1 [43.3 kB]
406s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-9ubuntu1 [125 kB]
406s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-9ubuntu1 [2964 kB]
406s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-9ubuntu1 [1177 kB]
406s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-9ubuntu1 [874 kB]
406s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-9ubuntu1 [18.1 MB]
406s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-9ubuntu1 [500 kB]
406s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B]
406s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B]
406s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-9ubuntu1 [2556 kB]
406s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-9ubuntu1 [10.6 MB]
407s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-9ubuntu1 [20.1 kB]
407s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B]
407s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B]
407s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B]
407s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.6-1build1 [57.1 kB]
407s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-1ubuntu1 [51.0 kB]
407s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-1ubuntu1 [216 kB]
407s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB]
407s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB]
407s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB]
407s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B]
407s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB]
407s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1-dev armhf 3.7-3ubuntu1 [160 kB]
407s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-1ubuntu1 [33.0 kB]
407s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 47.2-1 [46.4 kB]
407s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB]
407s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB]
407s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB]
407s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB]
407s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev armhf 2.82.2-3 [1705 kB]
407s Fetched 54.7 MB in 2s (25.4 MB/s)
407s Selecting previously unselected package libc-dev-bin.
407s (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 ... 59965 files and directories currently installed.)
407s Preparing to unpack .../00-libc-dev-bin_2.40-1ubuntu3_armhf.deb ...
407s Unpacking libc-dev-bin (2.40-1ubuntu3) ...
407s Selecting previously unselected package linux-libc-dev:armhf.
407s Preparing to unpack .../01-linux-libc-dev_6.11.0-8.8_armhf.deb ...
407s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ...
407s Selecting previously unselected package libcrypt-dev:armhf.
407s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-5_armhf.deb ...
407s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ...
407s Selecting previously unselected package rpcsvc-proto.
408s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ...
408s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ...
408s Selecting previously unselected package libc6-dev:armhf.
408s Preparing to unpack .../04-libc6-dev_2.40-1ubuntu3_armhf.deb ...
408s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ...
408s Selecting previously unselected package libisl23:armhf.
408s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ...
408s Unpacking libisl23:armhf (0.27-1) ...
408s Selecting previously unselected package libmpc3:armhf.
408s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ...
408s Unpacking libmpc3:armhf (1.3.1-1build2) ...
408s Selecting previously unselected package cpp-14-arm-linux-gnueabihf.
408s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-9ubuntu1_armhf.deb ...
408s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
408s Selecting previously unselected package cpp-14.
408s Preparing to unpack .../08-cpp-14_14.2.0-9ubuntu1_armhf.deb ...
408s Unpacking cpp-14 (14.2.0-9ubuntu1) ...
408s Selecting previously unselected package cpp-arm-linux-gnueabihf.
408s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ...
408s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
408s Selecting previously unselected package cpp.
408s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ...
408s Unpacking cpp (4:14.1.0-2ubuntu1) ...
408s Selecting previously unselected package libcc1-0:armhf.
408s Preparing to unpack .../11-libcc1-0_14.2.0-9ubuntu1_armhf.deb ...
408s Unpacking libcc1-0:armhf (14.2.0-9ubuntu1) ...
408s Selecting previously unselected package libgomp1:armhf.
408s Preparing to unpack .../12-libgomp1_14.2.0-9ubuntu1_armhf.deb ...
408s Unpacking libgomp1:armhf (14.2.0-9ubuntu1) ...
408s Selecting previously unselected package libasan8:armhf.
408s Preparing to unpack .../13-libasan8_14.2.0-9ubuntu1_armhf.deb ...
408s Unpacking libasan8:armhf (14.2.0-9ubuntu1) ...
408s Selecting previously unselected package libubsan1:armhf.
408s Preparing to unpack .../14-libubsan1_14.2.0-9ubuntu1_armhf.deb ...
408s Unpacking libubsan1:armhf (14.2.0-9ubuntu1) ...
408s Selecting previously unselected package libgcc-14-dev:armhf.
408s Preparing to unpack .../15-libgcc-14-dev_14.2.0-9ubuntu1_armhf.deb ...
408s Unpacking libgcc-14-dev:armhf (14.2.0-9ubuntu1) ...
408s Selecting previously unselected package gcc-14-arm-linux-gnueabihf.
408s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-9ubuntu1_armhf.deb ...
408s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
409s Selecting previously unselected package gcc-14.
409s Preparing to unpack .../17-gcc-14_14.2.0-9ubuntu1_armhf.deb ...
409s Unpacking gcc-14 (14.2.0-9ubuntu1) ...
409s Selecting previously unselected package gcc-arm-linux-gnueabihf.
409s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ...
409s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
409s Selecting previously unselected package gcc.
409s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ...
409s Unpacking gcc (4:14.1.0-2ubuntu1) ...
409s Selecting previously unselected package libstdc++-14-dev:armhf.
409s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-9ubuntu1_armhf.deb ...
409s Unpacking libstdc++-14-dev:armhf (14.2.0-9ubuntu1) ...
409s Selecting previously unselected package g++-14-arm-linux-gnueabihf.
409s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-9ubuntu1_armhf.deb ...
409s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
409s Selecting previously unselected package g++-14.
409s Preparing to unpack .../22-g++-14_14.2.0-9ubuntu1_armhf.deb ...
409s Unpacking g++-14 (14.2.0-9ubuntu1) ...
409s Selecting previously unselected package g++-arm-linux-gnueabihf.
409s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ...
409s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
409s Selecting previously unselected package g++.
409s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_armhf.deb ...
409s Unpacking g++ (4:14.1.0-2ubuntu1) ...
409s Selecting previously unselected package build-essential.
409s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ...
409s Unpacking build-essential (12.10ubuntu1) ...
409s Selecting previously unselected package libffi-dev:armhf.
409s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_armhf.deb ...
409s Unpacking libffi-dev:armhf (3.4.6-1build1) ...
409s Selecting previously unselected package uuid-dev:armhf.
409s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu1_armhf.deb ...
409s Unpacking uuid-dev:armhf (2.40.2-1ubuntu1) ...
409s Selecting previously unselected package libblkid-dev:armhf.
409s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu1_armhf.deb ...
409s Unpacking libblkid-dev:armhf (2.40.2-1ubuntu1) ...
409s Selecting previously unselected package libsepol-dev:armhf.
409s Preparing to unpack .../29-libsepol-dev_3.7-1_armhf.deb ...
409s Unpacking libsepol-dev:armhf (3.7-1) ...
409s Selecting previously unselected package libpcre2-16-0:armhf.
409s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ...
409s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ...
410s Selecting previously unselected package libpcre2-32-0:armhf.
410s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ...
410s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ...
410s Selecting previously unselected package libpcre2-posix3:armhf.
410s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ...
410s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ...
410s Selecting previously unselected package libpcre2-dev:armhf.
410s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_armhf.deb ...
410s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ...
410s Selecting previously unselected package libselinux1-dev:armhf.
410s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu1_armhf.deb ...
410s Unpacking libselinux1-dev:armhf (3.7-3ubuntu1) ...
410s Selecting previously unselected package libmount-dev:armhf.
410s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu1_armhf.deb ...
410s Unpacking libmount-dev:armhf (2.40.2-1ubuntu1) ...
410s Selecting previously unselected package libsysprof-capture-4-dev:armhf.
410s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_armhf.deb ...
410s Unpacking libsysprof-capture-4-dev:armhf (47.2-1) ...
410s Selecting previously unselected package libpkgconf3:armhf.
410s Preparing to unpack .../37-libpkgconf3_1.8.1-4_armhf.deb ...
410s Unpacking libpkgconf3:armhf (1.8.1-4) ...
410s Selecting previously unselected package pkgconf-bin.
410s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_armhf.deb ...
410s Unpacking pkgconf-bin (1.8.1-4) ...
410s Selecting previously unselected package pkgconf:armhf.
410s Preparing to unpack .../39-pkgconf_1.8.1-4_armhf.deb ...
410s Unpacking pkgconf:armhf (1.8.1-4) ...
410s Selecting previously unselected package zlib1g-dev:armhf.
410s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ...
410s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
410s Selecting previously unselected package libgio-2.0-dev:armhf.
410s Preparing to unpack .../41-libgio-2.0-dev_2.82.2-3_armhf.deb ...
410s Unpacking libgio-2.0-dev:armhf (2.82.2-3) ...
410s Setting up linux-libc-dev:armhf (6.11.0-8.8) ...
410s Setting up libgomp1:armhf (14.2.0-9ubuntu1) ...
410s Setting up libffi-dev:armhf (3.4.6-1build1) ...
410s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ...
410s Setting up libsysprof-capture-4-dev:armhf (47.2-1) ...
410s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ...
410s Setting up libpkgconf3:armhf (1.8.1-4) ...
410s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ...
410s Setting up libmpc3:armhf (1.3.1-1build2) ...
410s Setting up libsepol-dev:armhf (3.7-1) ...
410s Setting up pkgconf-bin (1.8.1-4) ...
410s Setting up libubsan1:armhf (14.2.0-9ubuntu1) ...
410s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ...
410s Setting up libcrypt-dev:armhf (1:4.4.36-5) ...
410s Setting up libasan8:armhf (14.2.0-9ubuntu1) ...
410s Setting up libgcc-14-dev:armhf (14.2.0-9ubuntu1) ...
410s Setting up libisl23:armhf (0.27-1) ...
410s Setting up libc-dev-bin (2.40-1ubuntu3) ...
410s Setting up libcc1-0:armhf (14.2.0-9ubuntu1) ...
410s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
410s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
410s Setting up pkgconf:armhf (1.8.1-4) ...
410s Setting up cpp-14 (14.2.0-9ubuntu1) ...
410s Setting up libc6-dev:armhf (2.40-1ubuntu3) ...
410s Setting up libstdc++-14-dev:armhf (14.2.0-9ubuntu1) ...
410s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
410s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
410s Setting up g++-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
410s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ...
410s Setting up libselinux1-dev:armhf (3.7-3ubuntu1) ...
410s Setting up gcc-14 (14.2.0-9ubuntu1) ...
410s Setting up uuid-dev:armhf (2.40.2-1ubuntu1) ...
410s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
410s Setting up cpp (4:14.1.0-2ubuntu1) ...
410s Setting up g++-14 (14.2.0-9ubuntu1) ...
410s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
410s Setting up libblkid-dev:armhf (2.40.2-1ubuntu1) ...
410s Setting up gcc (4:14.1.0-2ubuntu1) ...
410s Setting up g++ (4:14.1.0-2ubuntu1) ...
410s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
410s Setting up build-essential (12.10ubuntu1) ...
410s Setting up libmount-dev:armhf (2.40.2-1ubuntu1) ...
410s Setting up libgio-2.0-dev:armhf (2.82.2-3) ...
410s Processing triggers for man-db (2.13.0-1) ...
411s Processing triggers for libglib2.0-0t64:armhf (2.82.2-3) ...
411s No schema files found: doing nothing.
411s Processing triggers for install-info (7.1.1-1) ...
411s Processing triggers for libc-bin (2.40-1ubuntu3) ...
421s autopkgtest [01:45:54]: test build: [-----------------------
424s + mode=dynamic
424s + getopt -o --long static -n debian/tests/build --
424s + getopt_temp= --
424s + eval set -- --
424s + set -- --
424s + true
424s + shift
424s + break
424s + mktemp -d
424s + WORKDIR=/tmp/tmp.h2l4oDkfGp
424s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
424s + cd /tmp/tmp.h2l4oDkfGp
424s + [ -n ]
424s + CROSS_COMPILE=
424s + cat
424s + cat
424s + cat
424s + cat
424s + cat
424s + cat
424s + cflags=
424s + pcflags=
424s + packages=glib-2.0
424s + pkg-config --cflags --libs glib-2.0
424s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
424s + echo build (glib, dynamic): OK
424s + [ -x glib-dynamic ]
424s + foo=bar ./glib-dynamic
424s build (glib, dynamic): OK
424s run (glib, dynamic): OK
424s + echo run (glib, dynamic): OK
424s + cflags=
424s + pcflags=
424s + packages=gobject-2.0
424s + pkg-config --cflags --libs gobject-2.0
424s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
424s + echo build (gobject, dynamic): OK
424s + [ -x gobject-dynamic ]
424s + foo=bar ./gobject-dynamic
424s build (gobject, dynamic): OK
424s run (gobject, dynamic): OK
424s + echo run (gobject, dynamic): OK
424s + cflags=
424s + pcflags=
424s + packages=gio-2.0
424s + pkg-config --cflags --libs gio-2.0
424s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
425s + echo build (gio, dynamic): OK
425s + [ -x gio-dynamic ]
425s + foo=bar ./gio-dynamic
425s build (gio, dynamic): OK
425s run (gio, dynamic): OK
425s + echo run (gio, dynamic): OK
425s + cflags=
425s + pcflags=
425s + packages=gio-unix-2.0
425s + pkg-config --cflags --libs gio-unix-2.0
425s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
425s + echo build (gio-unix, dynamic): OK
425s + [ -x gio-unix-dynamic ]
425s + foo=bar ./gio-unix-dynamic
425s + echo run (gio-unix, dynamic): OK
425s + cflags=
425s + pcflags=
425s + packages=gmodule-2.0
425s + pkg-config --cflags --libs gmodule-2.0
425s build (gio-unix, dynamic): OK
425s run (gio-unix, dynamic): OK
425s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
425s build (gmodule, dynamic): OK
425s run (gmodule, dynamic): OK
425s + echo build (gmodule, dynamic): OK
425s + [ -x gmodule-dynamic ]
425s + foo=bar ./gmodule-dynamic
425s + echo run (gmodule, dynamic): OK
425s + cflags=
425s + pcflags=
425s + packages=gthread-2.0
425s + pkg-config --cflags --libs gthread-2.0
425s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
425s + echo build (gthread, dynamic): OK
425s + [ -x gthread-dynamic ]
425s + foo=bar ./gthread-dynamic
425s + echo run (gthread, dynamic): OK
425s + rm -rf /tmp/tmp.h2l4oDkfGp
425s build (gthread, dynamic): OK
425s run (gthread, dynamic): OK
425s autopkgtest [01:45:58]: test build: -----------------------]
431s autopkgtest [01:46:04]: test build: - - - - - - - - - - results - - - - - - - - - -
431s build PASS (superficial)
437s autopkgtest [01:46:10]: test build-static: preparing testbed
441s Reading package lists...
441s Building dependency tree...
441s Reading state information...
441s Starting pkgProblemResolver with broken count: 0
441s Starting 2 pkgProblemResolver with broken count: 0
441s Done
442s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
456s autopkgtest [01:46:29]: test build-static: [-----------------------
459s + mode=dynamic
459s + getopt -o --long static -n debian/tests/build -- --static
459s + getopt_temp= --static --
459s + eval set -- --static --
459s + set -- --static --
459s + true
459s + mode=static
459s + shift
459s + continue
459s + true
459s + shift
459s + break
459s + mktemp -d
459s + WORKDIR=/tmp/tmp.p57F1tkmDl
459s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
459s + cd /tmp/tmp.p57F1tkmDl
459s + [ -n ]
459s + CROSS_COMPILE=
459s + cat
459s + cat
459s + cat
459s + cat
459s + cat
459s + cat
459s + cflags=
459s + pcflags=
459s + packages=glib-2.0
459s + cflags=-static
459s + pcflags=--static
459s + pkg-config --static --cflags --libs glib-2.0
459s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
459s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
459s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s build (glib, static): OK
459s run (glib, static): OK
459s + echo build (glib, static): OK
459s + [ -x glib-static ]
459s + foo=bar ./glib-static
459s + echo run (glib, static): OK
459s + cflags=
459s + pcflags=
459s + packages=gobject-2.0
459s + cflags=-static
459s + pcflags=--static
459s + pkg-config --static --cflags --libs gobject-2.0
459s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi
459s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
459s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s build (gobject, static): OK
459s + echo build (gobject, static): OK
459s + [ -x gobject-static ]
459s + foo=bar ./gobject-static
459s run (gobject, static): OK
459s + echo run (gobject, static): OK
459s + cflags=
459s + pcflags=
459s + packages=gio-2.0
459s + cflags=-static
459s + pcflags=--static
459s + continue
459s + cflags=
459s + pcflags=
459s + packages=gio-unix-2.0
459s + cflags=-static
459s + pcflags=--static
459s + continue
459s + cflags=
459s + pcflags=
459s + packages=gmodule-2.0
459s + cflags=-static
459s + pcflags=--static
459s + pkg-config --static --cflags --libs gmodule-2.0
459s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
459s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
459s (.text+0x412): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
459s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s build (gmodule, static): OK
459s run (gmodule, static): OK
459s + echo build (gmodule, static): OK
459s + [ -x gmodule-static ]
459s + foo=bar ./gmodule-static
459s + echo run (gmodule, static): OK
459s + cflags=
459s + pcflags=
459s + packages=gthread-2.0
459s + cflags=-static
459s + pcflags=--static
459s + pkg-config --static --cflags --libs gthread-2.0
459s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
459s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
459s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
459s build (gthread, static): OK
459s run (gthread, static): OK
459s + echo build (gthread, static): OK
459s + [ -x gthread-static ]
459s + foo=bar ./gthread-static
459s + echo run (gthread, static): OK
459s + rm -rf /tmp/tmp.p57F1tkmDl
460s autopkgtest [01:46:33]: test build-static: -----------------------]
468s build-static PASS (superficial)
468s autopkgtest [01:46:41]: test build-static: - - - - - - - - - - results - - - - - - - - - -
474s autopkgtest [01:46:47]: test girepository-tools: preparing testbed
539s autopkgtest [01:47:52]: testbed dpkg architecture: armhf
543s autopkgtest [01:47:56]: testbed apt version: 2.9.14ubuntu1
549s autopkgtest [01:48:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup
553s autopkgtest [01:48:06]: testbed release detected to be: plucky
565s autopkgtest [01:48:18]: updating testbed package index (apt update)
568s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB]
568s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB]
569s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
569s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
569s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B]
569s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB]
569s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB]
569s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB]
569s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [108 kB]
569s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B]
569s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [582 kB]
569s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6956 B]
569s Get:13 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB]
570s Get:14 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB]
570s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1382 kB]
570s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1353 kB]
570s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.6 MB]
570s Get:18 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [175 kB]
574s Fetched 40.3 MB in 6s (7312 kB/s)
575s Reading package lists...
584s autopkgtest [01:48:37]: upgrading testbed (apt dist-upgrade and autopurge)
586s Reading package lists...
587s Building dependency tree...
587s Reading state information...
588s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
588s Starting 2 pkgProblemResolver with broken count: 0
588s Done
588s Entering ResolveByKeep
588s
589s The following package was automatically installed and is no longer required:
589s libassuan0
589s Use 'apt autoremove' to remove it.
589s The following packages will be upgraded:
589s binutils binutils-arm-linux-gnueabihf binutils-common dirmngr fwupd
589s gcc-14-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
589s gpgconf gpgsm gpgv keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0
589s libctf0 libfwupd3 libgcc-s1 libsframe1 libstdc++6 publicsuffix
589s python3-software-properties software-properties-common xauth
589s 29 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
589s Need to get 12.5 MB of archives.
589s After this operation, 416 kB of additional disk space will be used.
589s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-9ubuntu1 [7856 B]
589s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-9ubuntu1 [51.9 kB]
589s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-9ubuntu1 [713 kB]
589s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-9ubuntu1 [40.9 kB]
589s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB]
589s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu20 [88.9 kB]
589s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu20 [351 kB]
589s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu20 [246 kB]
589s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu20 [160 kB]
589s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu20 [238 kB]
589s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu20 [535 kB]
589s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu20 [117 kB]
589s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu20 [359 kB]
589s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu20 [113 kB]
589s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu20 [228 kB]
589s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241025.1547-0.1 [135 kB]
589s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB]
589s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241126-3ubuntu1 [90.2 kB]
589s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241126-3ubuntu1 [89.7 kB]
590s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241126-3ubuntu1 [3084 B]
590s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241126-3ubuntu1 [2938 kB]
590s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241126-3ubuntu1 [461 kB]
590s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241126-3ubuntu1 [222 kB]
590s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241126-3ubuntu1 [12.8 kB]
590s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.2-2 [5020 kB]
590s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.2-2 [124 kB]
590s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB]
590s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.107 [16.5 kB]
590s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.107 [30.4 kB]
590s Fetched 12.5 MB in 1s (11.7 MB/s)
590s (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 ... 59970 files and directories currently installed.)
590s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_armhf.deb ...
590s Unpacking libatomic1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
591s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_armhf.deb ...
591s Unpacking gcc-14-base:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
591s Setting up gcc-14-base:armhf (14.2.0-9ubuntu1) ...
591s (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 ... 59970 files and directories currently installed.)
591s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_armhf.deb ...
591s Unpacking libstdc++6:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
591s Setting up libstdc++6:armhf (14.2.0-9ubuntu1) ...
591s (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 ... 59970 files and directories currently installed.)
591s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_armhf.deb ...
591s Unpacking libgcc-s1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
591s Setting up libgcc-s1:armhf (14.2.0-9ubuntu1) ...
591s (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 ... 59970 files and directories currently installed.)
591s Preparing to unpack .../libcap-ng0_0.8.5-4_armhf.deb ...
591s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ...
591s Setting up libcap-ng0:armhf (0.8.5-4) ...
591s (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 ... 59970 files and directories currently installed.)
591s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ...
591s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_armhf.deb ...
591s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
591s Setting up gpgv (2.4.4-2ubuntu20) ...
591s (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 ... 59970 files and directories currently installed.)
591s Preparing to unpack .../00-publicsuffix_20241025.1547-0.1_all.deb ...
591s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ...
591s Preparing to unpack .../01-xauth_1%3a1.1.2-1.1_armhf.deb ...
591s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ...
592s Preparing to unpack .../02-libctf0_2.43.50.20241126-3ubuntu1_armhf.deb ...
592s Unpacking libctf0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
592s Preparing to unpack .../03-libctf-nobfd0_2.43.50.20241126-3ubuntu1_armhf.deb ...
592s Unpacking libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
592s Preparing to unpack .../04-binutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
592s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
592s Preparing to unpack .../05-binutils-arm-linux-gnueabihf_2.43.50.20241126-3ubuntu1_armhf.deb ...
592s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
592s Preparing to unpack .../06-libbinutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
592s Unpacking libbinutils:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
592s Preparing to unpack .../07-binutils-common_2.43.50.20241126-3ubuntu1_armhf.deb ...
592s Unpacking binutils-common:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
592s Preparing to unpack .../08-libsframe1_2.43.50.20241126-3ubuntu1_armhf.deb ...
592s Unpacking libsframe1:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
592s Preparing to unpack .../09-fwupd_2.0.2-2_armhf.deb ...
592s Unpacking fwupd (2.0.2-2) over (2.0.2-1) ...
592s Preparing to unpack .../10-libfwupd3_2.0.2-2_armhf.deb ...
592s Unpacking libfwupd3:armhf (2.0.2-2) over (2.0.2-1) ...
592s Preparing to unpack .../11-gnupg-l10n_2.4.4-2ubuntu20_all.deb ...
592s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
592s Preparing to unpack .../12-software-properties-common_0.107_all.deb ...
592s Unpacking software-properties-common (0.107) over (0.105) ...
592s Preparing to unpack .../13-python3-software-properties_0.107_all.deb ...
592s Unpacking python3-software-properties (0.107) over (0.105) ...
592s Setting up binutils-common:armhf (2.43.50.20241126-3ubuntu1) ...
592s Setting up libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) ...
592s Setting up libfwupd3:armhf (2.0.2-2) ...
592s Setting up libsframe1:armhf (2.43.50.20241126-3ubuntu1) ...
592s Setting up gnupg-l10n (2.4.4-2ubuntu20) ...
592s Setting up libatomic1:armhf (14.2.0-9ubuntu1) ...
592s Setting up xauth (1:1.1.2-1.1) ...
592s Setting up gpgconf (2.4.4-2ubuntu20) ...
592s Setting up libbinutils:armhf (2.43.50.20241126-3ubuntu1) ...
592s Setting up publicsuffix (20241025.1547-0.1) ...
592s Setting up fwupd (2.0.2-2) ...
593s fwupd-refresh.service is a disabled or a static unit not running, not starting it.
593s fwupd.service is a disabled or a static unit not running, not starting it.
593s Setting up gpg (2.4.4-2ubuntu20) ...
593s Setting up gnupg-utils (2.4.4-2ubuntu20) ...
593s Setting up libctf0:armhf (2.43.50.20241126-3ubuntu1) ...
593s Setting up gpg-agent (2.4.4-2ubuntu20) ...
594s Setting up gpgsm (2.4.4-2ubuntu20) ...
594s Setting up dirmngr (2.4.4-2ubuntu20) ...
594s Setting up python3-software-properties (0.107) ...
594s Setting up keyboxd (2.4.4-2ubuntu20) ...
594s Setting up gnupg (2.4.4-2ubuntu20) ...
594s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) ...
594s Setting up gpg-wks-client (2.4.4-2ubuntu20) ...
594s Setting up binutils (2.43.50.20241126-3ubuntu1) ...
594s Setting up software-properties-common (0.107) ...
594s Processing triggers for install-info (7.1.1-1) ...
594s Processing triggers for libc-bin (2.40-1ubuntu3) ...
594s Processing triggers for man-db (2.13.0-1) ...
596s Processing triggers for dbus (1.14.10-4ubuntu5) ...
598s Reading package lists...
598s Building dependency tree...
598s Reading state information...
599s Starting pkgProblemResolver with broken count: 0
599s Starting 2 pkgProblemResolver with broken count: 0
599s Done
600s The following packages will be REMOVED:
600s libassuan0*
600s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
600s After this operation, 68.6 kB disk space will be freed.
600s (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 ... 59970 files and directories currently installed.)
600s Removing libassuan0:armhf (2.5.6-1build1) ...
600s Processing triggers for libc-bin (2.40-1ubuntu3) ...
604s autopkgtest [01:48:57]: rebooting testbed after setup commands that affected boot
734s Reading package lists...
734s Building dependency tree...
734s Reading state information...
735s Starting pkgProblemResolver with broken count: 0
735s Starting 2 pkgProblemResolver with broken count: 0
735s Done
735s The following NEW packages will be installed:
735s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0
735s native-architecture
736s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
736s Need to get 1060 kB of archives.
736s After this operation, 12.4 MB of additional disk space will be used.
736s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0-dev armhf 2.82.2-3 [852 kB]
736s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B]
736s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.2-3 [98.3 kB]
736s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.2-3 [107 kB]
737s Fetched 1060 kB in 1s (1583 kB/s)
737s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf.
737s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 59965 files and directories currently installed.)
737s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.2-3_armhf.deb ...
737s Unpacking gir1.2-glib-2.0-dev:armhf (2.82.2-3) ...
737s Selecting previously unselected package native-architecture.
737s Preparing to unpack .../native-architecture_0.2.3_all.deb ...
737s Unpacking native-architecture (0.2.3) ...
737s Selecting previously unselected package libgirepository-2.0-0:armhf.
737s Preparing to unpack .../libgirepository-2.0-0_2.82.2-3_armhf.deb ...
737s Unpacking libgirepository-2.0-0:armhf (2.82.2-3) ...
737s Selecting previously unselected package girepository-tools:armhf.
737s Preparing to unpack .../girepository-tools_2.82.2-3_armhf.deb ...
737s Unpacking girepository-tools:armhf (2.82.2-3) ...
737s Setting up native-architecture (0.2.3) ...
737s Setting up libgirepository-2.0-0:armhf (2.82.2-3) ...
737s Setting up gir1.2-glib-2.0-dev:armhf (2.82.2-3) ...
737s Setting up girepository-tools:armhf (2.82.2-3) ...
737s Processing triggers for man-db (2.13.0-1) ...
737s Processing triggers for libc-bin (2.40-1ubuntu3) ...
783s autopkgtest [01:51:56]: test girepository-tools: [-----------------------
786s + cd /tmp/autopkgtest.sgD5cM/autopkgtest_tmp
786s + dpkg-architecture -qDEB_HOST_GNU_TYPE
786s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
786s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf
786s + dpkg-architecture -qDEB_HOST_MULTIARCH
786s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
786s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf
786s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
786s typelib: GLib-2.0
786s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir
786s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib
786s autopkgtest [01:51:59]: test girepository-tools: -----------------------]
795s autopkgtest [01:52:08]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - -
795s girepository-tools PASS (superficial)
802s autopkgtest [01:52:15]: test libgio-2.0-dev-bin: preparing testbed
864s autopkgtest [01:53:17]: testbed dpkg architecture: armhf
867s autopkgtest [01:53:20]: testbed apt version: 2.9.14ubuntu1
874s autopkgtest [01:53:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup
878s autopkgtest [01:53:31]: testbed release detected to be: plucky
894s autopkgtest [01:53:47]: updating testbed package index (apt update)
897s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB]
897s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB]
898s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
898s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
898s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB]
898s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB]
898s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB]
898s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B]
898s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [108 kB]
898s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B]
898s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [582 kB]
898s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6956 B]
898s Get:13 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB]
898s Get:14 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB]
898s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1382 kB]
898s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1353 kB]
898s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.6 MB]
899s Get:18 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [175 kB]
902s Fetched 40.3 MB in 5s (7874 kB/s)
903s Reading package lists...
915s autopkgtest [01:54:08]: upgrading testbed (apt dist-upgrade and autopurge)
917s Reading package lists...
918s Building dependency tree...
918s Reading state information...
918s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
918s Starting 2 pkgProblemResolver with broken count: 0
918s Done
919s Entering ResolveByKeep
919s
920s The following package was automatically installed and is no longer required:
920s libassuan0
920s Use 'apt autoremove' to remove it.
920s The following packages will be upgraded:
920s binutils binutils-arm-linux-gnueabihf binutils-common dirmngr fwupd
920s gcc-14-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
920s gpgconf gpgsm gpgv keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0
920s libctf0 libfwupd3 libgcc-s1 libsframe1 libstdc++6 publicsuffix
920s python3-software-properties software-properties-common xauth
920s 29 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
920s Need to get 12.5 MB of archives.
920s After this operation, 416 kB of additional disk space will be used.
920s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-9ubuntu1 [7856 B]
920s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-9ubuntu1 [51.9 kB]
920s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-9ubuntu1 [713 kB]
921s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-9ubuntu1 [40.9 kB]
921s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB]
921s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu20 [88.9 kB]
921s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu20 [351 kB]
921s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu20 [246 kB]
921s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu20 [160 kB]
921s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu20 [238 kB]
921s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu20 [535 kB]
921s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu20 [117 kB]
921s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu20 [359 kB]
921s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu20 [113 kB]
921s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu20 [228 kB]
921s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241025.1547-0.1 [135 kB]
921s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB]
921s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241126-3ubuntu1 [90.2 kB]
921s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241126-3ubuntu1 [89.7 kB]
921s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241126-3ubuntu1 [3084 B]
921s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241126-3ubuntu1 [2938 kB]
921s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241126-3ubuntu1 [461 kB]
921s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241126-3ubuntu1 [222 kB]
921s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241126-3ubuntu1 [12.8 kB]
921s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.2-2 [5020 kB]
921s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.2-2 [124 kB]
921s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB]
921s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.107 [16.5 kB]
921s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.107 [30.4 kB]
922s Fetched 12.5 MB in 1s (12.5 MB/s)
922s (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 ... 59970 files and directories currently installed.)
922s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_armhf.deb ...
922s Unpacking libatomic1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
922s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_armhf.deb ...
922s Unpacking gcc-14-base:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
922s Setting up gcc-14-base:armhf (14.2.0-9ubuntu1) ...
922s (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 ... 59970 files and directories currently installed.)
922s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_armhf.deb ...
922s Unpacking libstdc++6:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
922s Setting up libstdc++6:armhf (14.2.0-9ubuntu1) ...
922s (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 ... 59970 files and directories currently installed.)
922s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_armhf.deb ...
922s Unpacking libgcc-s1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
922s Setting up libgcc-s1:armhf (14.2.0-9ubuntu1) ...
922s (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 ... 59970 files and directories currently installed.)
922s Preparing to unpack .../libcap-ng0_0.8.5-4_armhf.deb ...
922s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ...
922s Setting up libcap-ng0:armhf (0.8.5-4) ...
922s (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 ... 59970 files and directories currently installed.)
922s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ...
922s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
922s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_armhf.deb ...
922s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
923s Setting up gpgv (2.4.4-2ubuntu20) ...
923s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 59970 files and directories currently installed.)
923s Preparing to unpack .../00-publicsuffix_20241025.1547-0.1_all.deb ...
923s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ...
923s Preparing to unpack .../01-xauth_1%3a1.1.2-1.1_armhf.deb ...
923s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ...
923s Preparing to unpack .../02-libctf0_2.43.50.20241126-3ubuntu1_armhf.deb ...
923s Unpacking libctf0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
923s Preparing to unpack .../03-libctf-nobfd0_2.43.50.20241126-3ubuntu1_armhf.deb ...
923s Unpacking libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
923s Preparing to unpack .../04-binutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
923s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
923s Preparing to unpack .../05-binutils-arm-linux-gnueabihf_2.43.50.20241126-3ubuntu1_armhf.deb ...
923s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
923s Preparing to unpack .../06-libbinutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
923s Unpacking libbinutils:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
923s Preparing to unpack .../07-binutils-common_2.43.50.20241126-3ubuntu1_armhf.deb ...
923s Unpacking binutils-common:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
923s Preparing to unpack .../08-libsframe1_2.43.50.20241126-3ubuntu1_armhf.deb ...
923s Unpacking libsframe1:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
923s Preparing to unpack .../09-fwupd_2.0.2-2_armhf.deb ...
923s Unpacking fwupd (2.0.2-2) over (2.0.2-1) ...
923s Preparing to unpack .../10-libfwupd3_2.0.2-2_armhf.deb ...
923s Unpacking libfwupd3:armhf (2.0.2-2) over (2.0.2-1) ...
923s Preparing to unpack .../11-gnupg-l10n_2.4.4-2ubuntu20_all.deb ...
923s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
923s Preparing to unpack .../12-software-properties-common_0.107_all.deb ...
923s Unpacking software-properties-common (0.107) over (0.105) ...
923s Preparing to unpack .../13-python3-software-properties_0.107_all.deb ...
923s Unpacking python3-software-properties (0.107) over (0.105) ...
923s Setting up binutils-common:armhf (2.43.50.20241126-3ubuntu1) ...
923s Setting up libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) ...
923s Setting up libfwupd3:armhf (2.0.2-2) ...
923s Setting up libsframe1:armhf (2.43.50.20241126-3ubuntu1) ...
923s Setting up gnupg-l10n (2.4.4-2ubuntu20) ...
923s Setting up libatomic1:armhf (14.2.0-9ubuntu1) ...
923s Setting up xauth (1:1.1.2-1.1) ...
923s Setting up gpgconf (2.4.4-2ubuntu20) ...
923s Setting up libbinutils:armhf (2.43.50.20241126-3ubuntu1) ...
923s Setting up publicsuffix (20241025.1547-0.1) ...
923s Setting up fwupd (2.0.2-2) ...
924s fwupd-refresh.service is a disabled or a static unit not running, not starting it.
924s fwupd.service is a disabled or a static unit not running, not starting it.
924s Setting up gpg (2.4.4-2ubuntu20) ...
924s Setting up gnupg-utils (2.4.4-2ubuntu20) ...
924s Setting up libctf0:armhf (2.43.50.20241126-3ubuntu1) ...
924s Setting up gpg-agent (2.4.4-2ubuntu20) ...
925s Setting up gpgsm (2.4.4-2ubuntu20) ...
925s Setting up dirmngr (2.4.4-2ubuntu20) ...
925s Setting up python3-software-properties (0.107) ...
925s Setting up keyboxd (2.4.4-2ubuntu20) ...
925s Setting up gnupg (2.4.4-2ubuntu20) ...
925s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) ...
925s Setting up gpg-wks-client (2.4.4-2ubuntu20) ...
925s Setting up binutils (2.43.50.20241126-3ubuntu1) ...
925s Setting up software-properties-common (0.107) ...
925s Processing triggers for install-info (7.1.1-1) ...
925s Processing triggers for libc-bin (2.40-1ubuntu3) ...
925s Processing triggers for man-db (2.13.0-1) ...
927s Processing triggers for dbus (1.14.10-4ubuntu5) ...
930s Reading package lists...
930s Building dependency tree...
930s Reading state information...
931s Starting pkgProblemResolver with broken count: 0
931s Starting 2 pkgProblemResolver with broken count: 0
931s Done
932s The following packages will be REMOVED:
932s libassuan0*
932s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
932s After this operation, 68.6 kB disk space will be freed.
932s (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 ... 59970 files and directories currently installed.)
932s Removing libassuan0:armhf (2.5.6-1build1) ...
932s Processing triggers for libc-bin (2.40-1ubuntu3) ...
935s autopkgtest [01:54:28]: rebooting testbed after setup commands that affected boot
1069s Reading package lists...
1069s Building dependency tree...
1069s Reading state information...
1070s Starting pkgProblemResolver with broken count: 0
1070s Starting 2 pkgProblemResolver with broken count: 0
1070s Done
1071s The following NEW packages will be installed:
1071s libgio-2.0-dev-bin python3-packaging
1071s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1071s Need to get 181 kB of archives.
1071s After this operation, 928 kB of additional disk space will be used.
1071s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB]
1071s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.2-3 [130 kB]
1072s Fetched 181 kB in 0s (410 kB/s)
1072s Selecting previously unselected package python3-packaging.
1072s (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 ... 59965 files and directories currently installed.)
1072s Preparing to unpack .../python3-packaging_24.2-1_all.deb ...
1072s Unpacking python3-packaging (24.2-1) ...
1072s Selecting previously unselected package libgio-2.0-dev-bin.
1072s Preparing to unpack .../libgio-2.0-dev-bin_2.82.2-3_armhf.deb ...
1072s Unpacking libgio-2.0-dev-bin (2.82.2-3) ...
1072s Setting up python3-packaging (24.2-1) ...
1072s Setting up libgio-2.0-dev-bin (2.82.2-3) ...
1072s Processing triggers for man-db (2.13.0-1) ...
1115s autopkgtest [01:57:28]: test libgio-2.0-dev-bin: [-----------------------
1117s + gdbus-codegen --help
1117s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
1117s [--c-namespace NAMESPACE] [--c-generate-object-manager]
1117s [--c-generate-autocleanup {none,objects,all}]
1117s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
1117s [--generate-rst OUTFILES] [--pragma-once]
1117s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
1117s [--glib-min-required VERSION]
1117s [--glib-max-allowed VERSION]
1117s [--symbol-decorator SYMBOL_DECORATOR]
1117s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
1117s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
1117s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body]
1117s [--output FILE | --output-directory OUTDIR]
1117s FILE [FILE ...]
1117s
1117s D-Bus code and documentation generator
1117s
1117s positional arguments:
1117s FILE D-Bus introspection XML file
1117s
1117s options:
1117s -h, --help show this help message and exit
1117s --interface-prefix PREFIX
1117s String to strip from D-Bus interface names for code
1117s and docs
1117s --c-namespace NAMESPACE
1117s The namespace to use for generated C code
1117s --c-generate-object-manager
1117s Generate a GDBusObjectManagerClient subclass when
1117s generating C code
1117s --c-generate-autocleanup {none,objects,all}
1117s Generate autocleanup support
1117s --generate-docbook OUTFILES
1117s Generate Docbook in OUTFILES-org.Project.IFace.xml
1117s --generate-md OUTFILES
1117s Generate Markdown in OUTFILES-org.Project.IFace.md
1117s --generate-rst OUTFILES
1117s Generate reStructuredText in OUTFILES-
1117s org.Project.IFace.rst
1117s --pragma-once Use "pragma once" as the inclusion guard
1117s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
1117s Add annotation (may be used several times)
1117s --glib-min-required VERSION
1117s Minimum version of GLib to be supported by the
1117s outputted code (default: 2.30)
1117s --glib-max-allowed VERSION
1117s Maximum version of GLib to be used by the outputted
1117s code (default: current GLib version)
1117s --symbol-decorator SYMBOL_DECORATOR
1117s Macro used to decorate a symbol in the outputted
1117s header, possibly to export symbols
1117s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
1117s Additional header required for decorator specified by
1117s --symbol-decorator
1117s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
1117s Additional define required for decorator specified by
1117s --symbol-decorator
1117s --generate-c-code OUTFILES
1117s Generate C code in OUTFILES.[ch]
1117s --header Generate C headers
1117s --body Generate C code
1117s --interface-info-header
1117s Generate GDBusInterfaceInfo C header
1117s --interface-info-body
1117s Generate GDBusInterfaceInfo C code
1117s --output FILE Write output into the specified file
1117s --output-directory OUTDIR
1117s Location to output generated files
1117s 2.82.2
1117s + glib-compile-resources --version
1117s + glib-genmarshal --version
1117s glib-genmarshal version 2.82.2
1117s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
1117s You may redistribute copies of glib-genmarshal under the terms of
1117s the GNU General Public License which can be found in the
1117s GLib source package. Sources, examples and contact
1117s information are available at http://www.gtk.org
1117s /usr/bin/glib-gettextize (GNU glib) 2.82.2
1117s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
1117s This is free software; see the source for copying conditions. There is NO
1117s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1117s Written by Ulrich Drepper
1117s + glib-gettextize --version
1117s + glib-mkenums --version
1117s glib-mkenums version 2.82.2
1117s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
1117s You may redistribute copies of glib-mkenums under the terms of
1117s the GNU General Public License which can be found in the
1117s GLib source package. Sources, examples and contact
1117s information are available at http://www.gtk.org
1117s + gobject-query tree
1117s GObject
1117s gtester version 2.82.2
1117s + gtester --version
1117s + gtester-report --version
1117s gtester-report (GLib utils) version 2.82.2.
1118s autopkgtest [01:57:31]: test libgio-2.0-dev-bin: -----------------------]
1124s autopkgtest [01:57:37]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - -
1124s libgio-2.0-dev-bin PASS (superficial)
1131s autopkgtest [01:57:44]: test libglib2.0-dev: preparing testbed
1199s autopkgtest [01:58:52]: testbed dpkg architecture: armhf
1202s autopkgtest [01:58:55]: testbed apt version: 2.9.14ubuntu1
1207s autopkgtest [01:59:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup
1210s autopkgtest [01:59:03]: testbed release detected to be: plucky
1224s autopkgtest [01:59:17]: updating testbed package index (apt update)
1227s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB]
1227s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB]
1227s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
1227s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
1227s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB]
1227s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB]
1227s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB]
1227s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B]
1227s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [108 kB]
1227s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B]
1227s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [582 kB]
1227s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6956 B]
1227s Get:13 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB]
1228s Get:14 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB]
1228s Get:15 http://ftpmaster.internal/ubuntu plucky/main Sources [1382 kB]
1228s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1353 kB]
1228s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.6 MB]
1229s Get:18 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [175 kB]
1232s Fetched 40.3 MB in 5s (7520 kB/s)
1233s Reading package lists...
1242s autopkgtest [01:59:35]: upgrading testbed (apt dist-upgrade and autopurge)
1245s Reading package lists...
1245s Building dependency tree...
1245s Reading state information...
1246s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
1246s Starting 2 pkgProblemResolver with broken count: 0
1246s Done
1247s Entering ResolveByKeep
1247s
1248s The following package was automatically installed and is no longer required:
1248s libassuan0
1248s Use 'apt autoremove' to remove it.
1248s The following packages will be upgraded:
1248s binutils binutils-arm-linux-gnueabihf binutils-common dirmngr fwupd
1248s gcc-14-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
1248s gpgconf gpgsm gpgv keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0
1248s libctf0 libfwupd3 libgcc-s1 libsframe1 libstdc++6 publicsuffix
1248s python3-software-properties software-properties-common xauth
1248s 29 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1248s Need to get 12.5 MB of archives.
1248s After this operation, 416 kB of additional disk space will be used.
1248s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-9ubuntu1 [7856 B]
1248s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-9ubuntu1 [51.9 kB]
1248s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-9ubuntu1 [713 kB]
1248s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-9ubuntu1 [40.9 kB]
1248s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB]
1248s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu20 [88.9 kB]
1248s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu20 [351 kB]
1248s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu20 [246 kB]
1248s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu20 [160 kB]
1248s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu20 [238 kB]
1248s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu20 [535 kB]
1248s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu20 [117 kB]
1248s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu20 [359 kB]
1248s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu20 [113 kB]
1248s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu20 [228 kB]
1249s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241025.1547-0.1 [135 kB]
1249s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB]
1249s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241126-3ubuntu1 [90.2 kB]
1249s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241126-3ubuntu1 [89.7 kB]
1249s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241126-3ubuntu1 [3084 B]
1249s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241126-3ubuntu1 [2938 kB]
1249s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241126-3ubuntu1 [461 kB]
1249s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241126-3ubuntu1 [222 kB]
1249s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241126-3ubuntu1 [12.8 kB]
1249s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.2-2 [5020 kB]
1249s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.2-2 [124 kB]
1249s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB]
1249s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.107 [16.5 kB]
1249s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.107 [30.4 kB]
1249s Fetched 12.5 MB in 1s (10.4 MB/s)
1250s (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 ... 59970 files and directories currently installed.)
1250s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_armhf.deb ...
1250s Unpacking libatomic1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
1250s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_armhf.deb ...
1250s Unpacking gcc-14-base:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
1250s Setting up gcc-14-base:armhf (14.2.0-9ubuntu1) ...
1250s (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 ... 59970 files and directories currently installed.)
1250s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_armhf.deb ...
1250s Unpacking libstdc++6:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
1250s Setting up libstdc++6:armhf (14.2.0-9ubuntu1) ...
1250s (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 ... 59970 files and directories currently installed.)
1250s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_armhf.deb ...
1250s Unpacking libgcc-s1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
1250s Setting up libgcc-s1:armhf (14.2.0-9ubuntu1) ...
1250s (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 ... 59970 files and directories currently installed.)
1250s Preparing to unpack .../libcap-ng0_0.8.5-4_armhf.deb ...
1250s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ...
1250s Setting up libcap-ng0:armhf (0.8.5-4) ...
1250s (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 ... 59970 files and directories currently installed.)
1250s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ...
1250s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1250s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_armhf.deb ...
1250s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1251s Setting up gpgv (2.4.4-2ubuntu20) ...
1251s (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 ... 59970 files and directories currently installed.)
1251s Preparing to unpack .../00-publicsuffix_20241025.1547-0.1_all.deb ...
1251s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ...
1251s Preparing to unpack .../01-xauth_1%3a1.1.2-1.1_armhf.deb ...
1251s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ...
1251s Preparing to unpack .../02-libctf0_2.43.50.20241126-3ubuntu1_armhf.deb ...
1251s Unpacking libctf0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1251s Preparing to unpack .../03-libctf-nobfd0_2.43.50.20241126-3ubuntu1_armhf.deb ...
1251s Unpacking libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1251s Preparing to unpack .../04-binutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
1251s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1251s Preparing to unpack .../05-binutils-arm-linux-gnueabihf_2.43.50.20241126-3ubuntu1_armhf.deb ...
1251s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1251s Preparing to unpack .../06-libbinutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
1251s Unpacking libbinutils:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1251s Preparing to unpack .../07-binutils-common_2.43.50.20241126-3ubuntu1_armhf.deb ...
1251s Unpacking binutils-common:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1251s Preparing to unpack .../08-libsframe1_2.43.50.20241126-3ubuntu1_armhf.deb ...
1251s Unpacking libsframe1:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1251s Preparing to unpack .../09-fwupd_2.0.2-2_armhf.deb ...
1251s Unpacking fwupd (2.0.2-2) over (2.0.2-1) ...
1251s Preparing to unpack .../10-libfwupd3_2.0.2-2_armhf.deb ...
1251s Unpacking libfwupd3:armhf (2.0.2-2) over (2.0.2-1) ...
1251s Preparing to unpack .../11-gnupg-l10n_2.4.4-2ubuntu20_all.deb ...
1251s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1251s Preparing to unpack .../12-software-properties-common_0.107_all.deb ...
1251s Unpacking software-properties-common (0.107) over (0.105) ...
1251s Preparing to unpack .../13-python3-software-properties_0.107_all.deb ...
1252s Unpacking python3-software-properties (0.107) over (0.105) ...
1252s Setting up binutils-common:armhf (2.43.50.20241126-3ubuntu1) ...
1252s Setting up libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) ...
1252s Setting up libfwupd3:armhf (2.0.2-2) ...
1252s Setting up libsframe1:armhf (2.43.50.20241126-3ubuntu1) ...
1252s Setting up gnupg-l10n (2.4.4-2ubuntu20) ...
1252s Setting up libatomic1:armhf (14.2.0-9ubuntu1) ...
1252s Setting up xauth (1:1.1.2-1.1) ...
1252s Setting up gpgconf (2.4.4-2ubuntu20) ...
1252s Setting up libbinutils:armhf (2.43.50.20241126-3ubuntu1) ...
1252s Setting up publicsuffix (20241025.1547-0.1) ...
1252s Setting up fwupd (2.0.2-2) ...
1252s fwupd-refresh.service is a disabled or a static unit not running, not starting it.
1252s fwupd.service is a disabled or a static unit not running, not starting it.
1252s Setting up gpg (2.4.4-2ubuntu20) ...
1252s Setting up gnupg-utils (2.4.4-2ubuntu20) ...
1252s Setting up libctf0:armhf (2.43.50.20241126-3ubuntu1) ...
1252s Setting up gpg-agent (2.4.4-2ubuntu20) ...
1253s Setting up gpgsm (2.4.4-2ubuntu20) ...
1253s Setting up dirmngr (2.4.4-2ubuntu20) ...
1253s Setting up python3-software-properties (0.107) ...
1253s Setting up keyboxd (2.4.4-2ubuntu20) ...
1253s Setting up gnupg (2.4.4-2ubuntu20) ...
1253s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) ...
1253s Setting up gpg-wks-client (2.4.4-2ubuntu20) ...
1253s Setting up binutils (2.43.50.20241126-3ubuntu1) ...
1253s Setting up software-properties-common (0.107) ...
1253s Processing triggers for install-info (7.1.1-1) ...
1253s Processing triggers for libc-bin (2.40-1ubuntu3) ...
1254s Processing triggers for man-db (2.13.0-1) ...
1255s Processing triggers for dbus (1.14.10-4ubuntu5) ...
1257s Reading package lists...
1258s Building dependency tree...
1258s Reading state information...
1258s Starting pkgProblemResolver with broken count: 0
1258s Starting 2 pkgProblemResolver with broken count: 0
1258s Done
1259s The following packages will be REMOVED:
1259s libassuan0*
1259s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1259s After this operation, 68.6 kB disk space will be freed.
1259s (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 ... 59970 files and directories currently installed.)
1259s Removing libassuan0:armhf (2.5.6-1build1) ...
1259s Processing triggers for libc-bin (2.40-1ubuntu3) ...
1263s autopkgtest [01:59:56]: rebooting testbed after setup commands that affected boot
1391s Reading package lists...
1391s Building dependency tree...
1391s Reading state information...
1391s Starting pkgProblemResolver with broken count: 0
1391s Starting 2 pkgProblemResolver with broken count: 0
1391s Done
1392s The following NEW packages will be installed:
1392s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf
1392s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf
1392s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf
1392s gcc-arm-linux-gnueabihf gir1.2-glib-2.0-dev girepository-tools libasan8
1392s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev
1392s libgcc-14-dev libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0
1392s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libmount-dev libmpc3
1392s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3
1392s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev
1392s libubsan1 linux-libc-dev native-architecture pkgconf pkgconf-bin
1392s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev
1392s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
1392s Need to get 56.0 MB of archives.
1392s After this operation, 175 MB of additional disk space will be used.
1392s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB]
1393s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB]
1393s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB]
1393s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB]
1393s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB]
1393s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB]
1393s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB]
1393s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-9ubuntu1 [9312 kB]
1393s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-9ubuntu1 [1036 B]
1393s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B]
1393s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB]
1393s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-9ubuntu1 [43.3 kB]
1393s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-9ubuntu1 [125 kB]
1393s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-9ubuntu1 [2964 kB]
1393s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-9ubuntu1 [1177 kB]
1393s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-9ubuntu1 [874 kB]
1393s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-9ubuntu1 [18.1 MB]
1394s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-9ubuntu1 [500 kB]
1394s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B]
1394s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B]
1394s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-9ubuntu1 [2556 kB]
1394s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-9ubuntu1 [10.6 MB]
1394s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-9ubuntu1 [20.1 kB]
1394s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B]
1394s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B]
1394s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B]
1394s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0-dev armhf 2.82.2-3 [852 kB]
1394s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B]
1394s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.2-3 [98.3 kB]
1394s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.2-3 [107 kB]
1394s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.6-1build1 [57.1 kB]
1394s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-1ubuntu1 [51.0 kB]
1394s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-1ubuntu1 [216 kB]
1394s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB]
1394s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB]
1394s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB]
1394s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B]
1394s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB]
1394s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1-dev armhf 3.7-3ubuntu1 [160 kB]
1394s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-1ubuntu1 [33.0 kB]
1394s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 47.2-1 [46.4 kB]
1394s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB]
1394s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB]
1394s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB]
1394s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB]
1394s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev armhf 2.82.2-3 [1705 kB]
1394s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB]
1394s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.2-3 [130 kB]
1394s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev-bin armhf 2.82.2-3 [18.1 kB]
1394s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev armhf 2.82.2-3 [18.8 kB]
1395s Fetched 56.0 MB in 2s (26.4 MB/s)
1395s Selecting previously unselected package libc-dev-bin.
1395s (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 ... 59965 files and directories currently installed.)
1395s Preparing to unpack .../00-libc-dev-bin_2.40-1ubuntu3_armhf.deb ...
1395s Unpacking libc-dev-bin (2.40-1ubuntu3) ...
1395s Selecting previously unselected package linux-libc-dev:armhf.
1395s Preparing to unpack .../01-linux-libc-dev_6.11.0-8.8_armhf.deb ...
1395s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ...
1395s Selecting previously unselected package libcrypt-dev:armhf.
1395s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-5_armhf.deb ...
1395s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ...
1395s Selecting previously unselected package rpcsvc-proto.
1395s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ...
1395s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ...
1395s Selecting previously unselected package libc6-dev:armhf.
1395s Preparing to unpack .../04-libc6-dev_2.40-1ubuntu3_armhf.deb ...
1395s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ...
1395s Selecting previously unselected package libisl23:armhf.
1395s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ...
1395s Unpacking libisl23:armhf (0.27-1) ...
1395s Selecting previously unselected package libmpc3:armhf.
1395s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ...
1395s Unpacking libmpc3:armhf (1.3.1-1build2) ...
1395s Selecting previously unselected package cpp-14-arm-linux-gnueabihf.
1395s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-9ubuntu1_armhf.deb ...
1395s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package cpp-14.
1396s Preparing to unpack .../08-cpp-14_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking cpp-14 (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package cpp-arm-linux-gnueabihf.
1396s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ...
1396s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
1396s Selecting previously unselected package cpp.
1396s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ...
1396s Unpacking cpp (4:14.1.0-2ubuntu1) ...
1396s Selecting previously unselected package libcc1-0:armhf.
1396s Preparing to unpack .../11-libcc1-0_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking libcc1-0:armhf (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package libgomp1:armhf.
1396s Preparing to unpack .../12-libgomp1_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking libgomp1:armhf (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package libasan8:armhf.
1396s Preparing to unpack .../13-libasan8_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking libasan8:armhf (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package libubsan1:armhf.
1396s Preparing to unpack .../14-libubsan1_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking libubsan1:armhf (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package libgcc-14-dev:armhf.
1396s Preparing to unpack .../15-libgcc-14-dev_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking libgcc-14-dev:armhf (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package gcc-14-arm-linux-gnueabihf.
1396s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package gcc-14.
1396s Preparing to unpack .../17-gcc-14_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking gcc-14 (14.2.0-9ubuntu1) ...
1396s Selecting previously unselected package gcc-arm-linux-gnueabihf.
1396s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ...
1396s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
1396s Selecting previously unselected package gcc.
1396s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ...
1396s Unpacking gcc (4:14.1.0-2ubuntu1) ...
1396s Selecting previously unselected package libstdc++-14-dev:armhf.
1396s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-9ubuntu1_armhf.deb ...
1396s Unpacking libstdc++-14-dev:armhf (14.2.0-9ubuntu1) ...
1397s Selecting previously unselected package g++-14-arm-linux-gnueabihf.
1397s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-9ubuntu1_armhf.deb ...
1397s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
1397s Selecting previously unselected package g++-14.
1397s Preparing to unpack .../22-g++-14_14.2.0-9ubuntu1_armhf.deb ...
1397s Unpacking g++-14 (14.2.0-9ubuntu1) ...
1397s Selecting previously unselected package g++-arm-linux-gnueabihf.
1397s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ...
1397s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
1397s Selecting previously unselected package g++.
1397s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_armhf.deb ...
1397s Unpacking g++ (4:14.1.0-2ubuntu1) ...
1397s Selecting previously unselected package build-essential.
1397s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ...
1397s Unpacking build-essential (12.10ubuntu1) ...
1397s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf.
1397s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.82.2-3_armhf.deb ...
1397s Unpacking gir1.2-glib-2.0-dev:armhf (2.82.2-3) ...
1397s Selecting previously unselected package native-architecture.
1397s Preparing to unpack .../27-native-architecture_0.2.3_all.deb ...
1397s Unpacking native-architecture (0.2.3) ...
1397s Selecting previously unselected package libgirepository-2.0-0:armhf.
1397s Preparing to unpack .../28-libgirepository-2.0-0_2.82.2-3_armhf.deb ...
1397s Unpacking libgirepository-2.0-0:armhf (2.82.2-3) ...
1397s Selecting previously unselected package girepository-tools:armhf.
1397s Preparing to unpack .../29-girepository-tools_2.82.2-3_armhf.deb ...
1397s Unpacking girepository-tools:armhf (2.82.2-3) ...
1397s Selecting previously unselected package libffi-dev:armhf.
1397s Preparing to unpack .../30-libffi-dev_3.4.6-1build1_armhf.deb ...
1397s Unpacking libffi-dev:armhf (3.4.6-1build1) ...
1397s Selecting previously unselected package uuid-dev:armhf.
1397s Preparing to unpack .../31-uuid-dev_2.40.2-1ubuntu1_armhf.deb ...
1397s Unpacking uuid-dev:armhf (2.40.2-1ubuntu1) ...
1397s Selecting previously unselected package libblkid-dev:armhf.
1397s Preparing to unpack .../32-libblkid-dev_2.40.2-1ubuntu1_armhf.deb ...
1397s Unpacking libblkid-dev:armhf (2.40.2-1ubuntu1) ...
1397s Selecting previously unselected package libsepol-dev:armhf.
1397s Preparing to unpack .../33-libsepol-dev_3.7-1_armhf.deb ...
1397s Unpacking libsepol-dev:armhf (3.7-1) ...
1397s Selecting previously unselected package libpcre2-16-0:armhf.
1397s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ...
1397s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ...
1397s Selecting previously unselected package libpcre2-32-0:armhf.
1397s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ...
1397s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ...
1397s Selecting previously unselected package libpcre2-posix3:armhf.
1398s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ...
1398s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ...
1398s Selecting previously unselected package libpcre2-dev:armhf.
1398s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_armhf.deb ...
1398s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ...
1398s Selecting previously unselected package libselinux1-dev:armhf.
1398s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu1_armhf.deb ...
1398s Unpacking libselinux1-dev:armhf (3.7-3ubuntu1) ...
1398s Selecting previously unselected package libmount-dev:armhf.
1398s Preparing to unpack .../39-libmount-dev_2.40.2-1ubuntu1_armhf.deb ...
1398s Unpacking libmount-dev:armhf (2.40.2-1ubuntu1) ...
1398s Selecting previously unselected package libsysprof-capture-4-dev:armhf.
1398s Preparing to unpack .../40-libsysprof-capture-4-dev_47.2-1_armhf.deb ...
1398s Unpacking libsysprof-capture-4-dev:armhf (47.2-1) ...
1398s Selecting previously unselected package libpkgconf3:armhf.
1398s Preparing to unpack .../41-libpkgconf3_1.8.1-4_armhf.deb ...
1398s Unpacking libpkgconf3:armhf (1.8.1-4) ...
1398s Selecting previously unselected package pkgconf-bin.
1398s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_armhf.deb ...
1398s Unpacking pkgconf-bin (1.8.1-4) ...
1398s Selecting previously unselected package pkgconf:armhf.
1398s Preparing to unpack .../43-pkgconf_1.8.1-4_armhf.deb ...
1398s Unpacking pkgconf:armhf (1.8.1-4) ...
1398s Selecting previously unselected package zlib1g-dev:armhf.
1398s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ...
1398s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
1398s Selecting previously unselected package libgio-2.0-dev:armhf.
1398s Preparing to unpack .../45-libgio-2.0-dev_2.82.2-3_armhf.deb ...
1398s Unpacking libgio-2.0-dev:armhf (2.82.2-3) ...
1398s Selecting previously unselected package python3-packaging.
1398s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ...
1398s Unpacking python3-packaging (24.2-1) ...
1398s Selecting previously unselected package libgio-2.0-dev-bin.
1398s Preparing to unpack .../47-libgio-2.0-dev-bin_2.82.2-3_armhf.deb ...
1398s Unpacking libgio-2.0-dev-bin (2.82.2-3) ...
1398s Selecting previously unselected package libglib2.0-dev-bin.
1398s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.2-3_armhf.deb ...
1398s Unpacking libglib2.0-dev-bin (2.82.2-3) ...
1398s Selecting previously unselected package libglib2.0-dev:armhf.
1398s Preparing to unpack .../49-libglib2.0-dev_2.82.2-3_armhf.deb ...
1398s Unpacking libglib2.0-dev:armhf (2.82.2-3) ...
1398s Setting up native-architecture (0.2.3) ...
1398s Setting up libgirepository-2.0-0:armhf (2.82.2-3) ...
1398s Setting up linux-libc-dev:armhf (6.11.0-8.8) ...
1398s Setting up libgomp1:armhf (14.2.0-9ubuntu1) ...
1398s Setting up libffi-dev:armhf (3.4.6-1build1) ...
1398s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ...
1398s Setting up libsysprof-capture-4-dev:armhf (47.2-1) ...
1398s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ...
1398s Setting up python3-packaging (24.2-1) ...
1399s Setting up libpkgconf3:armhf (1.8.1-4) ...
1399s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ...
1399s Setting up libmpc3:armhf (1.3.1-1build2) ...
1399s Setting up libsepol-dev:armhf (3.7-1) ...
1399s Setting up pkgconf-bin (1.8.1-4) ...
1399s Setting up libubsan1:armhf (14.2.0-9ubuntu1) ...
1399s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ...
1399s Setting up gir1.2-glib-2.0-dev:armhf (2.82.2-3) ...
1399s Setting up libcrypt-dev:armhf (1:4.4.36-5) ...
1399s Setting up libasan8:armhf (14.2.0-9ubuntu1) ...
1399s Setting up libgcc-14-dev:armhf (14.2.0-9ubuntu1) ...
1399s Setting up libisl23:armhf (0.27-1) ...
1399s Setting up libc-dev-bin (2.40-1ubuntu3) ...
1399s Setting up libcc1-0:armhf (14.2.0-9ubuntu1) ...
1399s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
1399s Setting up libgio-2.0-dev-bin (2.82.2-3) ...
1399s Setting up girepository-tools:armhf (2.82.2-3) ...
1399s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
1399s Setting up pkgconf:armhf (1.8.1-4) ...
1399s Setting up cpp-14 (14.2.0-9ubuntu1) ...
1399s Setting up libc6-dev:armhf (2.40-1ubuntu3) ...
1399s Setting up libstdc++-14-dev:armhf (14.2.0-9ubuntu1) ...
1399s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
1399s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
1399s Setting up libglib2.0-dev-bin (2.82.2-3) ...
1399s Setting up g++-14-arm-linux-gnueabihf (14.2.0-9ubuntu1) ...
1399s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ...
1399s Setting up libselinux1-dev:armhf (3.7-3ubuntu1) ...
1399s Setting up gcc-14 (14.2.0-9ubuntu1) ...
1399s Setting up uuid-dev:armhf (2.40.2-1ubuntu1) ...
1399s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
1399s Setting up cpp (4:14.1.0-2ubuntu1) ...
1399s Setting up g++-14 (14.2.0-9ubuntu1) ...
1399s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ...
1399s Setting up libblkid-dev:armhf (2.40.2-1ubuntu1) ...
1399s Setting up gcc (4:14.1.0-2ubuntu1) ...
1399s Setting up g++ (4:14.1.0-2ubuntu1) ...
1399s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
1399s Setting up build-essential (12.10ubuntu1) ...
1399s Setting up libmount-dev:armhf (2.40.2-1ubuntu1) ...
1399s Setting up libgio-2.0-dev:armhf (2.82.2-3) ...
1399s Processing triggers for install-info (7.1.1-1) ...
1399s Processing triggers for libc-bin (2.40-1ubuntu3) ...
1399s Processing triggers for man-db (2.13.0-1) ...
1400s Processing triggers for libglib2.0-0t64:armhf (2.82.2-3) ...
1400s No schema files found: doing nothing.
1400s Setting up libglib2.0-dev:armhf (2.82.2-3) ...
1431s autopkgtest [02:02:44]: test libglib2.0-dev: [-----------------------
1434s + debian/tests/build
1434s + mode=dynamic
1434s + getopt -o --long static -n debian/tests/build --
1434s + getopt_temp= --
1434s + eval set -- --
1434s + set -- --
1434s + true
1434s + shift
1434s + break
1434s + mktemp -d
1434s + WORKDIR=/tmp/tmp.cGld8Frje3
1434s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
1434s + cd /tmp/tmp.cGld8Frje3
1434s + [ -n ]
1434s + CROSS_COMPILE=
1434s + cat
1434s + cat
1434s + cat
1434s + cat
1434s + cat
1434s + cat
1434s + cflags=
1434s + pcflags=
1434s + packages=glib-2.0
1434s + pkg-config --cflags --libs glib-2.0
1434s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
1434s + echo build (glib, dynamic): OK
1434s + [ -x glib-dynamic ]
1434s + foo=bar ./glib-dynamic
1434s + echo run (glib, dynamic): OK
1434s + cflags=
1434s + pcflags=
1434s + packages=gobject-2.0
1434s + pkg-config --cflags --libs gobject-2.0
1434s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
1434s build (glib, dynamic): OK
1434s run (glib, dynamic): OK
1434s build (gobject, dynamic): OK
1434s + echo build (gobject, dynamic): OK
1434s + [ -x gobject-dynamic ]
1434s + foo=bar ./gobject-dynamic
1434s + echo run (gobject, dynamic): OK
1434s + cflags=
1434s + pcflags=
1434s + packages=gio-2.0
1434s + pkg-config --cflags --libs gio-2.0
1434s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
1434s run (gobject, dynamic): OK
1435s + echo build (gio, dynamic): OK
1435s + [ -x gio-dynamic ]
1435s + foo=bar ./gio-dynamic
1435s + echo run (gio, dynamic): OK
1435s + cflags=
1435s + pcflags=
1435s + packages=gio-unix-2.0
1435s + pkg-config --cflags --libs gio-unix-2.0
1435s build (gio, dynamic): OK
1435s run (gio, dynamic): OK
1435s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
1435s + echo build (gio-unix, dynamic): OK
1435s + [ -x gio-unix-dynamic ]
1435s + foo=bar ./gio-unix-dynamic
1435s build (gio-unix, dynamic): OK
1435s run (gio-unix, dynamic): OK
1435s + echo run (gio-unix, dynamic): OK
1435s + cflags=
1435s + pcflags=
1435s + packages=gmodule-2.0
1435s + pkg-config --cflags --libs gmodule-2.0
1435s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
1435s + echo build (gmodule, dynamic): OK
1435s + [ -x gmodule-dynamic ]
1435s + foo=bar ./gmodule-dynamic
1435s build (gmodule, dynamic): OK
1435s + echo run (gmodule, dynamic): OK
1435s + cflags=
1435s + pcflags=
1435s + packages=gthread-2.0
1435s + pkg-config --cflags --libs gthread-2.0
1435s run (gmodule, dynamic): OK
1435s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
1435s + echo build (gthread, dynamic): OK
1435s + [ -x gthread-dynamic ]
1435s + foo=bar ./gthread-dynamic
1435s build (gthread, dynamic): OK
1435s run (gthread, dynamic): OK
1435s + echo run (gthread, dynamic): OK
1435s + rm -rf /tmp/tmp.cGld8Frje3
1435s + debian/tests/build-static
1435s + mode=dynamic
1435s + getopt -o --long static -n debian/tests/build -- --static
1435s + getopt_temp= --static --
1435s + eval set -- --static --
1435s + set -- --static --
1435s + true
1435s + mode=static
1435s + shift
1435s + continue
1435s + true
1435s + shift
1435s + break
1435s + mktemp -d
1435s + WORKDIR=/tmp/tmp.MlQy0BHjcp
1435s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
1435s + cd /tmp/tmp.MlQy0BHjcp
1435s + [ -n ]
1435s + CROSS_COMPILE=
1435s + cat
1435s + cat
1435s + cat
1435s + cat
1435s + cat
1435s + cat
1435s + cflags=
1435s + pcflags=
1435s + packages=glib-2.0
1435s + cflags=-static
1435s + pcflags=--static
1435s + pkg-config --static --cflags --libs glib-2.0
1435s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
1435s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
1435s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s + echo build (glib, static): OK
1435s + [ -x glib-static ]
1435s + foo=bar ./glib-static
1435s build (glib, static): OK
1435s + echo run (glib, static): OK
1435s + cflags=
1435s + pcflags=
1435s + packages=gobject-2.0
1435s + cflags=-static
1435s + pcflags=--static
1435s run (glib, static): OK
1435s + pkg-config --static --cflags --libs gobject-2.0
1435s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi
1435s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
1435s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s + echo build (gobject, static): OK
1435s + [ -x gobject-static ]
1435s + foo=bar ./gobject-static
1435s + echo run (gobject, static): OK
1435s + cflags=
1435s + pcflags=
1435s + packages=gio-2.0
1435s + cflags=-static
1435s + pcflags=--static
1435s + continue
1435s + cflags=
1435s + pcflags=
1435s + packages=gio-unix-2.0
1435s + cflags=-static
1435s + pcflags=--static
1435s + continue
1435s + cflags=
1435s + pcflags=
1435s + packages=gmodule-2.0
1435s + cflags=-static
1435s + pcflags=--static
1435s + pkg-config --static --cflags --libs gmodule-2.0
1435s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
1435s build (gobject, static): OK
1435s run (gobject, static): OK
1435s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
1435s (.text+0x412): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
1435s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1435s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1436s + echo build (gmodule, static): OK
1436s + [ -x gmodule-static ]
1436s + foo=bar ./gmodule-static
1436s build (gmodule, static): OK
1436s run (gmodule, static): OK
1436s + echo run (gmodule, static): OK
1436s + cflags=
1436s + pcflags=
1436s + packages=gthread-2.0
1436s + cflags=-static
1436s + pcflags=--static
1436s + pkg-config --static --cflags --libs gthread-2.0
1436s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
1436s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
1436s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1436s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1436s /usr/bin/ld: (.text+0xbe): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
1436s build (gthread, static): OK
1436s + echo build (gthread, static): OK
1436s + [ -x gthread-static ]
1436s + foo=bar ./gthread-static
1436s + echo run (gthread, static): OK
1436s + rm -rf /tmp/tmp.MlQy0BHjcp
1436s run (gthread, static): OK
1436s + debian/tests/girepository-tools
1436s + cd /tmp/autopkgtest.sgD5cM/autopkgtest_tmp
1436s + dpkg-architecture -qDEB_HOST_GNU_TYPE
1436s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf
1436s + dpkg-architecture -qDEB_HOST_MULTIARCH
1436s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf
1436s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
1436s typelib: GLib-2.0
1436s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir
1436s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib
1436s + debian/tests/libgio-2.0-dev-bin
1436s + gdbus-codegen --help
1436s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
1436s [--c-namespace NAMESPACE] [--c-generate-object-manager]
1436s [--c-generate-autocleanup {none,objects,all}]
1436s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
1436s [--generate-rst OUTFILES] [--pragma-once]
1436s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
1436s [--glib-min-required VERSION]
1436s [--glib-max-allowed VERSION]
1436s [--symbol-decorator SYMBOL_DECORATOR]
1436s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
1436s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
1436s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body]
1436s [--output FILE | --output-directory OUTDIR]
1436s FILE [FILE ...]
1436s
1436s D-Bus code and documentation generator
1436s
1436s positional arguments:
1436s FILE D-Bus introspection XML file
1436s
1436s options:
1436s -h, --help show this help message and exit
1436s --interface-prefix PREFIX
1436s String to strip from D-Bus interface names for code
1436s and docs
1436s --c-namespace NAMESPACE
1436s The namespace to use for generated C code
1436s --c-generate-object-manager
1436s Generate a GDBusObjectManagerClient subclass when
1436s generating C code
1436s --c-generate-autocleanup {none,objects,all}
1436s Generate autocleanup support
1436s --generate-docbook OUTFILES
1436s Generate Docbook in OUTFILES-org.Project.IFace.xml
1436s --generate-md OUTFILES
1436s Generate Markdown in OUTFILES-org.Project.IFace.md
1436s --generate-rst OUTFILES
1436s Generate reStructuredText in OUTFILES-
1436s org.Project.IFace.rst
1436s --pragma-once Use "pragma once" as the inclusion guard
1436s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
1436s Add annotation (may be used several times)
1436s --glib-min-required VERSION
1436s Minimum version of GLib to be supported by the
1436s outputted code (default: 2.30)
1436s --glib-max-allowed VERSION
1436s Maximum version of GLib to be used by the outputted
1436s code (default: current GLib version)
1436s --symbol-decorator SYMBOL_DECORATOR
1436s Macro used to decorate a symbol in the outputted
1436s header, possibly to export symbols
1436s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
1436s Additional header required for decorator specified by
1436s --symbol-decorator
1436s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
1436s Additional define required for decorator specified by
1436s --symbol-decorator
1436s --generate-c-code OUTFILES
1436s Generate C code in OUTFILES.[ch]
1436s --header Generate C headers
1436s --body Generate C code
1436s --interface-info-header
1436s Generate GDBusInterfaceInfo C header
1436s --interface-info-body
1436s Generate GDBusInterfaceInfo C code
1436s --output FILE Write output into the specified file
1436s --output-directory OUTDIR
1436s Location to output generated files
1436s 2.82.2
1436s + glib-compile-resources --version
1436s + glib-genmarshal --version
1436s glib-genmarshal version 2.82.2
1436s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
1436s You may redistribute copies of glib-genmarshal under the terms of
1436s the GNU General Public License which can be found in the
1436s GLib source package. Sources, examples and contact
1436s information are available at http://www.gtk.org
1436s + glib-gettextize --version
1436s + glib-mkenums --version
1436s /usr/bin/glib-gettextize (GNU glib) 2.82.2
1436s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
1436s This is free software; see the source for copying conditions. There is NO
1436s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1436s Written by Ulrich Drepper
1436s + gobject-query tree
1436s + gtester --version
1436s + gtester-report --version
1436s glib-mkenums version 2.82.2
1436s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
1436s You may redistribute copies of glib-mkenums under the terms of
1436s the GNU General Public License which can be found in the
1436s GLib source package. Sources, examples and contact
1436s information are available at http://www.gtk.org
1436s GObject
1436s gtester version 2.82.2
1436s + cd /tmp/autopkgtest.sgD5cM/autopkgtest_tmp
1436s + dpkg-architecture -qDEB_HOST_MULTIARCH
1436s gtester-report (GLib utils) version 2.82.2.
1436s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf
1436s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
1436s + gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir
1436s typelib: GLib-2.0
1436s + gi-decompile-typelib -o GLib.gir GLib.typelib
1437s autopkgtest [02:02:50]: test libglib2.0-dev: -----------------------]
1443s autopkgtest [02:02:56]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - -
1443s libglib2.0-dev PASS (superficial)
1448s autopkgtest [02:03:01]: test installed-tests: preparing testbed
1520s autopkgtest [02:04:13]: testbed dpkg architecture: armhf
1524s autopkgtest [02:04:17]: testbed apt version: 2.9.14ubuntu1
1532s autopkgtest [02:04:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup
1538s autopkgtest [02:04:31]: testbed release detected to be: plucky
1556s autopkgtest [02:04:49]: updating testbed package index (apt update)
1559s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB]
1559s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB]
1559s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
1559s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
1559s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB]
1559s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B]
1559s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB]
1559s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB]
1559s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [108 kB]
1559s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B]
1559s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [582 kB]
1559s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6956 B]
1559s Get:13 http://ftpmaster.internal/ubuntu plucky/main Sources [1382 kB]
1559s Get:14 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB]
1560s Get:15 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB]
1560s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1353 kB]
1560s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.6 MB]
1560s Get:18 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [175 kB]
1564s Fetched 40.3 MB in 5s (8001 kB/s)
1565s Reading package lists...
1573s autopkgtest [02:05:06]: upgrading testbed (apt dist-upgrade and autopurge)
1576s Reading package lists...
1576s Building dependency tree...
1576s Reading state information...
1577s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
1577s Starting 2 pkgProblemResolver with broken count: 0
1577s Done
1578s Entering ResolveByKeep
1578s
1578s The following package was automatically installed and is no longer required:
1578s libassuan0
1578s Use 'apt autoremove' to remove it.
1578s The following packages will be upgraded:
1578s binutils binutils-arm-linux-gnueabihf binutils-common dirmngr fwupd
1578s gcc-14-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
1578s gpgconf gpgsm gpgv keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0
1578s libctf0 libfwupd3 libgcc-s1 libsframe1 libstdc++6 publicsuffix
1578s python3-software-properties software-properties-common xauth
1579s 29 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1579s Need to get 12.5 MB of archives.
1579s After this operation, 416 kB of additional disk space will be used.
1579s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-9ubuntu1 [7856 B]
1579s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-9ubuntu1 [51.9 kB]
1579s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-9ubuntu1 [713 kB]
1579s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-9ubuntu1 [40.9 kB]
1579s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB]
1579s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu20 [88.9 kB]
1579s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu20 [351 kB]
1579s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu20 [246 kB]
1579s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu20 [160 kB]
1579s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu20 [238 kB]
1579s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu20 [535 kB]
1579s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu20 [117 kB]
1579s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu20 [359 kB]
1579s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu20 [113 kB]
1579s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu20 [228 kB]
1579s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241025.1547-0.1 [135 kB]
1579s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB]
1579s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241126-3ubuntu1 [90.2 kB]
1579s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241126-3ubuntu1 [89.7 kB]
1579s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241126-3ubuntu1 [3084 B]
1579s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241126-3ubuntu1 [2938 kB]
1579s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241126-3ubuntu1 [461 kB]
1579s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241126-3ubuntu1 [222 kB]
1579s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241126-3ubuntu1 [12.8 kB]
1579s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.2-2 [5020 kB]
1580s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.2-2 [124 kB]
1580s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB]
1580s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.107 [16.5 kB]
1580s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.107 [30.4 kB]
1580s Fetched 12.5 MB in 1s (12.2 MB/s)
1580s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 59970 files and directories currently installed.)
1580s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_armhf.deb ...
1580s Unpacking libatomic1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
1580s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_armhf.deb ...
1580s Unpacking gcc-14-base:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
1580s Setting up gcc-14-base:armhf (14.2.0-9ubuntu1) ...
1580s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 59970 files and directories currently installed.)
1580s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_armhf.deb ...
1580s Unpacking libstdc++6:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
1580s Setting up libstdc++6:armhf (14.2.0-9ubuntu1) ...
1580s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 59970 files and directories currently installed.)
1580s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_armhf.deb ...
1580s Unpacking libgcc-s1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
1580s Setting up libgcc-s1:armhf (14.2.0-9ubuntu1) ...
1581s (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 ... 59970 files and directories currently installed.)
1581s Preparing to unpack .../libcap-ng0_0.8.5-4_armhf.deb ...
1581s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ...
1581s Setting up libcap-ng0:armhf (0.8.5-4) ...
1581s (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 ... 59970 files and directories currently installed.)
1581s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ...
1581s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_armhf.deb ...
1581s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1581s Setting up gpgv (2.4.4-2ubuntu20) ...
1581s (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 ... 59970 files and directories currently installed.)
1581s Preparing to unpack .../00-publicsuffix_20241025.1547-0.1_all.deb ...
1581s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ...
1581s Preparing to unpack .../01-xauth_1%3a1.1.2-1.1_armhf.deb ...
1581s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ...
1581s Preparing to unpack .../02-libctf0_2.43.50.20241126-3ubuntu1_armhf.deb ...
1581s Unpacking libctf0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1581s Preparing to unpack .../03-libctf-nobfd0_2.43.50.20241126-3ubuntu1_armhf.deb ...
1581s Unpacking libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1581s Preparing to unpack .../04-binutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
1581s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1581s Preparing to unpack .../05-binutils-arm-linux-gnueabihf_2.43.50.20241126-3ubuntu1_armhf.deb ...
1581s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1582s Preparing to unpack .../06-libbinutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
1582s Unpacking libbinutils:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1582s Preparing to unpack .../07-binutils-common_2.43.50.20241126-3ubuntu1_armhf.deb ...
1582s Unpacking binutils-common:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1582s Preparing to unpack .../08-libsframe1_2.43.50.20241126-3ubuntu1_armhf.deb ...
1582s Unpacking libsframe1:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
1582s Preparing to unpack .../09-fwupd_2.0.2-2_armhf.deb ...
1582s Unpacking fwupd (2.0.2-2) over (2.0.2-1) ...
1582s Preparing to unpack .../10-libfwupd3_2.0.2-2_armhf.deb ...
1582s Unpacking libfwupd3:armhf (2.0.2-2) over (2.0.2-1) ...
1582s Preparing to unpack .../11-gnupg-l10n_2.4.4-2ubuntu20_all.deb ...
1582s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
1582s Preparing to unpack .../12-software-properties-common_0.107_all.deb ...
1582s Unpacking software-properties-common (0.107) over (0.105) ...
1582s Preparing to unpack .../13-python3-software-properties_0.107_all.deb ...
1582s Unpacking python3-software-properties (0.107) over (0.105) ...
1582s Setting up binutils-common:armhf (2.43.50.20241126-3ubuntu1) ...
1582s Setting up libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) ...
1582s Setting up libfwupd3:armhf (2.0.2-2) ...
1582s Setting up libsframe1:armhf (2.43.50.20241126-3ubuntu1) ...
1582s Setting up gnupg-l10n (2.4.4-2ubuntu20) ...
1582s Setting up libatomic1:armhf (14.2.0-9ubuntu1) ...
1582s Setting up xauth (1:1.1.2-1.1) ...
1582s Setting up gpgconf (2.4.4-2ubuntu20) ...
1582s Setting up libbinutils:armhf (2.43.50.20241126-3ubuntu1) ...
1582s Setting up publicsuffix (20241025.1547-0.1) ...
1582s Setting up fwupd (2.0.2-2) ...
1583s fwupd-refresh.service is a disabled or a static unit not running, not starting it.
1583s fwupd.service is a disabled or a static unit not running, not starting it.
1583s Setting up gpg (2.4.4-2ubuntu20) ...
1583s Setting up gnupg-utils (2.4.4-2ubuntu20) ...
1583s Setting up libctf0:armhf (2.43.50.20241126-3ubuntu1) ...
1583s Setting up gpg-agent (2.4.4-2ubuntu20) ...
1583s Setting up gpgsm (2.4.4-2ubuntu20) ...
1583s Setting up dirmngr (2.4.4-2ubuntu20) ...
1583s Setting up python3-software-properties (0.107) ...
1584s Setting up keyboxd (2.4.4-2ubuntu20) ...
1584s Setting up gnupg (2.4.4-2ubuntu20) ...
1584s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) ...
1584s Setting up gpg-wks-client (2.4.4-2ubuntu20) ...
1584s Setting up binutils (2.43.50.20241126-3ubuntu1) ...
1584s Setting up software-properties-common (0.107) ...
1584s Processing triggers for install-info (7.1.1-1) ...
1584s Processing triggers for libc-bin (2.40-1ubuntu3) ...
1584s Processing triggers for man-db (2.13.0-1) ...
1585s Processing triggers for dbus (1.14.10-4ubuntu5) ...
1588s Reading package lists...
1589s Building dependency tree...
1589s Reading state information...
1589s Starting pkgProblemResolver with broken count: 0
1589s Starting 2 pkgProblemResolver with broken count: 0
1589s Done
1590s The following packages will be REMOVED:
1590s libassuan0*
1590s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1590s After this operation, 68.6 kB disk space will be freed.
1591s (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 ... 59970 files and directories currently installed.)
1591s Removing libassuan0:armhf (2.5.6-1build1) ...
1591s Processing triggers for libc-bin (2.40-1ubuntu3) ...
1594s autopkgtest [02:05:27]: rebooting testbed after setup commands that affected boot
1705s Reading package lists...
1705s Building dependency tree...
1705s Reading state information...
1706s Starting pkgProblemResolver with broken count: 0
1706s Starting 2 pkgProblemResolver with broken count: 0
1706s Done
1707s The following NEW packages will be installed:
1707s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing
1707s libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin
1707s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa
1707s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6
1707s libllvm19 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1
1707s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
1707s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2
1707s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64
1707s libxxf86vm1 mesa-libgallium native-architecture python3-dbusmock
1707s python3-packaging tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb
1707s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded.
1707s Need to get 41.5 MB of archives.
1707s After this operation, 163 MB of additional disk space will be used.
1707s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-x11 armhf 1.14.10-4ubuntu5 [22.8 kB]
1707s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf desktop-file-utils armhf 0.28-1 [48.5 kB]
1707s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B]
1707s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.2-3 [98.3 kB]
1707s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.2-3 [107 kB]
1707s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf gnome-desktop-testing armhf 2021.1-4 [16.2 kB]
1707s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libdrm-radeon1 armhf 2.4.123-1 [18.1 kB]
1707s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libfontenc1 armhf 1:1.1.8-1build1 [11.5 kB]
1707s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB]
1707s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libwayland-server0 armhf 1.23.0-1 [29.4 kB]
1707s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-randr0 armhf 1.17.0-2 [17.0 kB]
1707s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libglapi-mesa armhf 24.2.3-1ubuntu1 [49.4 kB]
1707s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libllvm19 armhf 1:19.1.2-1ubuntu1 [27.8 MB]
1708s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libx11-xcb1 armhf 2:1.8.10-2 [7902 B]
1708s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri2-0 armhf 1.17.0-2 [6868 B]
1708s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri3-0 armhf 1.17.0-2 [7120 B]
1708s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-present0 armhf 1.17.0-2 [5940 B]
1708s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-sync1 armhf 1.17.0-2 [8732 B]
1708s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xfixes0 armhf 1.17.0-2 [10.0 kB]
1708s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libxshmfence1 armhf 1.3-1build5 [4464 B]
1708s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf mesa-libgallium armhf 24.2.3-1ubuntu1 [7895 kB]
1708s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libgbm1 armhf 24.2.3-1ubuntu1 [28.2 kB]
1708s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB]
1708s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.2-3 [130 kB]
1708s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libvulkan1 armhf 1.3.296.0-1 [114 kB]
1708s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1-mesa-dri armhf 24.2.3-1ubuntu1 [30.8 kB]
1708s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev-bin armhf 2.82.2-3 [18.1 kB]
1708s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-dbusmock all 0.32.2-2 [90.7 kB]
1708s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata-legacy all 2024b-1ubuntu2 [99.9 kB]
1708s Get:30 http://ftpmaster.internal/ubuntu plucky/universe armhf libglib2.0-tests armhf 2.82.2-3 [2288 kB]
1708s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-glx0 armhf 1.17.0-2 [22.6 kB]
1708s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B]
1708s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libxfixes3 armhf 1:6.0.0-2build1 [9038 B]
1708s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libxxf86vm1 armhf 1:1.1.4-1build4 [8068 B]
1708s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libglx-mesa0 armhf 24.2.3-1ubuntu1 [131 kB]
1708s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB]
1708s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB]
1708s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB]
1708s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB]
1708s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB]
1708s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libxmu6 armhf 2:1.1.3-3build2 [40.4 kB]
1708s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB]
1708s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libxaw7 armhf 2:1.0.16-1 [154 kB]
1708s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libxfont2 armhf 1:2.0.6-1build1 [80.3 kB]
1708s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbfile1 armhf 1:1.1.0-1build4 [60.0 kB]
1708s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB]
1708s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libxrandr2 armhf 2:1.5.4-1 [15.8 kB]
1708s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf x11-xkb-utils armhf 7.7+9 [159 kB]
1708s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB]
1708s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libglvnd0 armhf 1.7.0-1build1 [83.7 kB]
1708s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf libglx0 armhf 1.7.0-1build1 [39.3 kB]
1708s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1 armhf 1.7.0-1build1 [105 kB]
1709s Get:53 http://ftpmaster.internal/ubuntu plucky/universe armhf xvfb armhf 2:21.1.14-2ubuntu1 [730 kB]
1709s Fetched 41.5 MB in 2s (20.9 MB/s)
1709s Selecting previously unselected package dbus-x11.
1709s (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 ... 59965 files and directories currently installed.)
1709s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_armhf.deb ...
1709s Unpacking dbus-x11 (1.14.10-4ubuntu5) ...
1709s Selecting previously unselected package desktop-file-utils.
1709s Preparing to unpack .../01-desktop-file-utils_0.28-1_armhf.deb ...
1709s Unpacking desktop-file-utils (0.28-1) ...
1709s Selecting previously unselected package native-architecture.
1709s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ...
1709s Unpacking native-architecture (0.2.3) ...
1709s Selecting previously unselected package libgirepository-2.0-0:armhf.
1709s Preparing to unpack .../03-libgirepository-2.0-0_2.82.2-3_armhf.deb ...
1709s Unpacking libgirepository-2.0-0:armhf (2.82.2-3) ...
1709s Selecting previously unselected package girepository-tools:armhf.
1709s Preparing to unpack .../04-girepository-tools_2.82.2-3_armhf.deb ...
1709s Unpacking girepository-tools:armhf (2.82.2-3) ...
1709s Selecting previously unselected package gnome-desktop-testing.
1709s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_armhf.deb ...
1709s Unpacking gnome-desktop-testing (2021.1-4) ...
1709s Selecting previously unselected package libdrm-radeon1:armhf.
1709s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_armhf.deb ...
1709s Unpacking libdrm-radeon1:armhf (2.4.123-1) ...
1709s Selecting previously unselected package libfontenc1:armhf.
1709s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_armhf.deb ...
1709s Unpacking libfontenc1:armhf (1:1.1.8-1build1) ...
1709s Selecting previously unselected package libfreetype6:armhf.
1709s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1_armhf.deb ...
1709s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ...
1709s Selecting previously unselected package libwayland-server0:armhf.
1709s Preparing to unpack .../09-libwayland-server0_1.23.0-1_armhf.deb ...
1709s Unpacking libwayland-server0:armhf (1.23.0-1) ...
1709s Selecting previously unselected package libxcb-randr0:armhf.
1709s Preparing to unpack .../10-libxcb-randr0_1.17.0-2_armhf.deb ...
1709s Unpacking libxcb-randr0:armhf (1.17.0-2) ...
1709s Selecting previously unselected package libglapi-mesa:armhf.
1710s Preparing to unpack .../11-libglapi-mesa_24.2.3-1ubuntu1_armhf.deb ...
1710s Unpacking libglapi-mesa:armhf (24.2.3-1ubuntu1) ...
1710s Selecting previously unselected package libllvm19:armhf.
1710s Preparing to unpack .../12-libllvm19_1%3a19.1.2-1ubuntu1_armhf.deb ...
1710s Unpacking libllvm19:armhf (1:19.1.2-1ubuntu1) ...
1710s Selecting previously unselected package libx11-xcb1:armhf.
1710s Preparing to unpack .../13-libx11-xcb1_2%3a1.8.10-2_armhf.deb ...
1710s Unpacking libx11-xcb1:armhf (2:1.8.10-2) ...
1710s Selecting previously unselected package libxcb-dri2-0:armhf.
1710s Preparing to unpack .../14-libxcb-dri2-0_1.17.0-2_armhf.deb ...
1710s Unpacking libxcb-dri2-0:armhf (1.17.0-2) ...
1710s Selecting previously unselected package libxcb-dri3-0:armhf.
1710s Preparing to unpack .../15-libxcb-dri3-0_1.17.0-2_armhf.deb ...
1710s Unpacking libxcb-dri3-0:armhf (1.17.0-2) ...
1710s Selecting previously unselected package libxcb-present0:armhf.
1711s Preparing to unpack .../16-libxcb-present0_1.17.0-2_armhf.deb ...
1711s Unpacking libxcb-present0:armhf (1.17.0-2) ...
1711s Selecting previously unselected package libxcb-sync1:armhf.
1711s Preparing to unpack .../17-libxcb-sync1_1.17.0-2_armhf.deb ...
1711s Unpacking libxcb-sync1:armhf (1.17.0-2) ...
1711s Selecting previously unselected package libxcb-xfixes0:armhf.
1711s Preparing to unpack .../18-libxcb-xfixes0_1.17.0-2_armhf.deb ...
1711s Unpacking libxcb-xfixes0:armhf (1.17.0-2) ...
1711s Selecting previously unselected package libxshmfence1:armhf.
1711s Preparing to unpack .../19-libxshmfence1_1.3-1build5_armhf.deb ...
1711s Unpacking libxshmfence1:armhf (1.3-1build5) ...
1711s Selecting previously unselected package mesa-libgallium:armhf.
1711s Preparing to unpack .../20-mesa-libgallium_24.2.3-1ubuntu1_armhf.deb ...
1711s Unpacking mesa-libgallium:armhf (24.2.3-1ubuntu1) ...
1711s Selecting previously unselected package libgbm1:armhf.
1711s Preparing to unpack .../21-libgbm1_24.2.3-1ubuntu1_armhf.deb ...
1711s Unpacking libgbm1:armhf (24.2.3-1ubuntu1) ...
1711s Selecting previously unselected package python3-packaging.
1711s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ...
1711s Unpacking python3-packaging (24.2-1) ...
1711s Selecting previously unselected package libgio-2.0-dev-bin.
1711s Preparing to unpack .../23-libgio-2.0-dev-bin_2.82.2-3_armhf.deb ...
1711s Unpacking libgio-2.0-dev-bin (2.82.2-3) ...
1711s Selecting previously unselected package libvulkan1:armhf.
1711s Preparing to unpack .../24-libvulkan1_1.3.296.0-1_armhf.deb ...
1711s Unpacking libvulkan1:armhf (1.3.296.0-1) ...
1711s Selecting previously unselected package libgl1-mesa-dri:armhf.
1711s Preparing to unpack .../25-libgl1-mesa-dri_24.2.3-1ubuntu1_armhf.deb ...
1711s Unpacking libgl1-mesa-dri:armhf (24.2.3-1ubuntu1) ...
1711s Selecting previously unselected package libglib2.0-dev-bin.
1711s Preparing to unpack .../26-libglib2.0-dev-bin_2.82.2-3_armhf.deb ...
1711s Unpacking libglib2.0-dev-bin (2.82.2-3) ...
1711s Selecting previously unselected package python3-dbusmock.
1711s Preparing to unpack .../27-python3-dbusmock_0.32.2-2_all.deb ...
1711s Unpacking python3-dbusmock (0.32.2-2) ...
1711s Selecting previously unselected package tzdata-legacy.
1711s Preparing to unpack .../28-tzdata-legacy_2024b-1ubuntu2_all.deb ...
1711s Unpacking tzdata-legacy (2024b-1ubuntu2) ...
1711s Selecting previously unselected package libglib2.0-tests.
1711s Preparing to unpack .../29-libglib2.0-tests_2.82.2-3_armhf.deb ...
1711s Unpacking libglib2.0-tests (2.82.2-3) ...
1711s Selecting previously unselected package libxcb-glx0:armhf.
1711s Preparing to unpack .../30-libxcb-glx0_1.17.0-2_armhf.deb ...
1711s Unpacking libxcb-glx0:armhf (1.17.0-2) ...
1711s Selecting previously unselected package libxcb-shm0:armhf.
1712s Preparing to unpack .../31-libxcb-shm0_1.17.0-2_armhf.deb ...
1712s Unpacking libxcb-shm0:armhf (1.17.0-2) ...
1712s Selecting previously unselected package libxfixes3:armhf.
1712s Preparing to unpack .../32-libxfixes3_1%3a6.0.0-2build1_armhf.deb ...
1712s Unpacking libxfixes3:armhf (1:6.0.0-2build1) ...
1712s Selecting previously unselected package libxxf86vm1:armhf.
1712s Preparing to unpack .../33-libxxf86vm1_1%3a1.1.4-1build4_armhf.deb ...
1712s Unpacking libxxf86vm1:armhf (1:1.1.4-1build4) ...
1712s Selecting previously unselected package libglx-mesa0:armhf.
1712s Preparing to unpack .../34-libglx-mesa0_24.2.3-1ubuntu1_armhf.deb ...
1712s Unpacking libglx-mesa0:armhf (24.2.3-1ubuntu1) ...
1712s Selecting previously unselected package x11-common.
1712s Preparing to unpack .../35-x11-common_1%3a7.7+23ubuntu3_all.deb ...
1712s Unpacking x11-common (1:7.7+23ubuntu3) ...
1712s Selecting previously unselected package libice6:armhf.
1712s Preparing to unpack .../36-libice6_2%3a1.1.1-1_armhf.deb ...
1712s Unpacking libice6:armhf (2:1.1.1-1) ...
1712s Selecting previously unselected package libpixman-1-0:armhf.
1712s Preparing to unpack .../37-libpixman-1-0_0.44.0-3_armhf.deb ...
1712s Unpacking libpixman-1-0:armhf (0.44.0-3) ...
1712s Selecting previously unselected package libsm6:armhf.
1712s Preparing to unpack .../38-libsm6_2%3a1.2.4-1_armhf.deb ...
1712s Unpacking libsm6:armhf (2:1.2.4-1) ...
1712s Selecting previously unselected package libxt6t64:armhf.
1712s Preparing to unpack .../39-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ...
1712s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ...
1712s Selecting previously unselected package libxmu6:armhf.
1712s Preparing to unpack .../40-libxmu6_2%3a1.1.3-3build2_armhf.deb ...
1712s Unpacking libxmu6:armhf (2:1.1.3-3build2) ...
1712s Selecting previously unselected package libxpm4:armhf.
1712s Preparing to unpack .../41-libxpm4_1%3a3.5.17-1build2_armhf.deb ...
1712s Unpacking libxpm4:armhf (1:3.5.17-1build2) ...
1712s Selecting previously unselected package libxaw7:armhf.
1712s Preparing to unpack .../42-libxaw7_2%3a1.0.16-1_armhf.deb ...
1712s Unpacking libxaw7:armhf (2:1.0.16-1) ...
1712s Selecting previously unselected package libxfont2:armhf.
1712s Preparing to unpack .../43-libxfont2_1%3a2.0.6-1build1_armhf.deb ...
1712s Unpacking libxfont2:armhf (1:2.0.6-1build1) ...
1712s Selecting previously unselected package libxkbfile1:armhf.
1712s Preparing to unpack .../44-libxkbfile1_1%3a1.1.0-1build4_armhf.deb ...
1712s Unpacking libxkbfile1:armhf (1:1.1.0-1build4) ...
1712s Selecting previously unselected package libxrender1:armhf.
1712s Preparing to unpack .../45-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ...
1712s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ...
1712s Selecting previously unselected package libxrandr2:armhf.
1712s Preparing to unpack .../46-libxrandr2_2%3a1.5.4-1_armhf.deb ...
1712s Unpacking libxrandr2:armhf (2:1.5.4-1) ...
1712s Selecting previously unselected package x11-xkb-utils.
1712s Preparing to unpack .../47-x11-xkb-utils_7.7+9_armhf.deb ...
1712s Unpacking x11-xkb-utils (7.7+9) ...
1712s Selecting previously unselected package xserver-common.
1712s Preparing to unpack .../48-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ...
1712s Unpacking xserver-common (2:21.1.14-2ubuntu1) ...
1712s Selecting previously unselected package libglvnd0:armhf.
1712s Preparing to unpack .../49-libglvnd0_1.7.0-1build1_armhf.deb ...
1712s Unpacking libglvnd0:armhf (1.7.0-1build1) ...
1712s Selecting previously unselected package libglx0:armhf.
1712s Preparing to unpack .../50-libglx0_1.7.0-1build1_armhf.deb ...
1712s Unpacking libglx0:armhf (1.7.0-1build1) ...
1712s Selecting previously unselected package libgl1:armhf.
1712s Preparing to unpack .../51-libgl1_1.7.0-1build1_armhf.deb ...
1712s Unpacking libgl1:armhf (1.7.0-1build1) ...
1712s Selecting previously unselected package xvfb.
1712s Preparing to unpack .../52-xvfb_2%3a21.1.14-2ubuntu1_armhf.deb ...
1712s Unpacking xvfb (2:21.1.14-2ubuntu1) ...
1712s Setting up gnome-desktop-testing (2021.1-4) ...
1712s Setting up libxcb-dri3-0:armhf (1.17.0-2) ...
1712s Setting up libpixman-1-0:armhf (0.44.0-3) ...
1712s Setting up libllvm19:armhf (1:19.1.2-1ubuntu1) ...
1712s Setting up libwayland-server0:armhf (1.23.0-1) ...
1712s Setting up libx11-xcb1:armhf (2:1.8.10-2) ...
1712s Setting up native-architecture (0.2.3) ...
1712s Setting up libxcb-xfixes0:armhf (1.17.0-2) ...
1712s Setting up desktop-file-utils (0.28-1) ...
1712s Setting up libxpm4:armhf (1:3.5.17-1build2) ...
1712s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ...
1712s Setting up libgirepository-2.0-0:armhf (2.82.2-3) ...
1712s Setting up libdrm-radeon1:armhf (2.4.123-1) ...
1712s Setting up libglvnd0:armhf (1.7.0-1build1) ...
1712s Setting up libxcb-glx0:armhf (1.17.0-2) ...
1712s Setting up x11-common (1:7.7+23ubuntu3) ...
1713s Setting up libxcb-shm0:armhf (1.17.0-2) ...
1713s Setting up python3-dbusmock (0.32.2-2) ...
1713s Setting up tzdata-legacy (2024b-1ubuntu2) ...
1713s Setting up libxxf86vm1:armhf (1:1.1.4-1build4) ...
1713s Setting up libxcb-present0:armhf (1.17.0-2) ...
1713s Setting up libfontenc1:armhf (1:1.1.8-1build1) ...
1713s Setting up python3-packaging (24.2-1) ...
1713s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ...
1713s Setting up libxfixes3:armhf (1:6.0.0-2build1) ...
1713s Setting up libxcb-sync1:armhf (1.17.0-2) ...
1713s Setting up libxrandr2:armhf (2:1.5.4-1) ...
1713s Setting up libglapi-mesa:armhf (24.2.3-1ubuntu1) ...
1713s Setting up libvulkan1:armhf (1.3.296.0-1) ...
1713s Setting up libxcb-dri2-0:armhf (1.17.0-2) ...
1713s Setting up libxshmfence1:armhf (1.3-1build5) ...
1713s Setting up dbus-x11 (1.14.10-4ubuntu5) ...
1713s Setting up libxcb-randr0:armhf (1.17.0-2) ...
1713s Setting up libxkbfile1:armhf (1:1.1.0-1build4) ...
1713s Setting up libxfont2:armhf (1:2.0.6-1build1) ...
1713s Setting up libice6:armhf (2:1.1.1-1) ...
1713s Setting up mesa-libgallium:armhf (24.2.3-1ubuntu1) ...
1713s Setting up libgio-2.0-dev-bin (2.82.2-3) ...
1713s Setting up girepository-tools:armhf (2.82.2-3) ...
1713s Setting up libgbm1:armhf (24.2.3-1ubuntu1) ...
1713s Setting up libgl1-mesa-dri:armhf (24.2.3-1ubuntu1) ...
1713s Setting up libsm6:armhf (2:1.2.4-1) ...
1713s Setting up libglib2.0-dev-bin (2.82.2-3) ...
1713s Setting up libglx-mesa0:armhf (24.2.3-1ubuntu1) ...
1713s Setting up libglx0:armhf (1.7.0-1build1) ...
1713s Setting up libgl1:armhf (1.7.0-1build1) ...
1713s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ...
1713s Setting up libglib2.0-tests (2.82.2-3) ...
1714s Setting up libxmu6:armhf (2:1.1.3-3build2) ...
1714s Setting up libxaw7:armhf (2:1.0.16-1) ...
1714s Setting up x11-xkb-utils (7.7+9) ...
1714s Setting up xserver-common (2:21.1.14-2ubuntu1) ...
1714s Setting up xvfb (2:21.1.14-2ubuntu1) ...
1714s Processing triggers for man-db (2.13.0-1) ...
1714s Processing triggers for libc-bin (2.40-1ubuntu3) ...
1734s autopkgtest [02:07:47]: test installed-tests: [-----------------------
1736s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd)
1736s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
1736s group entry: ubuntu:x:1000:
1736s Environment:
1736s ADTTMP=/tmp/autopkgtest.sgD5cM/autopkgtest_tmp
1736s ADT_ARTIFACTS=/tmp/autopkgtest.sgD5cM/installed-tests-artifacts
1736s ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1
1736s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.sgD5cM/installed-tests-artifacts
1736s AUTOPKGTEST_TESTBED_ARCH=armhf
1736s AUTOPKGTEST_TEST_ARCH=armhf
1736s AUTOPKGTEST_TMP=/tmp/autopkgtest.sgD5cM/autopkgtest_tmp
1736s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
1736s DEBIAN_FRONTEND=noninteractive
1736s DEB_BUILD_OPTIONS=parallel=8
1736s GIO_USE_VFS=local
1736s GIO_USE_VOLUME_MONITOR=unix
1736s HOME=/home/ubuntu
1736s LANG=C.UTF-8
1736s LOGNAME=ubuntu
1736s MAIL=/var/mail/ubuntu
1736s OLDPWD=/root
1736s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
1736s PWD=/tmp/autopkgtest.sgD5cM/build.suw/src
1736s SHELL=/bin/bash
1736s SHLVL=1
1736s USER=ubuntu
1736s XDG_RUNTIME_DIR=/tmp/autopkgtest.sgD5cM/autopkgtest_tmp
1736s XDG_SESSION_CLASS=background
1736s XDG_SESSION_ID=c1
1736s XDG_SESSION_TYPE=unspecified
1736s http_proxy=http://squid.internal:3128
1736s https_proxy=http://squid.internal:3128
1736s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com
1736s run-with-locales: de_DE=ISO-8859-1...
1736s Character set: ISO-8859-1
1736s Source file: de_DE
1736s Output: /tmp/tmp.NKZLK3uhK9/de_DE
1737s run-with-locales: de_DE.utf8...
1737s Character set: UTF-8
1737s Source file: de_DE
1737s Output: /tmp/tmp.NKZLK3uhK9/de_DE.utf8
1739s run-with-locales: de_DE@euro.utf8...
1739s Character set: UTF-8
1739s Source file: de_DE@euro
1739s Output: /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8
1740s run-with-locales: el_GR.utf8...
1740s Character set: UTF-8
1740s Source file: el_GR
1740s Output: /tmp/tmp.NKZLK3uhK9/el_GR.utf8
1742s run-with-locales: en_GB=ISO-8859-1...
1742s Character set: ISO-8859-1
1742s Source file: en_GB
1742s Output: /tmp/tmp.NKZLK3uhK9/en_GB
1743s run-with-locales: en_GB.utf8...
1743s Character set: UTF-8
1743s Source file: en_GB
1743s Output: /tmp/tmp.NKZLK3uhK9/en_GB.utf8
1744s run-with-locales: en_US=ISO-8859-1...
1744s Character set: ISO-8859-1
1744s Source file: en_US
1744s Output: /tmp/tmp.NKZLK3uhK9/en_US
1745s run-with-locales: en_US.utf8...
1745s Character set: UTF-8
1745s Source file: en_US
1745s Output: /tmp/tmp.NKZLK3uhK9/en_US.utf8
1750s run-with-locales: es_ES.utf8...
1750s Character set: UTF-8
1750s Source file: es_ES
1750s Output: /tmp/tmp.NKZLK3uhK9/es_ES.utf8
1752s run-with-locales: fa_IR=UTF-8...
1752s Character set: UTF-8
1752s Source file: fa_IR
1752s Output: /tmp/tmp.NKZLK3uhK9/fa_IR
1753s run-with-locales: fa_IR.utf8...
1753s Character set: UTF-8
1753s Source file: fa_IR
1753s Output: /tmp/tmp.NKZLK3uhK9/fa_IR.utf8
1755s run-with-locales: fr_FR.utf8...
1755s Character set: UTF-8
1755s Source file: fr_FR
1755s Output: /tmp/tmp.NKZLK3uhK9/fr_FR.utf8
1758s run-with-locales: hr_HR.utf8...
1758s Character set: UTF-8
1758s Source file: hr_HR
1758s Output: /tmp/tmp.NKZLK3uhK9/hr_HR.utf8
1759s run-with-locales: ja_JP.utf8...
1759s Character set: UTF-8
1759s Source file: ja_JP
1759s Output: /tmp/tmp.NKZLK3uhK9/ja_JP.utf8
1760s run-with-locales: ja_JP.EUC-JP...
1760s Character set: EUC-JP
1760s Source file: ja_JP
1760s Output: /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp
1761s run-with-locales: lt_LT.utf8...
1761s Character set: UTF-8
1761s Source file: lt_LT
1761s Output: /tmp/tmp.NKZLK3uhK9/lt_LT.utf8
1763s run-with-locales: pl_PL=ISO-8859-2...
1763s Character set: ISO-8859-2
1763s Source file: pl_PL
1763s Output: /tmp/tmp.NKZLK3uhK9/pl_PL
1763s run-with-locales: pl_PL.ISO-8859-2...
1763s Character set: ISO-8859-2
1763s Source file: pl_PL
1763s Output: /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592
1764s run-with-locales: pl_PL.utf8...
1764s Character set: UTF-8
1764s Source file: pl_PL
1764s Output: /tmp/tmp.NKZLK3uhK9/pl_PL.utf8
1765s run-with-locales: ru_RU=ISO-8859-5...
1765s Character set: ISO-8859-5
1765s Source file: ru_RU
1765s Output: /tmp/tmp.NKZLK3uhK9/ru_RU
1766s run-with-locales: ru_RU.utf8...
1766s Character set: UTF-8
1766s Source file: ru_RU
1766s Output: /tmp/tmp.NKZLK3uhK9/ru_RU.utf8
1768s run-with-locales: sr_RS=UTF-8...
1768s Character set: UTF-8
1768s Source file: sr_RS
1768s Output: /tmp/tmp.NKZLK3uhK9/sr_RS
1769s run-with-locales: sr_RS@latin=UTF-8...
1769s Character set: UTF-8
1769s Source file: sr_RS@latin
1769s Output: /tmp/tmp.NKZLK3uhK9/sr_RS@latin
1771s run-with-locales: sv_SE=ISO-8859-1...
1771s Character set: ISO-8859-1
1771s Source file: sv_SE
1771s Output: /tmp/tmp.NKZLK3uhK9/sv_SE
1771s run-with-locales: sv_SE.utf8...
1771s Character set: UTF-8
1771s Source file: sv_SE
1771s Output: /tmp/tmp.NKZLK3uhK9/sv_SE.utf8
1773s run-with-locales: tr_TR=ISO-8859-9...
1773s Character set: ISO-8859-9
1773s Source file: tr_TR
1773s Output: /tmp/tmp.NKZLK3uhK9/tr_TR
1774s run-with-locales: tr_TR.utf8...
1774s Character set: UTF-8
1774s Source file: tr_TR
1774s Output: /tmp/tmp.NKZLK3uhK9/tr_TR.utf8
1776s run-with-locales: tt_RU=UTF-8...
1776s Character set: UTF-8
1776s Source file: tt_RU
1776s Output: /tmp/tmp.NKZLK3uhK9/tt_RU
1777s run-with-locales: tt_RU.utf8...
1777s Character set: UTF-8
1777s Source file: tt_RU
1777s Output: /tmp/tmp.NKZLK3uhK9/tt_RU.utf8
1779s run-with-locales: tt_RU@iqtelif=UTF-8...
1779s Character set: UTF-8
1779s Source file: tt_RU@iqtelif
1779s Output: /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif
1781s /tmp/tmp.NKZLK3uhK9
1781s /tmp/tmp.NKZLK3uhK9/de_DE
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/de_DE/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/de_DE.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/de_DE@euro.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/el_GR.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/en_GB
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/en_GB/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/en_GB.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/en_US
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/en_US/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/en_US.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/es_ES.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/fa_IR
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/fa_IR/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/fa_IR.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/fr_FR.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/hr_HR.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/ja_JP.eucjp/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/lt_LT.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/pl_PL
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/pl_PL/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.iso88592/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/pl_PL.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/ru_RU
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/ru_RU/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/ru_RU.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/sr_RS
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/sr_RS/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/sr_RS@latin/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/sv_SE
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/sv_SE/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/sv_SE.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/tr_TR
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/tr_TR/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/tr_TR.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/tt_RU
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/tt_RU/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/tt_RU.utf8/LC_IDENTIFICATION
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_CTYPE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_NUMERIC
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_TIME
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_COLLATE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_MONETARY
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_PAPER
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_NAME
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_ADDRESS
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_TELEPHONE
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_MEASUREMENT
1781s /tmp/tmp.NKZLK3uhK9/tt_RU@iqtelif/LC_IDENTIFICATION
1781s 1..319
1781s # Running test: glib/sleepy-stream.test
1781s TAP version 14
1781s # random seed: R02Sb4e294496960286769f6fcef09e2f65b
1781s 1..2
1781s # Start of filter-stream tests
1781s ok 1 /filter-stream/input
1781s ok 2 /filter-stream/async
1781s # End of filter-stream tests
1781s ok - glib/sleepy-stream.test
1781s # Running test: glib/hostutils.test
1781s TAP version 14
1781s # random seed: R02Sb8d32827191f711dc071b0ef2a21df52
1781s 1..3
1781s # Start of hostutils tests
1781s ok 1 /hostutils/to_ascii
1781s ok 2 /hostutils/to_unicode
1781s ok 3 /hostutils/is_ip_addr
1781s # End of hostutils tests
1781s ok - glib/hostutils.test
1781s # Running test: glib/gdbus-subscribe.test
1781s TAP version 14
1781s # random seed: R02S410506ffddebec31673113dc521b1a2a
1781s 1..24
1781s # Start of gdbus tests
1781s # Start of subscribe tests
1781s # Start of conn tests
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/simple/.dirs/runtime
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it
1781s # Step 0: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 1: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 2: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 2
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 1 /gdbus/subscribe/conn/simple
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
1781s # Step 0: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: service 2
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 3: emitting signal
1781s # Sender: service
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 4: emitting signal
1781s # Sender: service 2
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 1
1781s # Signal received from service 2 :1.2
1781s # Signal received from service 2 :1.2 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 2
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 3
1781s # Signal received from service 2 :1.2
1781s # Signal received from service 2 :1.2 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/match_twice/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription
1781s # Step 0: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 1: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: (any)
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 2: adding subscription
1781s # Sender: (any)
1781s # Path: (any)
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 3: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 4: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 3 /gdbus/subscribe/conn/match_twice
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
1781s # Step 0: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 3: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 3
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 4 /gdbus/subscribe/conn/limit_by_unique_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
1781s # Step 0: adding subscription
1781s # Sender: :0.this.had.better.not.exist
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /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
1781s # Step 0: claiming bus name
1781s # Name: org.gtk.Test.AlreadyOwned
1781s # Owner: service
1781s # Step 1: adding subscription
1781s # Sender: org.gtk.Test.AlreadyOwned
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 2: adding subscription
1781s # Sender: org.gtk.Test.OwnedLater
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 3: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 4: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 5: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 6: claiming bus name
1781s # Name: org.gtk.Test.OwnedLater
1781s # Owner: service
1781s # Step 7: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 5
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 7
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 7
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
1781s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
1781s # Step 0: adding subscription
1781s # Sender: org.freedesktop.DBus
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # String argument 0: would I lie to you?
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # Waiting for signal to reach message bus
1781s # Step 3: claiming bus name
1781s # Name: org.gtk.Test.OwnedLater
1781s # Owner: service
1781s # Signal received from message bus org.freedesktop.DBus
1781s # Signal received from (unused) org.freedesktop.DBus via connection
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1781s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 7 /gdbus/subscribe/conn/limit_to_message_bus
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
1781s # Step 0: claiming bus name
1781s # Name: org.gtk.Test.AlreadyOwned
1781s # Owner: service
1781s # Step 1: adding subscription
1781s # Sender: org.gtk.Test.AlreadyOwned
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Immediately unsubscribing
1781s # Waiting for AddMatch to be processed
1781s # Step 2: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately
1781s # End of conn tests
1781s # Start of proxy tests
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/simple/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it
1781s # Step 0: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 1: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Cannot subscribe via proxy: no bus name
1781s # Waiting for AddMatch to be processed
1781s # Step 2: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 9 /gdbus/subscribe/proxy/simple
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
1781s # Step 0: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Cannot subscribe via proxy: no bus name
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: service 2
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 3: emitting signal
1781s # Sender: service
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 4: emitting signal
1781s # Sender: service 2
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/match_twice/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription
1781s # Step 0: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 1: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: (any)
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Cannot subscribe via proxy: no bus name
1781s # Waiting for AddMatch to be processed
1781s # Step 2: adding subscription
1781s # Sender: (any)
1781s # Path: (any)
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Cannot subscribe via proxy: no bus name
1781s # Waiting for AddMatch to be processed
1781s # Step 3: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 4: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 11 /gdbus/subscribe/proxy/match_twice
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
1781s # Step 0: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 3: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 3
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
1781s # Step 0: adding subscription
1781s # Sender: :0.this.had.better.not.exist
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /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
1781s # Step 0: claiming bus name
1781s # Name: org.gtk.Test.AlreadyOwned
1781s # Owner: service
1781s # Step 1: adding subscription
1781s # Sender: org.gtk.Test.AlreadyOwned
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 2: adding subscription
1781s # Sender: org.gtk.Test.OwnedLater
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 3: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 4: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 5: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 6: claiming bus name
1781s # Name: org.gtk.Test.OwnedLater
1781s # Owner: service
1781s # Step 7: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 5
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 7
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 7
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
1781s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
1781s # Step 0: adding subscription
1781s # Sender: org.freedesktop.DBus
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # String argument 0: would I lie to you?
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # Waiting for signal to reach message bus
1781s # Step 3: claiming bus name
1781s # Name: org.gtk.Test.OwnedLater
1781s # Owner: service
1781s # Signal received from message bus org.freedesktop.DBus
1781s # Signal received from (unused) org.freedesktop.DBus via proxy
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
1781s # Step 0: claiming bus name
1781s # Name: org.gtk.Test.AlreadyOwned
1781s # Owner: service
1781s # Step 1: adding subscription
1781s # Sender: org.gtk.Test.AlreadyOwned
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 2: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 2
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately
1781s # End of proxy tests
1781s # Start of parallel tests
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/simple/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it
1781s # Step 0: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 1: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Cannot subscribe via proxy: no bus name
1781s # Waiting for AddMatch to be processed
1781s # Step 2: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 2
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 17 /gdbus/subscribe/parallel/simple
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
1781s # Step 0: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Cannot subscribe via proxy: no bus name
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: service 2
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 3: emitting signal
1781s # Sender: service
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 4: emitting signal
1781s # Sender: service 2
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 1
1781s # Signal received from service 2 :1.2
1781s # Signal received from service 2 :1.2 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 2
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 3
1781s # Signal received from service 2 :1.2
1781s # Signal received from service 2 :1.2 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/match_twice/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription
1781s # Step 0: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 1: adding subscription
1781s # Sender: (any)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: (any)
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Cannot subscribe via proxy: no bus name
1781s # Waiting for AddMatch to be processed
1781s # Step 2: adding subscription
1781s # Sender: (any)
1781s # Path: (any)
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Cannot subscribe via proxy: no bus name
1781s # Waiting for AddMatch to be processed
1781s # Step 3: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 4: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 4
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
1781s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 19 /gdbus/subscribe/parallel/match_twice
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
1781s # Step 0: adding subscription
1781s # Sender: service :1.1
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 3: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 3
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 3
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
1781s # Step 0: adding subscription
1781s # Sender: :0.this.had.better.not.exist
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /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
1781s # Step 0: claiming bus name
1781s # Name: org.gtk.Test.AlreadyOwned
1781s # Owner: service
1781s # Step 1: adding subscription
1781s # Sender: org.gtk.Test.AlreadyOwned
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 2: adding subscription
1781s # Sender: org.gtk.Test.OwnedLater
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 3: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 4: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 5: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Step 6: claiming bus name
1781s # Name: org.gtk.Test.OwnedLater
1781s # Owner: service
1781s # Step 7: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 5
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 5
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 7
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 7
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via connection
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 7
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 7
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
1781s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
1781s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
1781s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
1781s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
1781s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
1781s # Step 0: adding subscription
1781s # Sender: org.freedesktop.DBus
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 1: emitting signal
1781s # Sender: attacker
1781s # Destination: (broadcast)
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # String argument 0: would I lie to you?
1781s # Waiting for signal to reach message bus
1781s # Step 2: emitting signal
1781s # Sender: attacker
1781s # Destination: subscriber :1.0
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # Waiting for signal to reach message bus
1781s # Step 3: claiming bus name
1781s # Name: org.gtk.Test.OwnedLater
1781s # Owner: service
1781s # Signal received from message bus org.freedesktop.DBus
1781s # Signal received from (unused) org.freedesktop.DBus via connection
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # Signal received from message bus org.freedesktop.DBus
1781s # Signal received from (unused) org.freedesktop.DBus via proxy
1781s # Path: /org/freedesktop/DBus
1781s # Interface: org.freedesktop.DBus
1781s # Member: NameOwnerChanged
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
1781s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
1781s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus
1781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state
1781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_97Z1X2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1781s # subscriber is :1.0
1781s # service is :1.1
1781s # service 2 is :1.2
1781s # attacker is :1.3
1781s # Waiting for AddMatch to be processed
1781s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
1781s # Step 0: claiming bus name
1781s # Name: org.gtk.Test.AlreadyOwned
1781s # Owner: service
1781s # Step 1: adding subscription
1781s # Sender: org.gtk.Test.AlreadyOwned
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: (any)
1781s # String argument 0: (any)
1781s # Flags: 0
1781s # Subscribing via connection
1781s # Immediately unsubscribing
1781s # Subscribing via proxy
1781s # Waiting for AddMatch to be processed
1781s # Step 2: emitting signal
1781s # Sender: service
1781s # Destination: (broadcast)
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Waiting for signal to reach message bus
1781s # Signal received from service :1.1
1781s # Signal received from service :1.1 via proxy
1781s # Path: /org/gtk/GDBus/ExampleInterface
1781s # Interface: org.gtk.GDBus.ExampleInterface
1781s # Member: Foo
1781s # Argument 0: (not a string)
1781s # Sent in step: 2
1781s # Received Finished signal from subscriber :1.0
1781s # Received Finished signal from service :1.1
1781s # Received Finished signal from service 2 :1.2
1781s # Received Finished signal from attacker :1.3
1781s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
1781s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
1781s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
1781s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1781s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately
1781s # End of parallel tests
1781s # End of subscribe tests
1781s # End of gdbus tests
1781s ok - glib/gdbus-subscribe.test
1781s # Running test: glib/spawn-test.test
1781s TAP version 14
1781s # random seed: R02S4234f4f9ccd4c62a82be988ea135ebbc
1781s 1..2
1781s # Start of spawn tests
1781s ok 1 /spawn/basics
1781s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16
1781s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open
1781s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed
1781s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open
1781s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed
1781s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open
1781s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed
1781s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open
1781s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed
1781s # Fetching GSpawn result output with stdin open, stdout open, stderr open
1781s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed
1781s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open
1781s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed
1781s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open
1781s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed
1781s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open
1781s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed
1781s # Fetching GSpawn result error output with stdin open, stdout open, stderr open
1781s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed
1781s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open
1781s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed
1781s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open
1781s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed
1781s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open
1781s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed
1781s # Fetching GSpawn result with stdin open, stdout open, stderr open
1781s # Fetching GSpawn result with stdin open, stdout open, stderr already closed
1781s # Fetching GSpawn result with stdin open, stdout already closed, stderr open
1781s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed
1781s # Fetching GSpawn result with stdin already closed, stdout open, stderr open
1781s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed
1781s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open
1781s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed
1781s ok 2 /spawn/stdio-overwrite
1781s # End of spawn tests
1781s ok - glib/spawn-test.test
1781s # Running test: glib/timer.test
1781s TAP version 14
1781s # random seed: R02Sf486cf1d08ca9ce8b0b75cb02b97bdd0
1781s 1..10
1781s # Start of timer tests
1781s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820)
1781s ok 2 /timer/stop
1781s ok 3 /timer/continue
1781s ok 4 /timer/reset
1781s ok 5 /timer/is_active
1781s # End of timer tests
1781s # Start of timeval tests
1781s ok 6 /timeval/add
1781s ok 7 /timeval/from-iso8601
1781s ok 8 /timeval/to-iso8601
1781s # Start of to-iso8601 tests
1781s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow.
1781s # End of to-iso8601 tests
1781s # End of timeval tests
1781s # Start of usleep tests
1781s ok 10 /usleep/with-zero-wait
1781s # End of usleep tests
1781s ok - glib/timer.test
1781s # Running test: glib/testing.test
1781s TAP version 14
1781s # random seed: R02S9e3f702aedec5389469b0c74adb2dd87
1781s 1..1
1781s # Start of assert tests
1781s ok 1 /assert/finalize_object
1781s # Start of finalize_object tests
1781s # Start of subprocess tests
1781s # End of subprocess tests
1781s # End of finalize_object tests
1781s # End of assert tests
1781s ok - glib/testing.test
1781s # Running test: glib/convert.test
1781s TAP version 14
1781s # random seed: R02S9149dbb3e4226ef3f2891b4a7ab168eb
1781s 1..14
1781s # Start of conversion tests
1781s ok 1 /conversion/no-conv
1781s ok 2 /conversion/iconv-state
1781s ok 3 /conversion/illegal-sequence
1781s ok 4 /conversion/byte-order
1781s ok 5 /conversion/unicode
1781s ok 6 /conversion/filename-utf8
1781s ok 7 /conversion/filename-display
1781s ok 8 /conversion/convert-embedded-nul
1781s # Start of locale-to-utf8 tests
1781s ok 9 /conversion/locale-to-utf8/embedded-nul
1781s # Start of embedded-nul tests
1781s # Start of subprocess tests
1781s # End of subprocess tests
1781s # End of embedded-nul tests
1781s # End of locale-to-utf8 tests
1781s # Start of locale-from-utf8 tests
1781s ok 10 /conversion/locale-from-utf8/embedded-nul
1781s # Start of embedded-nul tests
1781s # Start of subprocess tests
1781s # End of subprocess tests
1781s # End of embedded-nul tests
1781s # End of locale-from-utf8 tests
1781s # Start of filename-to-utf8 tests
1781s ok 11 /conversion/filename-to-utf8/embedded-nul
1781s # Start of embedded-nul tests
1781s # Start of subprocess tests
1781s # End of subprocess tests
1781s # End of embedded-nul tests
1781s # End of filename-to-utf8 tests
1781s # Start of filename-from-utf8 tests
1781s ok 12 /conversion/filename-from-utf8/embedded-nul
1781s # Start of embedded-nul tests
1781s # Start of subprocess tests
1781s # End of subprocess tests
1781s # End of embedded-nul tests
1781s # End of filename-from-utf8 tests
1781s # Start of filename-from-uri tests
1781s ok 13 /conversion/filename-from-uri/query-is-ignored
1781s ok 14 /conversion/filename-from-uri/fragment-is-ignored
1781s # End of filename-from-uri tests
1781s # End of conversion tests
1781s ok - glib/convert.test
1781s # Running test: glib/onceinit.test
1781s TAP version 14
1781s # random seed: R02Sfef8db93d7da7cf4c8155fc330e8cad4
1781s 1..1
1781s # Start of thread tests
1781s ok 1 /thread/onceinit
1781s # End of thread tests
1781s ok - glib/onceinit.test
1781s # Running test: glib/properties-refcount1.test
1781s TAP version 14
1781s # random seed: R02Sb6386a1ef2a980c9d280676c874062f6
1781s 1..1
1781s # Start of gobject tests
1781s # Start of refcount tests
1781s # .e
1781s # .d
1781s # .c
1781s # .f
1781s # .b
1781s # .e
1781s # .d
1781s # .c
1781s # .f
1781s # .b
1782s # .e
1782s # .d
1782s # .c
1782s # .f
1782s # .b
1782s # .e
1782s # .d
1782s # .c
1782s # .f
1782s # .b
1782s # .e
1782s # .d
1782s # .c
1782s # .f
1782s # .b
1782s # .e
1782s # .d
1782s # .c
1782s # .f
1782s # .e
1782s # .b
1782s # .d
1782s # .c
1782s # .f
1782s # .e
1782s # .d
1782s # .b
1782s # .c
1782s # .e
1782s # .f
1782s # .d
1782s # .c
1782s # .b
1782s # .e
1782s # .f
1782s # .d
1783s # .c
1783s # .b
1783s # .e
1783s # .d
1783s # .f
1783s # .c
1783s # .b
1783s # .e
1783s # .d
1783s # .f
1783s # .c
1783s # .b
1783s # .e
1783s # .d
1783s # .f
1783s # .c
1783s # .e
1783s # .b
1783s # .d
1783s # .f
1783s # .c
1783s # .e
1783s # .d
1783s # .b
1783s # .c
1783s # .f
1783s # .e
1783s # .d
1783s # .b
1783s # .c
1783s # .f
1783s # .e
1783s # .d
1783s # .b
1783s # .c
1783s # .f
1783s # .e
1783s # .d
1783s # .c
1783s # .b
1783s # .e
1783s # .f
1784s # .d
1784s # .c
1784s # .e
1784s # .b
1784s # .f
1784s # .d
1784s # .c
1784s # .e
1784s # .b
1784s # .f
1784s # .d
1784s # .c
1784s # .e
1784s # .b
1784s # .d
1784s # .f
1784s # .c
1784s # .e
1784s # .d
1784s # .b
1784s # .f
1784s # .c
1784s # .e
1784s # .d
1784s # .b
1784s # .c
1784s ok 1 /gobject/refcount/properties-1
1784s # slow test /gobject/refcount/properties-1 executed in 3.00 secs
1784s # End of refcount tests
1784s # End of gobject tests
1784s ok - glib/properties-refcount1.test
1784s # Running test: glib/asyncqueue.test
1784s TAP version 14
1784s # random seed: R02S62bf3b10611a2672be79996568c3765a
1784s 1..7
1784s # Start of asyncqueue tests
1784s ok 1 /asyncqueue/basics
1784s ok 2 /asyncqueue/sort
1784s ok 3 /asyncqueue/destroy
1784s ok 4 /asyncqueue/threads
1785s ok 5 /asyncqueue/timed
1785s ok 6 /asyncqueue/remove
1785s ok 7 /asyncqueue/push_front
1785s # End of asyncqueue tests
1785s ok - glib/asyncqueue.test
1785s # Running test: glib/gdbus-method-invocation.test
1785s TAP version 14
1785s # random seed: R02S4f8ad3fc22bcac4cd304ca6c1b9b7138
1785s 1..1
1785s # Start of gdbus tests
1785s # Start of method-invocation tests
1785s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/home
1785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/cache
1785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/system-config2
1785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/config
1785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/system-data2
1785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/data
1785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/state
1785s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_P4C7X2/gdbus/method-invocation/return/.dirs/runtime
1785s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways
1785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1785s # Calling org.freedesktop.DBus.Properties.Get
1785s # Calling org.freedesktop.DBus.Properties.Get
1785s # Calling org.freedesktop.DBus.Properties.Get
1785s # Calling org.freedesktop.DBus.Properties.Set
1785s # Calling org.freedesktop.DBus.Properties.GetAll
1785s # Calling org.example.Foo.WrongReturnType
1785s # Calling org.example.Foo.GetFDs
1785s # Calling org.example.Foo.GetFDs
1785s # Calling org.example.Foo.ReturnError
1785s # Calling org.example.Foo.CloseBeforeReturning
1785s ok 1 /gdbus/method-invocation/return
1785s # End of method-invocation tests
1785s # End of gdbus tests
1785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1785s ok - glib/gdbus-method-invocation.test
1785s # Running test: glib/volumemonitor.test
1785s TAP version 14
1785s # random seed: R02Sa6da7d41c53481db072e2e7c6e3fb9e4
1785s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1785s 1..3
1785s # Start of volumemonitor tests
1785s ok 1 /volumemonitor/connected_drives
1785s ok 2 /volumemonitor/volumes
1785s ok 3 /volumemonitor/mounts
1785s # End of volumemonitor tests
1785s ok - glib/volumemonitor.test
1785s # Running test: glib/markup-escape.test
1785s TAP version 14
1785s # random seed: R02S9b8298b1c0f2326f9ee5cf35ff517c55
1785s 1..41
1785s # Start of markup tests
1785s ok 1 /markup/format
1785s # Start of escape-text tests
1785s ok 2 /markup/escape-text/0
1785s ok 3 /markup/escape-text/1
1785s ok 4 /markup/escape-text/2
1785s ok 5 /markup/escape-text/3
1785s ok 6 /markup/escape-text/4
1785s ok 7 /markup/escape-text/5
1785s ok 8 /markup/escape-text/6
1785s ok 9 /markup/escape-text/7
1785s ok 10 /markup/escape-text/8
1785s ok 11 /markup/escape-text/9
1785s ok 12 /markup/escape-text/10
1785s ok 13 /markup/escape-text/11
1785s ok 14 /markup/escape-text/12
1785s ok 15 /markup/escape-text/13
1785s ok 16 /markup/escape-text/14
1785s ok 17 /markup/escape-text/15
1785s ok 18 /markup/escape-text/16
1785s ok 19 /markup/escape-text/17
1785s ok 20 /markup/escape-text/18
1785s ok 21 /markup/escape-text/19
1785s ok 22 /markup/escape-text/20
1785s ok 23 /markup/escape-text/21
1785s ok 24 /markup/escape-text/22
1785s # End of escape-text tests
1785s # Start of escape-unichar tests
1785s ok 25 /markup/escape-unichar/0
1785s ok 26 /markup/escape-unichar/1
1785s ok 27 /markup/escape-unichar/2
1785s ok 28 /markup/escape-unichar/3
1785s ok 29 /markup/escape-unichar/4
1785s ok 30 /markup/escape-unichar/5
1785s ok 31 /markup/escape-unichar/6
1785s ok 32 /markup/escape-unichar/7
1785s ok 33 /markup/escape-unichar/8
1785s ok 34 /markup/escape-unichar/9
1785s ok 35 /markup/escape-unichar/10
1785s ok 36 /markup/escape-unichar/11
1785s ok 37 /markup/escape-unichar/12
1785s ok 38 /markup/escape-unichar/13
1785s ok 39 /markup/escape-unichar/14
1785s ok 40 /markup/escape-unichar/15
1785s ok 41 /markup/escape-unichar/16
1785s # End of escape-unichar tests
1785s # End of markup tests
1785s ok - glib/markup-escape.test
1785s # Running test: glib/timeout.test
1785s TAP version 14
1785s # random seed: R02S7fffdb4ac0043cc44bad0b804092dce2
1785s 1..5
1785s # Start of timeout tests
1785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1786s # Executing: glib/timeout.test
1787s ok 1 /timeout/seconds
1787s # slow test /timeout/seconds executed in 2.10 secs
1789s ok 2 /timeout/seconds-once
1789s # slow test /timeout/seconds-once executed in 2.10 secs
1789s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1791s ok 3 /timeout/weeks-overflow
1791s # slow test /timeout/weeks-overflow executed in 2.10 secs
1791s ok 4 /timeout/far-future-ready-time
1791s ok 5 /timeout/rounding # SKIP Not reliable on older ARM hardware
1791s # End of timeout tests
1791s ok - glib/timeout.test
1791s # Running test: glib/closure.test
1791s TAP version 14
1791s # random seed: R02S81a41ea57bc828cf31337966a1888a33
1791s 1..6
1791s # Start of closure tests
1791s ok 1 /closure/idle
1791s ok 2 /closure/timeout
1791s ok 3 /closure/iochannel
1791s ok 4 /closure/child
1791s ok 5 /closure/fd
1791s ok 6 /closure/signal
1791s # End of closure tests
1791s ok - glib/closure.test
1791s # Running test: glib/queue.test
1791s TAP version 14
1791s # random seed: R02S8a6d3d02316cdbf83bc86d16a81f70c5
1791s 1..12
1791s # Start of queue tests
1791s ok 1 /queue/basic
1791s ok 2 /queue/copy
1791s ok 3 /queue/off-by-one
1791s ok 4 /queue/find-custom
1791s ok 5 /queue/static
1791s ok 6 /queue/clear
1791s ok 7 /queue/free-full
1791s ok 8 /queue/clear-full
1791s ok 9 /queue/insert-sibling-link
1791s ok 10 /queue/push-nth-link
1791s # Start of clear-full tests
1791s ok 11 /queue/clear-full/noop
1791s # End of clear-full tests
1791s # Start of random tests
1791s ok 12 /queue/random/seed:610610064
1791s # End of random tests
1791s # End of queue tests
1791s ok - glib/queue.test
1791s # Running test: glib/enums.test
1791s TAP version 14
1791s # random seed: R02Sd2335b634a93e187901d6ce0600f65f0
1791s 1..4
1791s # Start of enum tests
1791s ok 1 /enum/basic
1791s ok 2 /enum/define-type
1791s # End of enum tests
1791s # Start of flags tests
1791s ok 3 /flags/basic
1791s ok 4 /flags/define-type
1791s # End of flags tests
1791s ok - glib/enums.test
1791s # Running test: glib/gdbus-names.test
1791s TAP version 14
1791s # random seed: R02S8506181206c4a1b006b2d4ced3bbc095
1791s 1..10
1791s # Start of gdbus tests
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/validate-names/.dirs/runtime
1791s ok 1 /gdbus/validate-names
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-own-name/.dirs/runtime
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s ok 2 /gdbus/bus-own-name
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name/.dirs/runtime
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s ok 3 /gdbus/bus-watch-name
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start/.dirs/runtime
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s ok 4 /gdbus/bus-watch-name-auto-start
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1791s dbus-daemon[1640]: [session uid=1000 pid=1640] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=1631 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined")
1791s # Acquired a message bus connection
1791s dbus-daemon[1640]: [session uid=1000 pid=1640] Successfully activated service 'org.gtk.GDBus.FakeService'
1791s # Acquired the name org.gtk.GDBus.FakeService
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s ok 5 /gdbus/bus-watch-name-auto-start-service-exist
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures/.dirs/runtime
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s ok 6 /gdbus/bus-watch-name-closures
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s ok 7 /gdbus/bus-watch-name-closures-auto-start
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-watch-different-context/.dirs/runtime
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s ok 8 /gdbus/bus-watch-different-context
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/bus-unwatch-early/.dirs/runtime
1791s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1791s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1791s ok 9 /gdbus/bus-unwatch-early
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_HS2UX2/gdbus/escape-object-path/.dirs/runtime
1791s ok 10 /gdbus/escape-object-path
1791s # End of gdbus tests
1791s ok - glib/gdbus-names.test
1791s # Running test: glib/gdbus-sasl.test
1791s TAP version 14
1791s # random seed: R02S83ffb4fc5c9b471c1eb4b9972a6a247b
1791s 1..1
1791s # Start of gdbus tests
1791s # Start of sasl tests
1791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/home
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/cache
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/system-config2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/config
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/system-data2
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/data
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/state
1791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_MXJTX2/gdbus/sasl/server/.dirs/runtime
1791s # New handshake: EXTERNAL with incorrect initial response
1791s # C:“AUTH EXTERNAL 30â€
1791s # Expect: /^REJECTED.*$/
1791s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1â€
1791s # New handshake: EXTERNAL without initial response, failing to authenticate
1791s # C:“AUTH EXTERNALâ€
1791s # Expect: /^DATA$/
1791s # S:“DATAâ€
1791s # C:“DATA 30â€
1791s # Expect: /^REJECTED.*$/
1791s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1â€
1791s # New handshake: EXTERNAL with initial response
1791s # C:“AUTH EXTERNAL 31303030â€
1791s # Expect: /^OK [0-9a-f]+$/
1791s # S:“OK 4d6c3a0e93b30f474ba475fa674fb9acâ€
1791s # New handshake: EXTERNAL without initial response
1791s # C:“AUTH EXTERNALâ€
1791s # Expect: /^DATA$/
1791s # S:“DATAâ€
1791s # C:“DATA 31303030â€
1791s # Expect: /^OK [0-9a-f]+$/
1791s # S:“OK 4d6c3a0e93b30f474ba475fa674fb9acâ€
1791s # New handshake: EXTERNAL with empty authorization identity
1791s # C:“AUTH EXTERNALâ€
1791s # Expect: /^DATA$/
1791s # S:“DATAâ€
1791s # C:“DATAâ€
1791s # Expect: /^OK [0-9a-f]+$/
1791s # S:“OK 4d6c3a0e93b30f474ba475fa674fb9acâ€
1791s # New handshake: EXTERNAL with empty authorization identity and whitespace
1791s # C:“AUTH EXTERNALâ€
1791s # Expect: /^DATA$/
1791s # S:“DATAâ€
1791s # C:“DATA â€
1791s # Expect: /^OK [0-9a-f]+$/
1791s # S:“OK 4d6c3a0e93b30f474ba475fa674fb9acâ€
1791s ok 1 /gdbus/sasl/server
1791s # End of sasl tests
1791s # End of gdbus tests
1791s ok - glib/gdbus-sasl.test
1791s # Running test: glib/signal-handler.test
1791s TAP version 14
1791s # random seed: R02Sca9d3f20540a126848e8b3fbf536d1ae
1791s 1..7
1791s # Start of signal tests
1791s # Start of handler tests
1791s # min perf: connected 1 handlers in 0.000 seconds
1791s ok 1 /signal/handler/connect-many
1791s # min perf: disconnected 1 handlers in 0.000 seconds
1791s ok 2 /signal/handler/disconnect-many-ordered
1791s # min perf: disconnected 1 handlers in 0.000 seconds
1791s ok 3 /signal/handler/disconnect-many-inverse
1791s # min perf: disconnected 1 handlers in 0.000 seconds
1791s ok 4 /signal/handler/disconnect-many-random
1791s # min perf: disconnected 1 handlers in 0.000 seconds
1791s ok 5 /signal/handler/disconnect-2-signals
1791s # min perf: disconnected 1 handlers in 0.000 seconds
1791s ok 6 /signal/handler/disconnect-2-objects
1791s # min perf: blocked and unblocked 1 handlers in 0.000 seconds
1791s ok 7 /signal/handler/block-many
1791s # End of handler tests
1791s # End of signal tests
1791s ok - glib/signal-handler.test
1791s # Running test: glib/task.test
1791s TAP version 14
1791s # random seed: R02S2c7e99d3539a4d161c78a0ecbf65a9bf
1791s 1..36
1791s # Start of gtask tests
1791s ok 1 /gtask/basic
1791s ok 2 /gtask/error
1791s ok 3 /gtask/error-literal
1791s ok 4 /gtask/error-literal-from-variable
1791s ok 5 /gtask/return-from-same-iteration
1791s ok 6 /gtask/return-from-toplevel
1791s ok 7 /gtask/return-from-anon-thread
1791s ok 8 /gtask/return-from-wrong-thread
1791s ok 9 /gtask/no-callback
1791s ok 10 /gtask/report-error
1791s ok 11 /gtask/priority
1791s ok 12 /gtask/name
1791s ok 13 /gtask/static-name
1791s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608
1791s # Executing: glib/task.test
1791s ok 14 /gtask/asynchronous-cancellation
1791s ok 15 /gtask/check-cancellable
1791s ok 16 /gtask/return-if-cancelled
1791s ok 17 /gtask/run-in-thread
1791s ok 18 /gtask/run-in-thread-sync
1791s ok 19 /gtask/run-in-thread-priority
1792s ok 20 /gtask/run-in-thread-nested
1792s ok 21 /gtask/run-in-thread-overflow
1792s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs
1792s # GLib-GIO-DEBUG: GTask 0x5607408 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1792s ok 22 /gtask/return-on-cancel
1792s # GLib-GIO-DEBUG: GTask 0x56079b8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1792s # GLib-GIO-DEBUG: GTask 0x56089e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1792s ok 23 /gtask/return-on-cancel-sync
1792s # GLib-GIO-DEBUG: GTask 0x56087f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1792s ok 24 /gtask/return-on-cancel-atomic
1792s ok 25 /gtask/return-pointer
1792s ok 26 /gtask/return-value
1792s ok 27 /gtask/return-prefixed-error
1792s ok 28 /gtask/object-keepalive
1792s ok 29 /gtask/legacy-error
1792s ok 30 /gtask/finalize-without-return
1792s # Start of name tests
1792s ok 31 /gtask/name/macro-wrapper
1792s # End of name tests
1792s # Start of return tests
1792s ok 32 /gtask/return/error-first
1792s ok 33 /gtask/return/value-first
1792s # Start of in-idle tests
1792s ok 34 /gtask/return/in-idle/error-first
1792s ok 35 /gtask/return/in-idle/value-first
1792s # End of in-idle tests
1792s # End of return tests
1792s # Start of attach-source tests
1792s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset
1792s ok 36 /gtask/attach-source/set-name
1792s # End of attach-source tests
1792s # End of gtask tests
1792s ok - glib/task.test
1792s # Running test: glib/credentials.test
1792s TAP version 14
1792s # random seed: R02S313de0dbbfd05a6a2381971a2e324df1
1792s 1..1
1792s # Start of credentials tests
1792s # GCredentials:linux-ucred:pid=1698,uid=1000,gid=1000
1792s # GCredentials:linux-ucred:pid=1698,uid=0,gid=1000
1792s ok 1 /credentials/basic
1792s # End of credentials tests
1792s ok - glib/credentials.test
1792s # Running test: glib/type-flags.test
1792s TAP version 14
1792s # random seed: R02Sf32745c8f099bda30dc134bdbaf63b3d
1792s 1..4
1792s # Start of type tests
1792s # Start of flags tests
1792s ok 1 /type/flags/interface
1792s ok 2 /type/flags/final
1792s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning.
1792s ok 3 /type/flags/deprecated
1792s # Start of final tests
1792s ok 4 /type/flags/final/instance-check
1792s # End of final tests
1792s # End of flags tests
1792s # End of type tests
1792s ok - glib/type-flags.test
1792s # Running test: glib/gdbus-close-pending.test
1792s TAP version 14
1792s # random seed: R02Sc682fc9fbdab984aabc6a6219f6bb86e
1792s 1..2
1792s # Start of gdbus tests
1792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/home
1792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/cache
1792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/system-config2
1792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/config
1792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/system-data2
1792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/data
1792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/state
1792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/close-pending/.dirs/runtime
1793s ok 1 /gdbus/close-pending
1793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/home
1793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/cache
1793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/system-config2
1793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/config
1793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/system-data2
1793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/data
1793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/state
1793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_9LTTX2/gdbus/unref-pending/.dirs/runtime
1793s ok 2 /gdbus/unref-pending
1793s # End of gdbus tests
1793s ok - glib/gdbus-close-pending.test
1793s # Running test: glib/contexts.test
1793s TAP version 14
1793s # random seed: R02Scb378b11e054d568d2c3f338d8cd2f81
1793s 1..5
1793s # Start of gio tests
1793s # Start of contexts tests
1793s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1793s ok 1 /gio/contexts/thread-independence
1793s ok 2 /gio/contexts/context-independence
1793s # Start of context-specific tests
1793s ok 3 /gio/contexts/context-specific/identity
1793s ok 4 /gio/contexts/context-specific/emit
1793s ok 5 /gio/contexts/context-specific/emit-and-unref
1793s # End of context-specific tests
1793s # End of contexts tests
1793s # End of gio tests
1793s ok - glib/contexts.test
1793s # Running test: glib/slice.test
1793s TAP version 14
1793s # random seed: R02S7cacc4552a653a1662f792a592dd88ef
1793s 1..3
1793s # Start of slice tests
1793s ok 1 /slice/copy
1793s ok 2 /slice/chain
1793s ok 3 /slice/allocate
1793s # End of slice tests
1793s ok - glib/slice.test
1793s # Running test: glib/markup-parse.test
1793s TAP version 14
1793s # random seed: R02Sbd3c9a46f5541da080dbc835d71c9ba6
1793s 1..71
1793s # Start of markup tests
1793s # Start of parse tests
1793s ok 1 /markup/parse/fail-1.gmarkup
1793s ok 2 /markup/parse/fail-10.gmarkup
1793s ok 3 /markup/parse/fail-11.gmarkup
1793s ok 4 /markup/parse/fail-12.gmarkup
1793s ok 5 /markup/parse/fail-13.gmarkup
1793s ok 6 /markup/parse/fail-14.gmarkup
1793s ok 7 /markup/parse/fail-15.gmarkup
1793s ok 8 /markup/parse/fail-16.gmarkup
1793s ok 9 /markup/parse/fail-17.gmarkup
1793s ok 10 /markup/parse/fail-18.gmarkup
1793s ok 11 /markup/parse/fail-19.gmarkup
1793s ok 12 /markup/parse/fail-2.gmarkup
1793s ok 13 /markup/parse/fail-20.gmarkup
1793s ok 14 /markup/parse/fail-21.gmarkup
1793s ok 15 /markup/parse/fail-22.gmarkup
1793s ok 16 /markup/parse/fail-23.gmarkup
1793s ok 17 /markup/parse/fail-24.gmarkup
1793s ok 18 /markup/parse/fail-25.gmarkup
1793s ok 19 /markup/parse/fail-26.gmarkup
1793s ok 20 /markup/parse/fail-27.gmarkup
1793s ok 21 /markup/parse/fail-28.gmarkup
1793s ok 22 /markup/parse/fail-29.gmarkup
1793s ok 23 /markup/parse/fail-3.gmarkup
1793s ok 24 /markup/parse/fail-30.gmarkup
1793s ok 25 /markup/parse/fail-31.gmarkup
1793s ok 26 /markup/parse/fail-32.gmarkup
1793s ok 27 /markup/parse/fail-33.gmarkup
1793s ok 28 /markup/parse/fail-34.gmarkup
1793s ok 29 /markup/parse/fail-35.gmarkup
1793s ok 30 /markup/parse/fail-36.gmarkup
1793s ok 31 /markup/parse/fail-37.gmarkup
1793s ok 32 /markup/parse/fail-38.gmarkup
1793s ok 33 /markup/parse/fail-39.gmarkup
1793s ok 34 /markup/parse/fail-4.gmarkup
1793s ok 35 /markup/parse/fail-40.gmarkup
1793s ok 36 /markup/parse/fail-41.gmarkup
1793s ok 37 /markup/parse/fail-42.gmarkup
1793s ok 38 /markup/parse/fail-43.gmarkup
1793s ok 39 /markup/parse/fail-44.gmarkup
1793s ok 40 /markup/parse/fail-45.gmarkup
1793s ok 41 /markup/parse/fail-46.gmarkup
1793s ok 42 /markup/parse/fail-47.gmarkup
1793s ok 43 /markup/parse/fail-48.gmarkup
1793s ok 44 /markup/parse/fail-49.gmarkup
1793s ok 45 /markup/parse/fail-5.gmarkup
1793s ok 46 /markup/parse/fail-50.gmarkup
1793s ok 47 /markup/parse/fail-51.gmarkup
1793s ok 48 /markup/parse/fail-52.gmarkup
1793s ok 49 /markup/parse/fail-53.gmarkup
1793s ok 50 /markup/parse/fail-54.gmarkup
1793s ok 51 /markup/parse/fail-6.gmarkup
1793s ok 52 /markup/parse/fail-7.gmarkup
1793s ok 53 /markup/parse/fail-8.gmarkup
1793s ok 54 /markup/parse/fail-9.gmarkup
1793s ok 55 /markup/parse/valid-1.gmarkup
1793s ok 56 /markup/parse/valid-10.gmarkup
1793s ok 57 /markup/parse/valid-11.gmarkup
1793s ok 58 /markup/parse/valid-12.gmarkup
1793s ok 59 /markup/parse/valid-13.gmarkup
1793s ok 60 /markup/parse/valid-14.gmarkup
1793s ok 61 /markup/parse/valid-15.gmarkup
1793s ok 62 /markup/parse/valid-16.gmarkup
1793s ok 63 /markup/parse/valid-17.gmarkup
1793s ok 64 /markup/parse/valid-2.gmarkup
1793s ok 65 /markup/parse/valid-3.gmarkup
1793s ok 66 /markup/parse/valid-4.gmarkup
1793s ok 67 /markup/parse/valid-5.gmarkup
1793s ok 68 /markup/parse/valid-6.gmarkup
1793s ok 69 /markup/parse/valid-7.gmarkup
1793s ok 70 /markup/parse/valid-8.gmarkup
1793s ok 71 /markup/parse/valid-9.gmarkup
1793s # End of parse tests
1793s # End of markup tests
1793s ok - glib/markup-parse.test
1793s # Running test: glib/search-utils.test
1793s TAP version 14
1793s # random seed: R02S70ecd353e0ef3e38209635c594e19f57
1793s # GLib-DEBUG: Current user locale: C.UTF-8
1793s 1..6
1793s # Start of search tests
1793s # GLib-DEBUG: Started
1793s # GLib-DEBUG: 'he' - 'Hello World' should match: OK
1793s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK
1793s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK
1793s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK
1793s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK
1793s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK
1793s ok 1 /search/basic
1793s # GLib-DEBUG: Started
1793s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
1793s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK
1793s # GLib-DEBUG: 'ele' - 'élève' should match: OK
1793s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK
1793s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK
1793s ok 2 /search/composed
1793s # GLib-DEBUG: Started
1793s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK
1793s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
1793s ok 3 /search/decomposed
1793s # GLib-DEBUG: Started
1793s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK
1793s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK
1793s ok 4 /search/turkish
1793s # GLib-DEBUG: Started
1793s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK
1793s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK
1793s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK
1793s ok 5 /search/c_locale_unicode
1793s # GLib-DEBUG: Started
1793s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK
1793s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK
1793s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK
1793s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK
1793s ok 6 /search/multi_words
1793s # End of search tests
1793s ok - glib/search-utils.test
1793s # Running test: glib/sequence.test
1793s TAP version 14
1793s # random seed: R02S75b9a47ca3b09a3acbb739503ac486d4
1793s 1..16
1793s # Start of sequence tests
1793s ok 1 /sequence/out-of-range-jump
1793s ok 2 /sequence/iter-move
1794s ok 3 /sequence/insert-sorted-non-pointer
1794s ok 4 /sequence/stable-sort
1794s ok 5 /sequence/is_empty
1794s # Start of random tests
1794s ok 6 /sequence/random/seed:825541564
1794s # slow test /sequence/random/seed:825541564 executed in 0.62 secs
1795s ok 7 /sequence/random/seed:801678400
1795s # slow test /sequence/random/seed:801678400 executed in 0.59 secs
1795s ok 8 /sequence/random/seed:1477639090
1795s # slow test /sequence/random/seed:1477639090 executed in 0.61 secs
1796s ok 9 /sequence/random/seed:3369132895
1796s # slow test /sequence/random/seed:3369132895 executed in 0.57 secs
1796s # Executing: glib/sequence.test
1797s ok 10 /sequence/random/seed:1192944867
1797s # slow test /sequence/random/seed:1192944867 executed in 0.59 secs
1797s ok 11 /sequence/random/seed:770458294
1797s # slow test /sequence/random/seed:770458294 executed in 0.62 secs
1798s ok 12 /sequence/random/seed:1099575817
1798s # slow test /sequence/random/seed:1099575817 executed in 0.59 secs
1798s ok 13 /sequence/random/seed:590523467
1798s # slow test /sequence/random/seed:590523467 executed in 0.61 secs
1799s ok 14 /sequence/random/seed:3583571454
1799s # slow test /sequence/random/seed:3583571454 executed in 0.62 secs
1800s ok 15 /sequence/random/seed:579241222
1800s # slow test /sequence/random/seed:579241222 executed in 0.61 secs
1800s ok 16 /sequence/random/seed:1203340129
1800s # slow test /sequence/random/seed:1203340129 executed in 0.61 secs
1800s # End of random tests
1800s # End of sequence tests
1800s ok - glib/sequence.test
1800s # Running test: glib/gdbus-non-socket.test
1800s TAP version 14
1800s # random seed: R02S52eae0a8ae618839a21036b4cabb2ec3
1800s 1..1
1800s # Start of gdbus tests
1800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/home
1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/cache
1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/system-config2
1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/config
1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/system-data2
1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/data
1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/state
1800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_8DLUX2/gdbus/non-socket/.dirs/runtime
1800s ok 1 /gdbus/non-socket
1800s # End of gdbus tests
1800s ok - glib/gdbus-non-socket.test
1800s # Running test: glib/logging.test
1800s TAP version 14
1800s # random seed: R02S139e8cd2150bf536142e180e02f963eb
1800s 1..17
1800s # Start of logging tests
1801s # Executing: glib/logging.test
1802s ok 1 /logging/default-handler
1802s # slow test /logging/default-handler executed in 1.49 secs
1802s ok 2 /logging/warnings
1802s ok 3 /logging/fatal-log-mask
1802s # bu-DEBUG: message
1802s # ba-DEBUG: message
1802s # ba-INFO: message
1802s ok 4 /logging/set-handler
1802s ok 5 /logging/print-handler
1802s ok 6 /logging/printerr-handler
1802s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052
1802s # The Log Message Handler
1802s #
1802s # The Good Fail Message Handler
1802s #
1802s ok 7 /logging/653052
1802s ok 8 /logging/gibberish
1802s # Start of default-handler tests
1802s # Start of subprocess tests
1802s # End of subprocess tests
1802s # End of default-handler tests
1802s # End of logging tests
1802s # Start of structured-logging tests
1802s ok 9 /structured-logging/no-state
1802s ok 10 /structured-logging/some-state
1802s ok 11 /structured-logging/robustness
1802s ok 12 /structured-logging/roundtrip1
1802s ok 13 /structured-logging/roundtrip2
1802s ok 14 /structured-logging/roundtrip3
1802s ok 15 /structured-logging/variant1
1802s ok 16 /structured-logging/variant2
1802s ok 17 /structured-logging/set-writer-func-twice
1802s # End of structured-logging tests
1802s ok - glib/logging.test
1802s # Running test: glib/markup-subparser.test
1802s TAP version 14
1802s # random seed: R02S5eef5c3e7f3cbdd5a3983a522492e641
1802s 1..14
1802s # Start of glib tests
1802s # Start of markup tests
1802s # Start of subparser tests
1802s # Start of success tests
1802s ok 1 /glib/markup/subparser/success/0
1802s ok 2 /glib/markup/subparser/success/1
1802s ok 3 /glib/markup/subparser/success/2
1802s ok 4 /glib/markup/subparser/success/3
1802s ok 5 /glib/markup/subparser/success/4
1802s ok 6 /glib/markup/subparser/success/5
1802s ok 7 /glib/markup/subparser/success/6
1802s # End of success tests
1802s # Start of failure tests
1802s ok 8 /glib/markup/subparser/failure/0
1802s ok 9 /glib/markup/subparser/failure/1
1802s ok 10 /glib/markup/subparser/failure/2
1802s ok 11 /glib/markup/subparser/failure/3
1802s ok 12 /glib/markup/subparser/failure/4
1802s ok 13 /glib/markup/subparser/failure/5
1802s ok 14 /glib/markup/subparser/failure/6
1802s # End of failure tests
1802s # End of subparser tests
1802s # End of markup tests
1802s # End of glib tests
1802s ok - glib/markup-subparser.test
1802s # Running test: glib/singleton.test
1802s TAP version 14
1802s # random seed: R02S393e99f842aff4ff5b09bc09b16826db
1802s 1..2
1802s # Start of gobject tests
1802s # Start of singleton tests
1802s ok 1 /gobject/singleton/construction
1802s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works
1802s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666
1802s ok 2 /gobject/singleton/construct-property
1802s # End of singleton tests
1802s # End of gobject tests
1802s ok - glib/singleton.test
1802s # Running test: glib/file.test
1802s TAP version 14
1802s # random seed: R02S5872c3ce53ea0f557e0795cf8976fb81
1802s 1..55
1802s # Start of file tests
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/basic/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/basic/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/basic/.dirs/system-config1:/tmp/test_file_46J4X2/file/basic/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/basic/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/basic/.dirs/system-data1:/tmp/test_file_46J4X2/file/basic/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/basic/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/basic/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/basic/.dirs/runtime
1802s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1802s ok 1 /file/basic
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/build-filename/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/build-filename/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/build-filename/.dirs/system-config1:/tmp/test_file_46J4X2/file/build-filename/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/build-filename/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/build-filename/.dirs/system-data1:/tmp/test_file_46J4X2/file/build-filename/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/build-filename/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/build-filename/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/build-filename/.dirs/runtime
1802s ok 2 /file/build-filename
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/build-filenamev/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/build-filenamev/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_46J4X2/file/build-filenamev/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/build-filenamev/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_46J4X2/file/build-filenamev/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/build-filenamev/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/build-filenamev/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/build-filenamev/.dirs/runtime
1802s ok 3 /file/build-filenamev
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/parent/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/parent/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/parent/.dirs/system-config1:/tmp/test_file_46J4X2/file/parent/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/parent/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/parent/.dirs/system-data1:/tmp/test_file_46J4X2/file/parent/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/parent/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/parent/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/parent/.dirs/runtime
1802s ok 4 /file/parent
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/child/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/child/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/child/.dirs/system-config1:/tmp/test_file_46J4X2/file/child/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/child/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/child/.dirs/system-data1:/tmp/test_file_46J4X2/file/child/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/child/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/child/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/child/.dirs/runtime
1802s ok 5 /file/child
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/empty-path/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/empty-path/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/empty-path/.dirs/system-config1:/tmp/test_file_46J4X2/file/empty-path/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/empty-path/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/empty-path/.dirs/system-data1:/tmp/test_file_46J4X2/file/empty-path/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/empty-path/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/empty-path/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/empty-path/.dirs/runtime
1802s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328
1802s # /file/empty-path summary: Check that creating a file with an empty path results in errors
1802s ok 6 /file/empty-path
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/type/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/type/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/type/.dirs/system-config1:/tmp/test_file_46J4X2/file/type/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/type/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/type/.dirs/system-data1:/tmp/test_file_46J4X2/file/type/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/type/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/type/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/type/.dirs/runtime
1802s ok 7 /file/type
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/parse-name/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/parse-name/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/parse-name/.dirs/system-config1:/tmp/test_file_46J4X2/file/parse-name/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/parse-name/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/parse-name/.dirs/system-data1:/tmp/test_file_46J4X2/file/parse-name/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/parse-name/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/parse-name/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/parse-name/.dirs/runtime
1802s ok 8 /file/parse-name
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/replace-load/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/replace-load/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/replace-load/.dirs/system-config1:/tmp/test_file_46J4X2/file/replace-load/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/replace-load/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/replace-load/.dirs/system-data1:/tmp/test_file_46J4X2/file/replace-load/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/replace-load/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/replace-load/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/replace-load/.dirs/runtime
1802s ok 9 /file/replace-load
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/replace-cancel/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/replace-cancel/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_46J4X2/file/replace-cancel/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/replace-cancel/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_46J4X2/file/replace-cancel/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/replace-cancel/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/replace-cancel/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/replace-cancel/.dirs/runtime
1802s # Bug Reference: https://bugzilla.gnome.org/629301
1802s ok 10 /file/replace-cancel
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/replace-symlink/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/replace-symlink/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_46J4X2/file/replace-symlink/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/replace-symlink/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_46J4X2/file/replace-symlink/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/replace-symlink/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/replace-symlink/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/replace-symlink/.dirs/runtime
1802s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325
1802s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks
1802s # Using temporary directory /tmp/test_file_46J4X2/g_file_replace_symlink_Y693X2
1802s ok 11 /file/replace-symlink
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-new-tmp/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-new-tmp/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-new-tmp/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-new-tmp/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-new-tmp/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-new-tmp/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-new-tmp/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-new-tmp/.dirs/runtime
1802s ok 12 /file/async-new-tmp
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-new-tmp-dir/.dirs/runtime
1802s ok 13 /file/async-new-tmp-dir
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-delete/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-delete/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-delete/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-delete/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-delete/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-delete/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-delete/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-delete/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-delete/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-delete/.dirs/runtime
1802s ok 14 /file/async-delete
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-make-symlink/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-make-symlink/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-make-symlink/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-make-symlink/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-make-symlink/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-make-symlink/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-make-symlink/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-make-symlink/.dirs/runtime
1802s ok 15 /file/async-make-symlink
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/copy-preserve-mode/.dirs/runtime
1802s # Current umask: 2
1802s # Vector 0
1802s # Vector 1
1802s # Vector 2
1802s # Vector 3
1802s # Vector 4
1802s # Vector 5
1802s # Vector 6
1802s # Vector 7
1802s # Vector 8
1802s # Vector 9
1802s # Vector 10
1802s ok 16 /file/copy-preserve-mode
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/copy-async-with-closures/.dirs/runtime
1802s ok 17 /file/copy-async-with-closures
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/measure/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/measure/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/measure/.dirs/system-config1:/tmp/test_file_46J4X2/file/measure/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/measure/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/measure/.dirs/system-data1:/tmp/test_file_46J4X2/file/measure/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/measure/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/measure/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/measure/.dirs/runtime
1802s ok 18 /file/measure
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/measure-async/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/measure-async/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/measure-async/.dirs/system-config1:/tmp/test_file_46J4X2/file/measure-async/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/measure-async/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/measure-async/.dirs/system-data1:/tmp/test_file_46J4X2/file/measure-async/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/measure-async/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/measure-async/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/measure-async/.dirs/runtime
1802s ok 19 /file/measure-async
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/load-bytes/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/load-bytes/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/load-bytes/.dirs/system-config1:/tmp/test_file_46J4X2/file/load-bytes/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/load-bytes/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/load-bytes/.dirs/system-data1:/tmp/test_file_46J4X2/file/load-bytes/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/load-bytes/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/load-bytes/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/load-bytes/.dirs/runtime
1802s ok 20 /file/load-bytes
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/load-bytes-async/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/load-bytes-async/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_46J4X2/file/load-bytes-async/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/load-bytes-async/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_46J4X2/file/load-bytes-async/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/load-bytes-async/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/load-bytes-async/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/load-bytes-async/.dirs/runtime
1802s ok 21 /file/load-bytes-async
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/load-bytes-4gb/.dirs/runtime
1802s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/load-contents-4gb/.dirs/runtime
1802s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/load-contents-4gb-async/.dirs/runtime
1802s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/.dirs/runtime
1802s ok 25 /file/writev
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/build-attribute-list-for-copy/.dirs/runtime
1802s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::*
1802s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::*
1802s # 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::*
1802s # 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::*
1802s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::*
1802s # Attributes for copy: standard::size,xattr::*
1802s # Attributes for copy: standard::size,unix::mode,xattr::*
1802s ok 26 /file/build-attribute-list-for-copy
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/move_async/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/move_async/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/move_async/.dirs/system-config1:/tmp/test_file_46J4X2/file/move_async/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/move_async/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/move_async/.dirs/system-data1:/tmp/test_file_46J4X2/file/move_async/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/move_async/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/move_async/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/move_async/.dirs/runtime
1802s ok 27 /file/move_async
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/move-async-with-closures/.dirs/runtime
1802s ok 28 /file/move-async-with-closures
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/query-zero-length-content-type/.dirs/runtime
1802s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795
1802s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize
1802s ok 29 /file/query-zero-length-content-type
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/runtime
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/data/applications
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/config
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/config
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/config
1802s ok 30 /file/query-default-handler-file
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/runtime
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/data/applications
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/config
1802s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_46J4X2/file/query-default-handler-file/.dirs/config to /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/config
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/config
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/config
1802s ok 31 /file/query-default-handler-file-async
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/runtime
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/data/applications
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/config
1802s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_46J4X2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/config
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/config
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/config
1802s ok 32 /file/query-default-handler-uri
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/runtime
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/data/applications
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/config
1802s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_46J4X2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/config
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/config
1802s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_46J4X2/file/query-default-handler-uri-async/.dirs/config
1802s ok 33 /file/query-default-handler-uri-async
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/enumerator-cancellation/.dirs/runtime
1802s ok 34 /file/enumerator-cancellation
1802s # Start of async-create-delete tests
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-create-delete/0/.dirs/runtime
1802s ok 35 /file/async-create-delete/0
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-create-delete/1/.dirs/runtime
1802s ok 36 /file/async-create-delete/1
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-create-delete/10/.dirs/runtime
1802s ok 37 /file/async-create-delete/10
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-create-delete/25/.dirs/runtime
1802s ok 38 /file/async-create-delete/25
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/async-create-delete/4096/.dirs/runtime
1802s ok 39 /file/async-create-delete/4096
1802s # End of async-create-delete tests
1802s # Start of replace-symlink tests
1802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/home
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/cache
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/system-config2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/config
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/system-data2
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/data
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/state
1802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/replace-symlink/using-etag/.dirs/runtime
1802s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417
1802s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink
1802s # Using temporary directory /tmp/test_file_46J4X2/g_file_replace_symlink_using_etag_JTAUX2
1804s ok 40 /file/replace-symlink/using-etag
1804s # slow test /file/replace-symlink/using-etag executed in 2.00 secs
1804s # End of replace-symlink tests
1804s # Start of replace tests
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/replace/write-only/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/replace/write-only/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_46J4X2/file/replace/write-only/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/replace/write-only/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_46J4X2/file/replace/write-only/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/replace/write-only/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/replace/write-only/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/replace/write-only/.dirs/runtime
1804s # /file/replace/write-only summary: Test various situations for g_file_replace()
1804s # Current umask: 2
1804s # Test 0, using temporary directory /tmp/test_file_46J4X2/g_file_replace_W36TX2
1804s # Test 1, using temporary directory /tmp/test_file_46J4X2/g_file_replace_Y16TX2
1804s # Test 2, using temporary directory /tmp/test_file_46J4X2/g_file_replace_NW4TX2
1804s # Test 3, using temporary directory /tmp/test_file_46J4X2/g_file_replace_3E3TX2
1804s # Test 4, using temporary directory /tmp/test_file_46J4X2/g_file_replace_6Z3TX2
1804s # Test 5, using temporary directory /tmp/test_file_46J4X2/g_file_replace_IT3TX2
1804s # Test 6, using temporary directory /tmp/test_file_46J4X2/g_file_replace_R1QUX2
1804s # Test 7, using temporary directory /tmp/test_file_46J4X2/g_file_replace_S3PUX2
1804s # Test 8, using temporary directory /tmp/test_file_46J4X2/g_file_replace_1XPUX2
1804s # Test 9, using temporary directory /tmp/test_file_46J4X2/g_file_replace_BHQUX2
1804s # Test 10, using temporary directory /tmp/test_file_46J4X2/g_file_replace_9GOUX2
1804s # Test 11, using temporary directory /tmp/test_file_46J4X2/g_file_replace_FDMUX2
1804s # Test 12, using temporary directory /tmp/test_file_46J4X2/g_file_replace_1UMUX2
1804s # Test 13, using temporary directory /tmp/test_file_46J4X2/g_file_replace_ONMUX2
1804s # Test 14, using temporary directory /tmp/test_file_46J4X2/g_file_replace_6PKUX2
1804s # Test 15, using temporary directory /tmp/test_file_46J4X2/g_file_replace_X1JUX2
1804s # Test 16, using temporary directory /tmp/test_file_46J4X2/g_file_replace_XVHUX2
1804s # Test 17, using temporary directory /tmp/test_file_46J4X2/g_file_replace_XEGUX2
1804s # Test 18, using temporary directory /tmp/test_file_46J4X2/g_file_replace_4LPTX2
1804s # Test 19, using temporary directory /tmp/test_file_46J4X2/g_file_replace_Q5NTX2
1804s # Test 20, using temporary directory /tmp/test_file_46J4X2/g_file_replace_VKMTX2
1804s # Test 21, using temporary directory /tmp/test_file_46J4X2/g_file_replace_PDKTX2
1804s # Test 22, using temporary directory /tmp/test_file_46J4X2/g_file_replace_VXITX2
1804s # Test 23, using temporary directory /tmp/test_file_46J4X2/g_file_replace_CRITX2
1804s # Test 24, using temporary directory /tmp/test_file_46J4X2/g_file_replace_RSHTX2
1804s # Test 25, using temporary directory /tmp/test_file_46J4X2/g_file_replace_1OGTX2
1804s # Test 26, using temporary directory /tmp/test_file_46J4X2/g_file_replace_FJGTX2
1804s # Test 27, using temporary directory /tmp/test_file_46J4X2/g_file_replace_K0GTX2
1804s # Test 28, using temporary directory /tmp/test_file_46J4X2/g_file_replace_2VETX2
1804s # Test 29, using temporary directory /tmp/test_file_46J4X2/g_file_replace_EP2TX2
1804s # Test 30, using temporary directory /tmp/test_file_46J4X2/g_file_replace_D72TX2
1804s # Test 31, using temporary directory /tmp/test_file_46J4X2/g_file_replace_R52TX2
1804s # Test 32, using temporary directory /tmp/test_file_46J4X2/g_file_replace_DN1TX2
1804s # Test 33, using temporary directory /tmp/test_file_46J4X2/g_file_replace_NFZTX2
1804s # Test 34, using temporary directory /tmp/test_file_46J4X2/g_file_replace_D0ZTX2
1804s # Test 35, using temporary directory /tmp/test_file_46J4X2/g_file_replace_3SZTX2
1804s # Test 36, using temporary directory /tmp/test_file_46J4X2/g_file_replace_6UXTX2
1804s # Test 37, using temporary directory /tmp/test_file_46J4X2/g_file_replace_87VTX2
1804s # Test 38, using temporary directory /tmp/test_file_46J4X2/g_file_replace_3BUTX2
1804s # Test 39, using temporary directory /tmp/test_file_46J4X2/g_file_replace_NZSTX2
1804s # Test 40, using temporary directory /tmp/test_file_46J4X2/g_file_replace_0SQTX2
1804s # Test 41, using temporary directory /tmp/test_file_46J4X2/g_file_replace_S9ZSX2
1804s # Test 42, using temporary directory /tmp/test_file_46J4X2/g_file_replace_DDZSX2
1804s # Test 43, using temporary directory /tmp/test_file_46J4X2/g_file_replace_06WSX2
1804s # Test 44, using temporary directory /tmp/test_file_46J4X2/g_file_replace_08USX2
1804s # Test 45, using temporary directory /tmp/test_file_46J4X2/g_file_replace_VUVSX2
1804s # Test 46, using temporary directory /tmp/test_file_46J4X2/g_file_replace_J3TSX2
1804s # Test 47, using temporary directory /tmp/test_file_46J4X2/g_file_replace_SMUSX2
1804s # Test 48, using temporary directory /tmp/test_file_46J4X2/g_file_replace_NPSSX2
1804s # We do not have CAP_DAC_OVERRIDE or equivalent
1804s ok 41 /file/replace/write-only
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/replace/read-write/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/replace/read-write/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_46J4X2/file/replace/read-write/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/replace/read-write/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_46J4X2/file/replace/read-write/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/replace/read-write/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/replace/read-write/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/replace/read-write/.dirs/runtime
1804s # /file/replace/read-write summary: Test various situations for g_file_replace()
1804s # Current umask: 2
1804s # Test 0, using temporary directory /tmp/test_file_46J4X2/g_file_replace_Z0SSX2
1804s # Test 1, using temporary directory /tmp/test_file_46J4X2/g_file_replace_JZSSX2
1804s # Test 2, using temporary directory /tmp/test_file_46J4X2/g_file_replace_8ERSX2
1804s # Test 3, using temporary directory /tmp/test_file_46J4X2/g_file_replace_4TPSX2
1804s # Test 4, using temporary directory /tmp/test_file_46J4X2/g_file_replace_0AQSX2
1804s # Test 5, using temporary directory /tmp/test_file_46J4X2/g_file_replace_22PSX2
1804s # Test 6, using temporary directory /tmp/test_file_46J4X2/g_file_replace_1ADTX2
1804s # Test 7, using temporary directory /tmp/test_file_46J4X2/g_file_replace_33BTX2
1804s # Test 8, using temporary directory /tmp/test_file_46J4X2/g_file_replace_BG9SX2
1804s # Test 9, using temporary directory /tmp/test_file_46J4X2/g_file_replace_ZD9SX2
1804s # Test 10, using temporary directory /tmp/test_file_46J4X2/g_file_replace_627SX2
1804s # Test 11, using temporary directory /tmp/test_file_46J4X2/g_file_replace_148SX2
1804s # Test 12, using temporary directory /tmp/test_file_46J4X2/g_file_replace_VJ6SX2
1804s # Test 13, using temporary directory /tmp/test_file_46J4X2/g_file_replace_575SX2
1804s # Test 14, using temporary directory /tmp/test_file_46J4X2/g_file_replace_DD7SX2
1804s # Test 15, using temporary directory /tmp/test_file_46J4X2/g_file_replace_ZU5SX2
1804s # Test 16, using temporary directory /tmp/test_file_46J4X2/g_file_replace_273SX2
1804s # Test 17, using temporary directory /tmp/test_file_46J4X2/g_file_replace_HA2SX2
1804s # Test 18, using temporary directory /tmp/test_file_46J4X2/g_file_replace_FIBSX2
1804s # Test 19, using temporary directory /tmp/test_file_46J4X2/g_file_replace_N39RX2
1804s # Test 20, using temporary directory /tmp/test_file_46J4X2/g_file_replace_LE8RX2
1804s # Test 21, using temporary directory /tmp/test_file_46J4X2/g_file_replace_0S6RX2
1804s # Test 22, using temporary directory /tmp/test_file_46J4X2/g_file_replace_G54RX2
1804s # Test 23, using temporary directory /tmp/test_file_46J4X2/g_file_replace_4N5RX2
1804s # Test 24, using temporary directory /tmp/test_file_46J4X2/g_file_replace_5J3RX2
1804s # Test 25, using temporary directory /tmp/test_file_46J4X2/g_file_replace_691RX2
1804s # Test 26, using temporary directory /tmp/test_file_46J4X2/g_file_replace_OY1RX2
1804s # Test 27, using temporary directory /tmp/test_file_46J4X2/g_file_replace_HJ2RX2
1804s # Test 28, using temporary directory /tmp/test_file_46J4X2/g_file_replace_WZ0RX2
1804s # Test 29, using temporary directory /tmp/test_file_46J4X2/g_file_replace_EGOSX2
1804s # Test 30, using temporary directory /tmp/test_file_46J4X2/g_file_replace_PTLSX2
1804s # Test 31, using temporary directory /tmp/test_file_46J4X2/g_file_replace_MOLSX2
1804s # Test 32, using temporary directory /tmp/test_file_46J4X2/g_file_replace_J7JSX2
1804s # Test 33, using temporary directory /tmp/test_file_46J4X2/g_file_replace_MCLSX2
1804s # Test 34, using temporary directory /tmp/test_file_46J4X2/g_file_replace_XNISX2
1804s # Test 35, using temporary directory /tmp/test_file_46J4X2/g_file_replace_08ISX2
1804s # Test 36, using temporary directory /tmp/test_file_46J4X2/g_file_replace_O8GSX2
1804s # Test 37, using temporary directory /tmp/test_file_46J4X2/g_file_replace_04HSX2
1804s # Test 38, using temporary directory /tmp/test_file_46J4X2/g_file_replace_8VGSX2
1804s # Test 39, using temporary directory /tmp/test_file_46J4X2/g_file_replace_WSESX2
1804s # Test 40, using temporary directory /tmp/test_file_46J4X2/g_file_replace_RBDSX2
1804s # Test 41, using temporary directory /tmp/test_file_46J4X2/g_file_replace_OVLRX2
1804s # Test 42, using temporary directory /tmp/test_file_46J4X2/g_file_replace_RFKRX2
1804s # Test 43, using temporary directory /tmp/test_file_46J4X2/g_file_replace_ECIRX2
1804s # Test 44, using temporary directory /tmp/test_file_46J4X2/g_file_replace_YYGRX2
1804s # Test 45, using temporary directory /tmp/test_file_46J4X2/g_file_replace_DRGRX2
1804s # Test 46, using temporary directory /tmp/test_file_46J4X2/g_file_replace_9AFRX2
1804s # Test 47, using temporary directory /tmp/test_file_46J4X2/g_file_replace_X4ERX2
1804s # Test 48, using temporary directory /tmp/test_file_46J4X2/g_file_replace_AEGRX2
1804s # We do not have CAP_DAC_OVERRIDE or equivalent
1804s ok 42 /file/replace/read-write
1804s # End of replace tests
1804s # Start of copy tests
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/copy/progress/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/copy/progress/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/copy/progress/.dirs/system-config1:/tmp/test_file_46J4X2/file/copy/progress/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/copy/progress/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/copy/progress/.dirs/system-data1:/tmp/test_file_46J4X2/file/copy/progress/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/copy/progress/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/copy/progress/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/copy/progress/.dirs/runtime
1804s ok 43 /file/copy/progress
1804s # End of copy tests
1804s # Start of writev tests
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/no-bytes-written/.dirs/runtime
1804s ok 44 /file/writev/no-bytes-written
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/no-vectors/.dirs/runtime
1804s ok 45 /file/writev/no-vectors
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/empty-vectors/.dirs/runtime
1804s ok 46 /file/writev/empty-vectors
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/too-big-vectors/.dirs/runtime
1804s ok 47 /file/writev/too-big-vectors
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/async/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/async/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/async/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/async/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/async/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/async/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/async/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/async/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/async/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/async/.dirs/runtime
1804s ok 48 /file/writev/async
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/async_all/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/async_all/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/async_all/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/async_all/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/async_all/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/async_all/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/async_all/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/async_all/.dirs/runtime
1804s ok 49 /file/writev/async_all
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/async_all-empty-vectors/.dirs/runtime
1804s ok 50 /file/writev/async_all-empty-vectors
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/async_all-no-vectors/.dirs/runtime
1804s ok 51 /file/writev/async_all-no-vectors
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/async_all-to-big-vectors/.dirs/runtime
1804s ok 52 /file/writev/async_all-to-big-vectors
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/writev/async_all-cancellation/.dirs/runtime
1804s ok 53 /file/writev/async_all-cancellation
1804s # End of writev tests
1804s # Start of from-uri tests
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/from-uri/ignores-query-string/.dirs/runtime
1804s ok 54 /file/from-uri/ignores-query-string
1804s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/home
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/cache
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/system-config2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/config
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/system-data2
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/data
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/state
1804s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_46J4X2/file/from-uri/ignores-fragment/.dirs/runtime
1804s ok 55 /file/from-uri/ignores-fragment
1804s # End of from-uri tests
1804s # End of file tests
1804s ok - glib/file.test
1804s # Running test: glib/notify-init.test
1804s TAP version 14
1804s # random seed: R02Sec7359296c361d430f32743576aa0029
1804s 1..1
1804s # Start of properties tests
1804s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works
1804s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
1804s ok 1 /properties/notify-in-init
1804s # End of properties tests
1804s ok - glib/notify-init.test
1804s # Running test: glib/signals-refcount3.test
1804s TAP version 14
1804s # random seed: R02S2e5573effd6c34307642609a6d4776ee
1804s 1..1
1804s # Start of gobject tests
1804s # Start of refcount tests
1804s # init 0xd2dba58
1804s #
1804s # init 0xd2dbbb0
1804s #
1806s # Executing: glib/signals-refcount3.test
1809s # dispose 0xd2dba58!
1809s #
1809s # dispose 0xd2dbbb0!
1809s #
1809s ok 1 /gobject/refcount/signals
1809s # slow test /gobject/refcount/signals executed in 5.00 secs
1809s # End of refcount tests
1809s # End of gobject tests
1809s ok - glib/signals-refcount3.test
1809s # Running test: glib/binding.test
1809s TAP version 14
1809s # random seed: R02S8283f4016ecabd7f0c4ae12d96358f6a
1809s 1..19
1809s # Start of binding tests
1809s ok 1 /binding/default
1809s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work
1809s ok 2 /binding/canonicalisation
1809s ok 3 /binding/bidirectional
1809s ok 4 /binding/transform
1809s ok 5 /binding/transform-default
1809s ok 6 /binding/transform-closure
1809s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782
1809s ok 7 /binding/chain
1809s ok 8 /binding/sync-create
1809s ok 9 /binding/invert-boolean
1809s ok 10 /binding/same-object
1809s ok 11 /binding/unbind
1809s ok 12 /binding/unbind-weak
1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373
1809s ok 13 /binding/unbind-multiple
1809s ok 14 /binding/fail
1809s ok 15 /binding/interface
1809s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly
1809s ok 16 /binding/concurrent-unbind
1809s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly
1809s ok 17 /binding/concurrent-finalizing
1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
1809s ok 18 /binding/dispose-source
1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
1809s ok 19 /binding/dispose-target
1809s # End of binding tests
1809s ok - glib/binding.test
1809s # Running test: glib/gdbus-threading.test
1809s TAP version 14
1809s # random seed: R02Sf4ada1e770b3de87c54d294cab3999b6
1809s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515)
1809s ok - glib/gdbus-threading.test
1809s # Running test: glib/application-command-line.test
1809s TAP version 14
1809s # random seed: R02Se8dc49266159440b99a5ff4263032ac5
1809s 1..1
1809s # Start of application-command-line tests
1809s ok 1 /application-command-line/basic-properties
1809s # End of application-command-line tests
1809s ok - glib/application-command-line.test
1809s # Running test: glib/data-output-stream.test
1809s TAP version 14
1809s # random seed: R02S105e93794e75f8a076dcb5b5a5f5bdeb
1809s 1..7
1809s # Start of data-output-stream tests
1809s ok 1 /data-output-stream/basic
1809s ok 2 /data-output-stream/write-lines-LF
1809s ok 3 /data-output-stream/write-lines-CR
1809s ok 4 /data-output-stream/write-lines-CR-LF
1809s ok 5 /data-output-stream/write-int
1809s ok 6 /data-output-stream/seek
1809s ok 7 /data-output-stream/truncate
1809s # End of data-output-stream tests
1809s ok - glib/data-output-stream.test
1809s # Running test: glib/power-profile-monitor.test
1809s TAP version 14
1809s # random seed: R02Scc8adad0d2a8b89aa08a5f6671937e26
1809s 1..1
1809s # Start of power-profile-monitor tests
1809s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
1809s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor?
1809s ok 1 /power-profile-monitor/default
1809s # End of power-profile-monitor tests
1809s ok - glib/power-profile-monitor.test
1809s # Running test: glib/dataset.test
1809s TAP version 14
1809s # random seed: R02S31a2a3dbd54f9b82336c22fe5653b87f
1809s 1..14
1809s # Start of quark tests
1809s ok 1 /quark/basic
1809s ok 2 /quark/string
1809s # End of quark tests
1809s # Start of dataset tests
1809s ok 3 /dataset/basic
1809s ok 4 /dataset/id
1809s ok 5 /dataset/full
1809s ok 6 /dataset/foreach
1809s ok 7 /dataset/destroy
1809s # End of dataset tests
1809s # Start of datalist tests
1809s ok 8 /datalist/basic
1809s ok 9 /datalist/id
1809s ok 10 /datalist/recursive-clear
1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
1809s ok 11 /datalist/id-remove-multiple
1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
1809s ok 12 /datalist/id-remove-multiple-destroy-order
1809s ok 13 /datalist/update-atomic
1809s # Start of id-remove-multiple tests
1809s ok 14 /datalist/id-remove-multiple/resize
1809s # End of id-remove-multiple tests
1809s # End of datalist tests
1809s ok - glib/dataset.test
1809s # Running test: glib/option-argv0.test
1809s TAP version 14
1809s # random seed: R02S1d6522b50e6d9dc56459f342a7f61ca1
1809s 1..1
1809s # Start of option tests
1809s ok 1 /option/argv0
1809s # End of option tests
1809s ok - glib/option-argv0.test
1809s # Running test: glib/gdbus-test-codegen-min-required-2-64.test
1809s TAP version 14
1809s # random seed: R02S2899715390fab5fbdf458bed850c6ad7
1809s 1..8
1809s # Start of gdbus tests
1809s # Start of codegen tests
1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/home
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/cache
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/system-config2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/config
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/system-data2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/data
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/state
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/annotations/.dirs/runtime
1809s ok 1 /gdbus/codegen/annotations
1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/home
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/cache
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/system-config2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/config
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/system-data2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/data
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/state
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/interface_stability/.dirs/runtime
1809s ok 2 /gdbus/codegen/interface_stability
1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/home
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/cache
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/system-config2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/config
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/system-data2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/data
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/state
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/object-manager/.dirs/runtime
1809s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1809s ok 3 /gdbus/codegen/object-manager
1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/home
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/cache
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/system-config2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/config
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/system-data2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/data
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/state
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/property-naming/.dirs/runtime
1809s ok 4 /gdbus/codegen/property-naming
1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/home
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/cache
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/system-config2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/config
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/system-data2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/data
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/state
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/autocleanups/.dirs/runtime
1809s ok 5 /gdbus/codegen/autocleanups
1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/home
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/cache
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/system-config2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/config
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/system-data2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/data
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/state
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/deprecations/.dirs/runtime
1809s ok 6 /gdbus/codegen/deprecations
1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/home
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/cache
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/config
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/data
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/state
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/standalone-interface-info/.dirs/runtime
1809s ok 7 /gdbus/codegen/standalone-interface-info
1809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/home
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/cache
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/system-config2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/config
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/system-data2
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/data
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/state
1809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_B69OX2/gdbus/codegen/unix-fd-list/.dirs/runtime
1809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
1809s ok 8 /gdbus/codegen/unix-fd-list
1809s # End of codegen tests
1809s # End of gdbus tests
1809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1809s ok - glib/gdbus-test-codegen-min-required-2-64.test
1809s # Running test: glib/completion.test
1809s TAP version 14
1809s # random seed: R02S13afe5a4c2f85ed27fc6b9f40a97df08
1809s 1..1
1809s # Start of completion tests
1809s ok 1 /completion/test-completion
1809s # End of completion tests
1809s ok - glib/completion.test
1809s # Running test: glib/private.test
1809s TAP version 14
1809s # random seed: R02S5ef5ece5abb36068a155f3256c136269
1809s 1..8
1809s # Start of thread tests
1809s ok 1 /thread/private1
1811s ok 2 /thread/private2
1811s # slow test /thread/private2 executed in 1.08 secs
1811s ok 3 /thread/private3
1811s ok 4 /thread/staticprivate1
1811s ok 5 /thread/staticprivate2
1811s ok 6 /thread/staticprivate3
1811s # Executing: glib/private.test
1812s ok 7 /thread/staticprivate4
1812s # slow test /thread/staticprivate4 executed in 1.08 secs
1812s ok 8 /thread/staticprivate5
1812s # End of thread tests
1812s ok - glib/private.test
1812s # Running test: glib/gdbus-proxy-well-known-name.test
1812s TAP version 14
1812s # random seed: R02S1dcf56257194949b1234d26fd652f1eb
1812s 1..1
1812s # Start of gdbus tests
1812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/home
1812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/cache
1812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/system-config2
1812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/config
1812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/system-data2
1812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/data
1812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/state
1812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_HV15X2/gdbus/proxy-well-known-name/.dirs/runtime
1812s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1812s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1812s ok 1 /gdbus/proxy-well-known-name
1812s # End of gdbus tests
1812s ok - glib/gdbus-proxy-well-known-name.test
1812s # Running test: glib/utils.test
1812s TAP version 14
1812s # random seed: R02Sea107188b3f83b44cb215177eac7249f
1812s 1..40
1812s # Start of utils tests
1812s ok 1 /utils/language-names
1812s ok 2 /utils/locale-variants
1812s ok 3 /utils/version
1812s ok 4 /utils/appname
1812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1812s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1812s ok 5 /utils/prgname-thread-safety
1812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1812s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1812s ok 6 /utils/tmpdir
1812s ok 7 /utils/basic_bits
1812s ok 8 /utils/bits
1812s ok 9 /utils/swap
1812s ok 10 /utils/find-program
1812s ok 11 /utils/find-program-for-path
1812s ok 12 /utils/debug
1812s ok 13 /utils/codeset
1812s ok 14 /utils/codeset2
1812s ok 15 /utils/console-charset
1812s ok 16 /utils/gettext
1812s ok 17 /utils/username
1812s ok 18 /utils/realname
1812s ok 19 /utils/hostname
1812s ok 20 /utils/xdgdirs
1812s ok 21 /utils/specialdir
1812s # NAME: Ubuntu
1812s ok 22 /utils/os-info
1812s ok 23 /utils/clear-pointer
1812s ok 24 /utils/clear-pointer-cast
1812s ok 25 /utils/take-pointer
1812s ok 26 /utils/clear-source
1812s ok 27 /utils/misc-mem
1812s # /utils/aligned-mem summary: Aligned memory allocator
1812s # Alignment must not be zero
1812s # Alignment must be a power of two
1812s # Alignment must be a multiple of sizeof(void*)
1812s ok 28 /utils/aligned-mem
1812s # /utils/free-sized summary: Check that g_free_sized() works
1812s ok 29 /utils/free-sized
1812s ok 30 /utils/nullify
1812s ok 31 /utils/atexit
1812s ok 32 /utils/check-setuid
1812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1812s ok 33 /utils/int-limits
1812s ok 34 /utils/clear-list
1812s ok 35 /utils/clear-slist
1812s # Start of specialdir tests
1812s ok 36 /utils/specialdir/desktop
1812s # End of specialdir tests
1812s # Start of clear-pointer tests
1812s ok 37 /utils/clear-pointer/side-effects
1812s # End of clear-pointer tests
1812s # Start of aligned-mem tests
1812s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1812s ok 38 /utils/aligned-mem/alignment
1812s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1812s ok 39 /utils/aligned-mem/zeroed
1812s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1812s ok 40 /utils/aligned-mem/free-sized
1812s # Start of subprocess tests
1812s # End of subprocess tests
1812s # End of aligned-mem tests
1812s # End of utils tests
1812s ok - glib/utils.test
1812s # Running test: glib/node.test
1812s TAP version 14
1812s # random seed: R02S0378588bbdb3a3c9b61ee17853e8abe2
1812s 1..6
1812s # Start of node tests
1812s ok 1 /node/allocation
1812s ok 2 /node/construction
1812s ok 3 /node/traversal
1812s ok 4 /node/misc
1812s ok 5 /node/unlink
1812s ok 6 /node/copy
1812s # End of node tests
1812s ok - glib/node.test
1812s # Running test: glib/assert-msg-test.py.test
1812s TAP version 13
1812s ok 1 __main__.TestAssertMessage.test_gassert
1812s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
1812s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test']
1812s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'}
1812s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
1812s # Error: **
1812s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
1812s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test!
1812s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
1812s 1..2
1812s ok - glib/assert-msg-test.py.test
1812s # Running test: glib/resources.test
1812s TAP version 14
1812s # random seed: R02Sb4035da8c5d37944ec5ce3afb0ddbd71
1812s 1..17
1812s # Start of resource tests
1812s ok 1 /resource/file
1812s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1812s ok 2 /resource/file-path
1812s ok 3 /resource/data
1812s ok 4 /resource/data_unaligned
1812s ok 5 /resource/data-corrupt
1812s ok 6 /resource/data-empty
1812s ok 7 /resource/registered
1812s ok 8 /resource/manual
1812s ok 9 /resource/manual2
1812s ok 10 /resource/automatic
1812s ok 11 /resource/module
1812s ok 12 /resource/binary-linked
1812s ok 13 /resource/64k
1812s GLib-GIO-Message: 02:09:05.255: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay'
1812s ok 14 /resource/overlay
1812s ok 15 /resource/digits
1812s # Start of uri tests
1812s ok 16 /resource/uri/query-info
1812s ok 17 /resource/uri/file
1812s # End of uri tests
1812s # End of resource tests
1812s ok - glib/resources.test
1812s # Running test: glib/closure-refcount.test
1812s TAP version 14
1812s # random seed: R02Se5463c8ff821bfd4ccfb8008340c21eb
1812s 1..1
1812s # Start of closure tests
1812s # Init 0x3a518e8
1812s # Yielding from thread1
1812s # Yielding from thread2
1812s # Yielding from thread1
1812s # Yielding from thread1
1812s # Yielding from thread2
1812s # Yielding from thread1
1812s # Yielding from thread2
1813s # Yielding from thread1
1813s # Yielding from thread2
1813s # Yielding from thread1
1813s # Yielding from thread1
1813s # Yielding from thread2
1813s # Yielding from thread1
1813s # Yielding from thread2
1813s # Yielding from thread1
1813s # Yielding from thread2
1813s # Yielding from thread1
1813s # Yielding from thread1
1814s # Yielding from thread2
1814s # Yielding from main thread
1814s # Yielding from thread1
1814s # Yielding from thread2
1814s # Yielding from thread1
1814s # Yielding from thread1
1814s # Yielding from thread2
1814s # Yielding from thread1
1814s # Yielding from thread2
1814s # Yielding from thread1
1814s # Yielding from thread1
1814s # Yielding from thread2
1814s # Yielding from thread1
1815s # Yielding from thread2
1815s # Yielding from thread1
1815s # Yielding from thread2
1815s # Yielding from thread1
1815s # Yielding from thread1
1815s # Yielding from thread2
1815s # Yielding from thread1
1815s # Yielding from thread2
1815s # Yielding from main thread
1815s # Yielding from thread1
1815s # Yielding from thread2
1815s # Yielding from thread1
1816s # Yielding from thread1
1816s # Yielding from thread2
1816s # Yielding from thread1
1816s # Yielding from thread2
1816s # Yielding from thread1
1816s # Yielding from thread2
1816s # Yielding from thread1
1816s # Yielding from thread1
1816s # Yielding from thread2
1816s # Yielding from thread1
1816s # Yielding from thread2
1816s # Yielding from thread1
1816s # Executing: glib/closure-refcount.test
1817s # Yielding from thread1
1817s # Yielding from thread2
1817s # Yielding from thread1
1817s # Yielding from main thread
1817s # Yielding from thread2
1817s # Yielding from thread1
1817s # Yielding from thread1
1817s # Yielding from thread2
1817s # Yielding from thread1
1817s # Yielding from thread2
1817s # Yielding from thread1
1818s # Yielding from thread1
1818s # Yielding from thread2
1818s # Yielding from thread1
1818s # Yielding from thread2
1818s # Yielding from thread1
1818s # Yielding from thread2
1818s # Yielding from thread1
1818s # Yielding from thread1
1818s # Yielding from thread2
1818s # Yielding from thread1
1818s # Yielding from thread2
1818s # Yielding from thread1
1819s # Yielding from main thread
1819s # Yielding from thread2
1819s # Yielding from thread1
1819s # Yielding from thread1
1819s # Yielding from thread2
1819s # Yielding from thread1
1819s # Yielding from thread2
1819s # Yielding from thread1
1819s # Yielding from thread2
1819s # Yielding from thread1
1819s # Yielding from thread1
1819s # Yielding from thread2
1820s # Yielding from thread1
1820s # Yielding from thread2
1820s # Yielding from thread1
1820s # Yielding from thread1
1820s # Yielding from thread2
1820s # Yielding from thread1
1820s # Yielding from thread2
1820s # Yielding from thread1
1820s # Yielding from main thread
1820s # Yielding from thread1
1820s # Yielding from thread2
1820s # Yielding from thread1
1820s # Yielding from thread2
1821s # Yielding from thread1
1821s # Yielding from thread1
1821s # Yielding from thread2
1821s # Yielding from thread1
1821s # Yielding from thread2
1821s # Yielding from thread1
1821s # Yielding from thread2
1821s # Yielding from thread1
1821s # Yielding from thread2
1821s # Yielding from thread1
1821s # Yielding from main thread
1821s # Yielding from thread2
1821s # Executing: glib/closure-refcount.test
1822s # Yielding from thread1
1822s # Yielding from thread2
1822s # Yielding from thread1
1822s # Yielding from thread2
1822s # Yielding from thread1
1822s # Yielding from thread2
1822s # Yielding from main thread
1822s # Yielding from thread1
1822s # Yielding from thread2
1822s # Yielding from thread2
1822s # Yielding from thread1
1822s # Yielding from thread2
1822s # Yielding from thread1
1823s # Yielding from thread2
1823s # Yielding from thread1
1823s # Yielding from main thread
1823s # Yielding from thread2
1823s # Yielding from thread1
1823s # Yielding from thread2
1823s # Yielding from thread1
1823s # Yielding from thread2
1823s # Yielding from thread1
1823s # Yielding from main thread
1823s # Yielding from thread2
1823s # Yielding from thread1
1823s # Yielding from thread2
1823s # Yielding from thread1
1824s # Yielding from thread2
1824s # Yielding from thread1
1824s # Yielding from thread2
1824s # Stopping
1824s # Stopped
1824s ok 1 /closure/refcount
1824s # slow test /closure/refcount executed in 11.97 secs
1824s # End of closure tests
1824s ok - glib/closure-refcount.test
1824s # Running test: glib/spawn-multithreaded.test
1824s TAP version 14
1824s # random seed: R02S23e2ba15c4478236be63015854cababd
1824s 1..4
1824s # Start of gthread tests
1825s # Child 2554 (ttl 1) exited, status 0
1826s # Child 2555 (ttl 2) exited, status 0
1826s ok 1 /gthread/spawn-childs
1826s # slow test /gthread/spawn-childs executed in 2.00 secs
1826s # Created pid: 2559 (ttl 1)
1826s # Created pid: 2560 (ttl 2)
1826s # Executing: glib/spawn-multithreaded.test
1827s # Child 2559 (ttl 1) exited, status 0
1828s # Child 2560 (ttl 2) exited, status 0
1828s ok 2 /gthread/spawn-childs-threads
1828s # slow test /gthread/spawn-childs-threads executed in 2.00 secs
1828s ok 3 /gthread/spawn-sync
1828s ok 4 /gthread/spawn-async
1828s # End of gthread tests
1828s ok - glib/spawn-multithreaded.test
1828s # Running test: glib/utils-c-99.test
1828s TAP version 14
1828s # random seed: R02S4d5e150e9da58c8a8afb9b45981a8f09
1828s 1..40
1828s # Start of utils tests
1828s ok 1 /utils/language-names
1828s ok 2 /utils/locale-variants
1828s ok 3 /utils/version
1828s ok 4 /utils/appname
1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1828s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1828s ok 5 /utils/prgname-thread-safety
1828s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1828s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1828s ok 6 /utils/tmpdir
1828s ok 7 /utils/basic_bits
1828s ok 8 /utils/bits
1828s ok 9 /utils/swap
1828s ok 10 /utils/find-program
1828s ok 11 /utils/find-program-for-path
1828s ok 12 /utils/debug
1828s ok 13 /utils/codeset
1828s ok 14 /utils/codeset2
1828s ok 15 /utils/console-charset
1828s ok 16 /utils/gettext
1828s ok 17 /utils/username
1828s ok 18 /utils/realname
1828s ok 19 /utils/hostname
1828s ok 20 /utils/xdgdirs
1828s ok 21 /utils/specialdir
1828s # NAME: Ubuntu
1828s ok 22 /utils/os-info
1828s ok 23 /utils/clear-pointer
1828s ok 24 /utils/clear-pointer-cast
1828s ok 25 /utils/take-pointer
1828s ok 26 /utils/clear-source
1828s ok 27 /utils/misc-mem
1828s # /utils/aligned-mem summary: Aligned memory allocator
1828s # Alignment must not be zero
1828s # Alignment must be a power of two
1828s # Alignment must be a multiple of sizeof(void*)
1828s ok 28 /utils/aligned-mem
1828s # /utils/free-sized summary: Check that g_free_sized() works
1828s ok 29 /utils/free-sized
1828s ok 30 /utils/nullify
1828s ok 31 /utils/atexit
1828s ok 32 /utils/check-setuid
1828s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1828s ok 33 /utils/int-limits
1828s ok 34 /utils/clear-list
1828s ok 35 /utils/clear-slist
1828s # Start of specialdir tests
1828s ok 36 /utils/specialdir/desktop
1828s # End of specialdir tests
1828s # Start of clear-pointer tests
1828s ok 37 /utils/clear-pointer/side-effects
1828s # End of clear-pointer tests
1828s # Start of aligned-mem tests
1828s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1828s ok 38 /utils/aligned-mem/alignment
1828s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1828s ok 39 /utils/aligned-mem/zeroed
1828s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1828s ok 40 /utils/aligned-mem/free-sized
1828s # Start of subprocess tests
1828s # End of subprocess tests
1828s # End of aligned-mem tests
1828s # End of utils tests
1828s ok - glib/utils-c-99.test
1828s # Running test: glib/repository-search-paths.test
1828s TAP version 14
1828s # random seed: R02S602c08e99ac3cb7d410d254b14dbf118
1828s 1..4
1828s # Start of repository tests
1828s # Start of search-paths tests
1828s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/home
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/cache
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/system-config2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/config
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/system-data2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/data
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/state
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/default/.dirs/runtime
1828s ok 1 /repository/search-paths/default
1828s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/home
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/cache
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/system-config2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/config
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/system-data2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/data
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/state
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_AB51X2/repository/search-paths/prepend/.dirs/runtime
1828s ok 2 /repository/search-paths/prepend
1828s # End of search-paths tests
1828s # Start of library-paths tests
1828s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/home
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/cache
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/system-config2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/config
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/system-data2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/data
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/state
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/default/.dirs/runtime
1828s ok 3 /repository/library-paths/default
1828s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/home
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/cache
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/system-config2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/config
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/system-data2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/data
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/state
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_AB51X2/repository/library-paths/prepend/.dirs/runtime
1828s ok 4 /repository/library-paths/prepend
1828s # End of library-paths tests
1828s # End of repository tests
1828s ok - glib/repository-search-paths.test
1828s # Running test: glib/object-info.test
1828s TAP version 14
1828s # random seed: R02S260c5e749b71350865e643492f531f72
1828s 1..2
1828s # Start of object-info tests
1828s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/home
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/cache
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/system-config2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/config
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/system-data2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/data
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/state
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_S401X2/object-info/find-method-using-interfaces/.dirs/runtime
1828s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1828s ok 1 /object-info/find-method-using-interfaces
1828s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/home
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/cache
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/system-config2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/config
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/system-data2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/data
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/state
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_S401X2/object-info/find-vfunc-using-interfaces/.dirs/runtime
1828s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1828s ok 2 /object-info/find-vfunc-using-interfaces
1828s # End of object-info tests
1828s ok - glib/object-info.test
1828s # Running test: glib/mapping.test
1828s TAP version 14
1828s # random seed: R02Sd12cd01814b82babf94a49ee92c9a775
1828s 1..3
1828s # Start of mapping tests
1828s # test_mapping: ok
1828s ok 1 /mapping/flags
1828s ok 2 /mapping/private
1828s # test_child_private: child spawned
1828s # Subtest: /usr/libexec/installed-tests/glib/mapping
1828s # random seed: R02S6a60a2dcdbba97b5f13e786dae4b1caa
1828s # test_child_private: received first child signal
1828s # test_child_private: received parent signal
1828s # Child exited with status 0
1828s # test_child_private: received second child signal
1828s ok 3 /mapping/private-child
1828s # End of mapping tests
1828s ok - glib/mapping.test
1828s # Running test: glib/static-link.test
1828s Test disabled because GLIB_TEST_COMPILATION is not set in the env.
1828s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env,
1828s and make sure you have glib build dependencies installed, including
1828s meson.
1828s ok # SKIP - glib/static-link.test
1828s # Running test: glib/gdbus-proxy-unique-name.test
1828s TAP version 14
1828s # random seed: R02S3cae4b8292311cef011a661d2d52ad20
1828s 1..1
1828s # Start of gdbus tests
1828s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/home
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/cache
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/system-config2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/config
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/system-data2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/data
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/state
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_R8O0X2/gdbus/proxy-unique-name/.dirs/runtime
1828s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1828s ok 1 /gdbus/proxy-unique-name
1828s # End of gdbus tests
1828s ok - glib/gdbus-proxy-unique-name.test
1828s # Running test: glib/gdbus-proxy.test
1828s TAP version 14
1828s # random seed: R02S81c49d0d0d7d899e0d91cb152712bbcb
1828s 1..5
1828s # Start of gdbus tests
1828s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/home
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/cache
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/system-config2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/config
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/system-data2
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/data
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/state
1828s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/.dirs/runtime
1828s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1830s ok 1 /gdbus/proxy
1830s # slow test /gdbus/proxy executed in 1.73 secs
1830s # Start of proxy tests
1830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/home
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/cache
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/system-config2
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/config
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/system-data2
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/data
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/state
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-properties/.dirs/runtime
1830s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1830s ok 2 /gdbus/proxy/no-properties
1830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/home
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/cache
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/system-config2
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/config
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/system-data2
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/data
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/state
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/wellknown-noauto/.dirs/runtime
1830s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1830s ok 3 /gdbus/proxy/wellknown-noauto
1830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/home
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/cache
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/system-config2
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/config
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/system-data2
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/data
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/state
1830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/async/.dirs/runtime
1830s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1831s ok 4 /gdbus/proxy/async
1831s # slow test /gdbus/proxy/async executed in 1.73 secs
1831s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/home
1831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/cache
1831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/system-config2
1831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/config
1831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/system-data2
1831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/data
1831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/state
1831s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_80W0X2/gdbus/proxy/no-match-rule/.dirs/runtime
1831s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works
1831s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109
1831s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1831s # Executing: glib/gdbus-proxy.test
1833s ok 5 /gdbus/proxy/no-match-rule
1833s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs
1833s # End of proxy tests
1833s # End of gdbus tests
1833s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1833s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1833s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1833s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1833s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1833s ok - glib/gdbus-proxy.test
1833s # Running test: glib/power-profile-monitor-portal.test
1834s TAP version 13
1834s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available
1834s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available
1834s 1..2
1834s ok - glib/power-profile-monitor-portal.test
1834s # Running test: glib/io-channel-basic.test
1834s TAP version 14
1834s # random seed: R02S31982d2482c34b106214851037d7ae30
1834s 1..1
1834s # Start of gio tests
1834s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1834s # random seed: R02S79fcf50d0fdf48516ddf41c5c19a999b
1834s # GLib-DEBUG: io-channel-basic: child writing 8+3620 bytes to 6
1834s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1834s # GLib-DEBUG: io-channel-basic: ...from 5: 3620 bytes
1834s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1834s # GLib-DEBUG: io-channel-basic: child writing 8+4345 bytes to 6
1834s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1834s # GLib-DEBUG: io-channel-basic: ...from 5: 4345 bytes
1834s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1834s # GLib-DEBUG: io-channel-basic: child writing 8+2249 bytes to 6
1834s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1834s # GLib-DEBUG: io-channel-basic: ...from 5: 2249 bytes
1834s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1835s # GLib-DEBUG: io-channel-basic: child writing 8+3619 bytes to 6
1835s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1835s # GLib-DEBUG: io-channel-basic: ...from 5: 3619 bytes
1835s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1835s # GLib-DEBUG: io-channel-basic: child writing 8+2793 bytes to 6
1835s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1835s # GLib-DEBUG: io-channel-basic: ...from 5: 2793 bytes
1835s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1835s # GLib-DEBUG: io-channel-basic: child writing 8+2320 bytes to 6
1835s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1835s # GLib-DEBUG: io-channel-basic: ...from 5: 2320 bytes
1835s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1836s # GLib-DEBUG: io-channel-basic: child writing 8+2966 bytes to 6
1836s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1836s # GLib-DEBUG: io-channel-basic: ...from 5: 2966 bytes
1836s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1836s # GLib-DEBUG: io-channel-basic: child writing 8+4025 bytes to 6
1836s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1836s # GLib-DEBUG: io-channel-basic: ...from 5: 4025 bytes
1836s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1836s # GLib-DEBUG: io-channel-basic: child writing 8+2633 bytes to 6
1836s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1836s # GLib-DEBUG: io-channel-basic: ...from 5: 2633 bytes
1836s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1836s # GLib-DEBUG: io-channel-basic: child writing 8+4281 bytes to 6
1836s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1836s # GLib-DEBUG: io-channel-basic: ...from 5: 4281 bytes
1836s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1836s # Executing: glib/io-channel-basic.test
1837s # GLib-DEBUG: io-channel-basic: child writing 8+1972 bytes to 6
1837s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1837s # GLib-DEBUG: io-channel-basic: ...from 5: 1972 bytes
1837s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1837s # GLib-DEBUG: io-channel-basic: child writing 8+4211 bytes to 6
1837s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1837s # GLib-DEBUG: io-channel-basic: ...from 5: 4211 bytes
1837s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1837s # GLib-DEBUG: io-channel-basic: child writing 8+2443 bytes to 6
1837s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1837s # GLib-DEBUG: io-channel-basic: ...from 5: 2443 bytes
1837s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1837s # GLib-DEBUG: io-channel-basic: child writing 8+1837 bytes to 6
1837s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1837s # GLib-DEBUG: io-channel-basic: ...from 5: 1837 bytes
1837s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1838s # GLib-DEBUG: io-channel-basic: child writing 8+3393 bytes to 6
1838s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1838s # GLib-DEBUG: io-channel-basic: ...from 5: 3393 bytes
1838s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1838s # GLib-DEBUG: io-channel-basic: child writing 8+1994 bytes to 6
1838s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1838s # GLib-DEBUG: io-channel-basic: ...from 5: 1994 bytes
1838s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1838s # GLib-DEBUG: io-channel-basic: child writing 8+3956 bytes to 6
1838s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1838s # GLib-DEBUG: io-channel-basic: ...from 5: 3956 bytes
1838s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1838s # GLib-DEBUG: io-channel-basic: child writing 8+3403 bytes to 6
1838s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1838s # GLib-DEBUG: io-channel-basic: ...from 5: 3403 bytes
1838s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1839s # GLib-DEBUG: io-channel-basic: child writing 8+2695 bytes to 6
1839s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1839s # GLib-DEBUG: io-channel-basic: ...from 5: 2695 bytes
1839s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1839s # GLib-DEBUG: io-channel-basic: child writing 8+82 bytes to 6
1839s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1839s # GLib-DEBUG: io-channel-basic: ...from 5: 82 bytes
1839s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1839s # GLib-DEBUG: io-channel-basic: child writing 8+3899 bytes to 6
1839s # GLib-DEBUG: io-channel-basic: ...from 5: IN
1839s # GLib-DEBUG: io-channel-basic: ...from 5: 3899 bytes
1839s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1839s # GLib-DEBUG: io-channel-basic: child writing 8+3348 bytes to 6
1839s # GLib-DEBUG: io-channel-basic: child exiting, closing 6
1839s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN
1839s # GLib-DEBUG: io-channel-basic: ...from 5: 3348 bytes
1839s # GLib-DEBUG: io-channel-basic: ...from 5: OK
1839s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1839s # random seed: R02Sfef2f09141f49a20426ad4a46b4ebc30
1839s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1839s # random seed: R02Sb9d7fb3117b1e2c58c7d7b7b500e3e02
1839s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1839s # random seed: R02Sd42e7b4ede8b7e50671397a268a74e66
1839s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1839s # random seed: R02S4018bf77d039904d4970d1d22182bcbc
1839s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
1839s # random seed: R02S9a4bb3e23aa13aab1354e2187e52c9c4
1840s # GLib-DEBUG: io-channel-basic: child writing 8+1702 bytes to 11
1840s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 10: 1702 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+3146 bytes to 13
1840s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 12: 3146 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+1929 bytes to 15
1840s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 14: 1929 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+3626 bytes to 17
1840s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 16: 3626 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+257 bytes to 9
1840s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 8: 257 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+699 bytes to 11
1840s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 10: 699 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+2784 bytes to 13
1840s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 12: 2784 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+5 bytes to 15
1840s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 14: 5 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+2910 bytes to 9
1840s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 8: 2910 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+4720 bytes to 17
1840s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 16: 4720 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+4952 bytes to 11
1840s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 10: 4952 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+2730 bytes to 15
1840s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 14: 2730 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+2983 bytes to 13
1840s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 12: 2983 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+1615 bytes to 9
1840s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 8: 1615 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+2941 bytes to 17
1840s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 16: 2941 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+3248 bytes to 11
1840s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1840s # GLib-DEBUG: io-channel-basic: ...from 10: 3248 bytes
1840s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1840s # GLib-DEBUG: io-channel-basic: child writing 8+1982 bytes to 13
1841s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 12: 1982 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+4704 bytes to 15
1841s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 14: 4704 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+3236 bytes to 9
1841s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 8: 3236 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+4950 bytes to 17
1841s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 16: 4950 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+220 bytes to 11
1841s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 10: 220 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+4942 bytes to 13
1841s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 12: 4942 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+1709 bytes to 15
1841s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 14: 1709 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+4244 bytes to 9
1841s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 8: 4244 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+3207 bytes to 17
1841s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 16: 3207 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+4261 bytes to 11
1841s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 10: 4261 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+1673 bytes to 9
1841s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 8: 1673 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+4288 bytes to 15
1841s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 14: 4288 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+658 bytes to 13
1841s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 12: 658 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+2459 bytes to 17
1841s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 16: 2459 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+4756 bytes to 11
1841s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 10: 4756 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+3798 bytes to 15
1841s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 14: 3798 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+1349 bytes to 9
1841s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 8: 1349 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+3460 bytes to 13
1841s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 12: 3460 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1841s # GLib-DEBUG: io-channel-basic: child writing 8+3761 bytes to 17
1841s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1841s # GLib-DEBUG: io-channel-basic: ...from 16: 3761 bytes
1841s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1841s # Executing: glib/io-channel-basic.test
1842s # GLib-DEBUG: io-channel-basic: child writing 8+4805 bytes to 11
1842s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 10: 4805 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+4787 bytes to 9
1842s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 8: 4787 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+726 bytes to 15
1842s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 14: 726 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+4345 bytes to 13
1842s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 12: 4345 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+315 bytes to 17
1842s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 16: 315 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+3161 bytes to 11
1842s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 10: 3161 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+4482 bytes to 9
1842s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 8: 4482 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+1059 bytes to 15
1842s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 14: 1059 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+69 bytes to 13
1842s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 12: 69 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+398 bytes to 17
1842s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 16: 398 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+3506 bytes to 11
1842s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 10: 3506 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+4668 bytes to 15
1842s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 14: 4668 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+3859 bytes to 9
1842s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 8: 3859 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+3881 bytes to 13
1842s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 12: 3881 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+4190 bytes to 17
1842s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 16: 4190 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+2119 bytes to 11
1842s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 10: 2119 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+3720 bytes to 9
1842s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 8: 3720 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+2755 bytes to 13
1842s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 12: 2755 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+4406 bytes to 15
1842s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 14: 4406 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1842s # GLib-DEBUG: io-channel-basic: child writing 8+4318 bytes to 17
1842s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1842s # GLib-DEBUG: io-channel-basic: ...from 16: 4318 bytes
1842s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+1740 bytes to 11
1843s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 10: 1740 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+4663 bytes to 9
1843s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 8: 4663 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+2838 bytes to 13
1843s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 12: 2838 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+2566 bytes to 17
1843s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 16: 2566 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+2157 bytes to 15
1843s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 14: 2157 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+1550 bytes to 11
1843s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 10: 1550 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+897 bytes to 13
1843s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 12: 897 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+1093 bytes to 9
1843s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 8: 1093 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+3984 bytes to 15
1843s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 14: 3984 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+3155 bytes to 17
1843s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 16: 3155 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+2488 bytes to 11
1843s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 10: 2488 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+3662 bytes to 13
1843s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 12: 3662 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+2193 bytes to 9
1843s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 8: 2193 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+2475 bytes to 15
1843s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 14: 2475 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+2026 bytes to 17
1843s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 16: 2026 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+684 bytes to 11
1843s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 10: 684 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+4609 bytes to 13
1843s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 12: 4609 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+3721 bytes to 15
1843s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 14: 3721 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+125 bytes to 9
1843s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 8: 125 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1843s # GLib-DEBUG: io-channel-basic: child writing 8+2497 bytes to 17
1843s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1843s # GLib-DEBUG: io-channel-basic: ...from 16: 2497 bytes
1843s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+4596 bytes to 11
1844s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 10: 4596 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+2930 bytes to 13
1844s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 12: 2930 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+3897 bytes to 9
1844s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 8: 3897 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+398 bytes to 15
1844s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 14: 398 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+4408 bytes to 17
1844s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 16: 4408 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+199 bytes to 11
1844s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 10: 199 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+4036 bytes to 13
1844s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 12: 4036 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+4730 bytes to 15
1844s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 14: 4730 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+4141 bytes to 9
1844s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 8: 4141 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+1430 bytes to 17
1844s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 16: 1430 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+4554 bytes to 11
1844s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 10: 4554 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+4404 bytes to 13
1844s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 12: 4404 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+2075 bytes to 9
1844s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 8: 2075 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+4690 bytes to 15
1844s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 14: 4690 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+1443 bytes to 17
1844s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 16: 1443 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+330 bytes to 11
1844s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 10: 330 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+1720 bytes to 13
1844s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 12: 1720 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+2482 bytes to 9
1844s # GLib-DEBUG: io-channel-basic: ...from 8: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 8: 2482 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+17 bytes to 15
1844s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 14: 17 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1844s # GLib-DEBUG: io-channel-basic: child writing 8+3810 bytes to 17
1844s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1844s # GLib-DEBUG: io-channel-basic: ...from 16: 3810 bytes
1844s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+1035 bytes to 11
1845s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 10: 1035 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+427 bytes to 13
1845s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 12: 427 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+442 bytes to 15
1845s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 14: 442 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+2063 bytes to 9
1845s # GLib-DEBUG: io-channel-basic: child exiting, closing 9
1845s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN
1845s # GLib-DEBUG: io-channel-basic: ...from 8: 2063 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 8: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+28 bytes to 17
1845s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 16: 28 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+3890 bytes to 11
1845s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 10: 3890 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+771 bytes to 13
1845s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 12: 771 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+4932 bytes to 15
1845s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 14: 4932 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+4682 bytes to 17
1845s # GLib-DEBUG: io-channel-basic: ...from 16: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 16: 4682 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+3935 bytes to 11
1845s # GLib-DEBUG: io-channel-basic: ...from 10: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 10: 3935 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+2851 bytes to 15
1845s # GLib-DEBUG: io-channel-basic: ...from 14: IN
1845s # GLib-DEBUG: io-channel-basic: child exiting, closing 15
1845s # GLib-DEBUG: io-channel-basic: ...from 14: 2851 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 14: OK
1845s # GLib-DEBUG: io-channel-basic: ...from 14: HUP
1845s # GLib-DEBUG: io-channel-basic: child writing 8+1495 bytes to 13
1845s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 12: 1495 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+2015 bytes to 17
1845s # GLib-DEBUG: io-channel-basic: child exiting, closing 17
1845s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN
1845s # GLib-DEBUG: io-channel-basic: ...from 16: 2015 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 16: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+2247 bytes to 11
1845s # GLib-DEBUG: io-channel-basic: child exiting, closing 11
1845s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN
1845s # GLib-DEBUG: io-channel-basic: ...from 10: 2247 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 10: OK
1845s # GLib-DEBUG: io-channel-basic: child writing 8+281 bytes to 13
1845s # GLib-DEBUG: io-channel-basic: ...from 12: IN
1845s # GLib-DEBUG: io-channel-basic: ...from 12: 281 bytes
1845s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1846s # GLib-DEBUG: io-channel-basic: child writing 8+2375 bytes to 13
1846s # GLib-DEBUG: io-channel-basic: child exiting, closing 13
1846s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN
1846s # GLib-DEBUG: io-channel-basic: ...from 12: 2375 bytes
1846s # GLib-DEBUG: io-channel-basic: ...from 12: OK
1846s ok 1 /gio/io-basics
1846s # slow test /gio/io-basics executed in 12.02 secs
1846s # End of gio tests
1846s ok - glib/io-channel-basic.test
1846s # Running test: glib/gdbus-serialization.test
1846s TAP version 14
1846s # random seed: R02S6fe62b3257cdce2f46fb21c3f94df1b9
1846s 1..18
1846s # Start of gdbus tests
1846s # Start of message-serialize tests
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/basic/.dirs/runtime
1846s ok 1 /gdbus/message-serialize/basic
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/complex/.dirs/runtime
1846s ok 2 /gdbus/message-serialize/complex
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/invalid/.dirs/runtime
1846s ok 3 /gdbus/message-serialize/invalid
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/.dirs/runtime
1846s ok 4 /gdbus/message-serialize/header-checks
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/double-array/.dirs/runtime
1846s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754
1846s ok 5 /gdbus/message-serialize/double-array
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/empty-structure/.dirs/runtime
1846s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing.
1846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
1846s ok 6 /gdbus/message-serialize/empty-structure
1846s # Start of header-checks tests
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-serialize/header-checks/valid/.dirs/runtime
1846s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types
1846s ok 7 /gdbus/message-serialize/header-checks/valid
1846s # End of header-checks tests
1846s # End of message-serialize tests
1846s # Start of message-parse tests
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime
1846s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612
1846s ok 8 /gdbus/message-parse/empty-arrays-of-arrays
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/non-signature-header/.dirs/runtime
1846s ok 9 /gdbus/message-parse/non-signature-header
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-signature-header/.dirs/runtime
1846s ok 10 /gdbus/message-parse/empty-signature-header
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/multiple-signature-header/.dirs/runtime
1846s ok 11 /gdbus/message-parse/multiple-signature-header
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/over-long-signature-header/.dirs/runtime
1846s ok 12 /gdbus/message-parse/over-long-signature-header
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-header-nesting/.dirs/runtime
1846s ok 13 /gdbus/message-parse/deep-header-nesting
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/deep-body-nesting/.dirs/runtime
1846s ok 14 /gdbus/message-parse/deep-body-nesting
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/truncated/.dirs/runtime
1846s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected.
1846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528
1846s ok 15 /gdbus/message-parse/truncated
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/empty-structure/.dirs/runtime
1846s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing.
1846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
1846s ok 16 /gdbus/message-parse/empty-structure
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/missing-header/.dirs/runtime
1846s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error.
1846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
1846s ok 17 /gdbus/message-parse/missing-header
1846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/home
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/cache
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/system-config2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/config
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/system-data2
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/data
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/state
1846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A9X3X2/gdbus/message-parse/invalid-header-type/.dirs/runtime
1846s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked.
1846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
1846s ok 18 /gdbus/message-parse/invalid-header-type
1846s # End of message-parse tests
1846s # End of gdbus tests
1846s ok - glib/gdbus-serialization.test
1846s # Running test: glib/custom-dispatch.test
1846s TAP version 14
1846s # random seed: R02S2c091e5b9fa2208dc1e9d2ad63e35c7c
1846s 1..2
1846s # Start of properties tests
1846s # Start of custom-dispatch tests
1846s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization
1846s ok 1 /properties/custom-dispatch/init
1846s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers
1846s ok 2 /properties/custom-dispatch/set
1846s # End of custom-dispatch tests
1846s # End of properties tests
1846s ok - glib/custom-dispatch.test
1846s # Running test: glib/autoptr.test
1846s TAP version 14
1846s # random seed: R02S8b2608045fedcd42982441a0716e3611
1846s 1..6
1846s # Start of autoptr tests
1846s ok 1 /autoptr/autoptr
1846s ok 2 /autoptr/autoptr_steal
1846s ok 3 /autoptr/autolist
1846s ok 4 /autoptr/autoslist
1846s ok 5 /autoptr/autoqueue
1846s ok 6 /autoptr/autoclass
1846s # End of autoptr tests
1846s ok - glib/autoptr.test
1846s # Running test: glib/fdo-notification-backend.test
1846s TAP version 14
1846s # random seed: R02S3b08a355bb7533acc02e016b860b7df3
1846s 1..2
1846s # Start of fdo-notification-backend tests
1846s # Test constructing a GFdoNotificationBackend
1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s ok 1 /fdo-notification-backend/construction
1846s # Start of dbus tests
1846s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s ok 2 /fdo-notification-backend/dbus/activate-action
1846s # End of dbus tests
1846s # End of fdo-notification-backend tests
1846s ok - glib/fdo-notification-backend.test
1846s # Running test: glib/actions.test
1846s TAP version 14
1846s # random seed: R02S30ec69729de075da4a6f920ff9963a6b
1846s 1..13
1846s # Start of actions tests
1846s ok 1 /actions/basic
1846s ok 2 /actions/name
1846s ok 3 /actions/simplegroup
1846s ok 4 /actions/stateful
1846s ok 5 /actions/default-activate
1846s ok 6 /actions/entries
1846s ok 7 /actions/parse-detailed
1846s ok 8 /actions/property
1846s ok 9 /actions/no-properties
1846s # Start of dbus tests
1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s ok 10 /actions/dbus/export
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1846s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1846s # Executing: glib/actions.test
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s ok 11 /actions/dbus/threaded
1848s # slow test /actions/dbus/threaded executed in 2.12 secs
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s ok 12 /actions/dbus/bug679509
1848s # Start of export tests
1848s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works
1848s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1848s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1848s ok 13 /actions/dbus/export/error-handling
1848s # End of export tests
1848s # End of dbus tests
1848s # End of actions tests
1848s ok - glib/actions.test
1848s # Running test: glib/g-file-info.test
1848s TAP version 14
1848s # random seed: R02S407cf3cf381ef9f135f7c33f6a6a8f48
1848s 1..6
1848s # Start of g-file-info tests
1848s ok 1 /g-file-info/test_g_file_info
1848s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs
1848s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1848s ok 2 /g-file-info/xattrs
1848s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds
1848s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116
1848s ok 3 /g-file-info/set-modified-date-time-precision
1848s # Start of test_g_file_info tests
1848s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works.
1848s ok 4 /g-file-info/test_g_file_info/modification-time
1848s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works.
1848s ok 5 /g-file-info/test_g_file_info/access-time
1848s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works.
1848s ok 6 /g-file-info/test_g_file_info/creation-time
1848s # End of test_g_file_info tests
1848s # End of g-file-info tests
1848s ok - glib/g-file-info.test
1848s # Running test: glib/rcbox.test
1848s TAP version 14
1848s # random seed: R02Sf68820a8c0120ed887e0e7e743cbd5a8
1848s 1..8
1848s # Start of rcbox tests
1848s ok 1 /rcbox/new
1848s # global_point = 0x10d140b8
1848s ok 2 /rcbox/release-full
1848s # global_point_a = 0x10d140b8
1848s # global_point_b = 0x10d1bfb8
1848s ok 3 /rcbox/dup
1848s ok 4 /rcbox/alignment
1848s # End of rcbox tests
1848s # Start of atomic-rcbox tests
1848s ok 5 /atomic-rcbox/new
1848s # global_point = 0x10d14210
1848s ok 6 /atomic-rcbox/release-full
1848s # global_point_a = 0x10d14210
1848s # global_point_b = 0x10d141f0
1848s ok 7 /atomic-rcbox/dup
1848s ok 8 /atomic-rcbox/alignment
1848s # End of atomic-rcbox tests
1848s ok - glib/rcbox.test
1848s # Running test: glib/sort.test
1848s TAP version 14
1848s # random seed: R02S112411fec22b869bd45f83133c4073b2
1848s 1..5
1848s # Start of sort tests
1848s ok 1 /sort/basic
1848s ok 2 /sort/zero-elements
1848s ok 3 /sort/stable
1848s ok 4 /sort/big
1848s ok 5 /sort/deprecated
1848s # End of sort tests
1848s ok - glib/sort.test
1848s # Running test: glib/codegen.py.test
1848s TAP version 13
1848s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args
1848s # tmpdir: /tmp/tmpgc93xlnu
1848s # codegen: /usr/bin/gdbus-codegen
1848s # /tmp/tmpgc93xlnu/tmpd48iicrf.xml:
1848s #
1848s #
1848s #
1848s #
1848s #
1848s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc93xlnu/tmpd48iicrf.xml', '--output', '-', '--header']
1848s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1848s # Output: /*
1848s # * This file is generated by gdbus-codegen, do not modify it.
1848s # *
1848s # * The license of this code is the same as for the D-Bus interface description
1848s # * it was derived from. Note that it links to GLib, so must comply with the
1848s # * LGPL linking clauses.
1848s # */
1848s #
1848s # #ifndef __STDOUT__
1848s # #define __STDOUT__
1848s #
1848s # #include
1848s #
1848s # G_BEGIN_DECLS
1848s #
1848s #
1848s # /* ------------------------------------------------------------------------ */
1848s # /* Declarations for org.project.UsefulInterface */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1848s #
1848s # struct _OrgProjectUsefulInterface;
1848s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1848s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1848s #
1848s # struct _OrgProjectUsefulInterfaceIface
1848s # {
1848s # GTypeInterface parent_iface;
1848s #
1848s # gboolean (*handle_useful_method) (
1848s # OrgProjectUsefulInterface *object,
1848s # GDBusMethodInvocation *invocation);
1848s #
1848s # };
1848s #
1848s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1848s #
1848s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1848s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1848s #
1848s #
1848s # /* D-Bus method call completion functions: */
1848s # void org_project_useful_interface_complete_useful_method (
1848s # OrgProjectUsefulInterface *object,
1848s # GDBusMethodInvocation *invocation);
1848s #
1848s #
1848s #
1848s # /* D-Bus method calls: */
1848s # void org_project_useful_interface_call_useful_method (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s #
1848s # gboolean org_project_useful_interface_call_useful_method_finish (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GAsyncResult *res,
1848s # GError **error);
1848s #
1848s # gboolean org_project_useful_interface_call_useful_method_sync (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s #
1848s #
1848s # /* ---- */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1848s #
1848s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1848s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1848s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1848s #
1848s # struct _OrgProjectUsefulInterfaceProxy
1848s # {
1848s # /*< private >*/
1848s # GDBusProxy parent_instance;
1848s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1848s # };
1848s #
1848s # struct _OrgProjectUsefulInterfaceProxyClass
1848s # {
1848s # GDBusProxyClass parent_class;
1848s # };
1848s #
1848s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1848s #
1848s # #if GLIB_CHECK_VERSION(2, 44, 0)
1848s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1848s # #endif
1848s #
1848s # void org_project_useful_interface_proxy_new (
1848s # GDBusConnection *connection,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1848s # GAsyncResult *res,
1848s # GError **error);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1848s # GDBusConnection *connection,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s # void org_project_useful_interface_proxy_new_for_bus (
1848s # GBusType bus_type,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1848s # GAsyncResult *res,
1848s # GError **error);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1848s # GBusType bus_type,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s #
1848s # /* ---- */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1848s #
1848s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1848s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1848s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1848s #
1848s # struct _OrgProjectUsefulInterfaceSkeleton
1848s # {
1848s # /*< private >*/
1848s # GDBusInterfaceSkeleton parent_instance;
1848s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1848s # };
1848s #
1848s # struct _OrgProjectUsefulInterfaceSkeletonClass
1848s # {
1848s # GDBusInterfaceSkeletonClass parent_class;
1848s # };
1848s #
1848s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1848s #
1848s # #if GLIB_CHECK_VERSION(2, 44, 0)
1848s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1848s # #endif
1848s #
1848s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1848s #
1848s #
1848s # G_END_DECLS
1848s #
1848s # #endif /* __STDOUT__ */
1848s # /tmp/tmpgc93xlnu/tmpn8cv6_ah.xml:
1848s #
1848s #
1848s #
1848s #
1848s #
1848s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc93xlnu/tmpn8cv6_ah.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
1848s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1848s # Output: /*
1848s # * This file is generated by gdbus-codegen, do not modify it.
1848s # *
1848s # * The license of this code is the same as for the D-Bus interface description
1848s # * it was derived from. Note that it links to GLib, so must comply with the
1848s # * LGPL linking clauses.
1848s # */
1848s #
1848s # #ifndef __STDOUT__
1848s # #define __STDOUT__
1848s #
1848s # #include
1848s #
1848s # G_BEGIN_DECLS
1848s #
1848s #
1848s # /* ------------------------------------------------------------------------ */
1848s # /* Declarations for org.project.UsefulInterface */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1848s #
1848s # struct _OrgProjectUsefulInterface;
1848s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1848s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1848s #
1848s # struct _OrgProjectUsefulInterfaceIface
1848s # {
1848s # GTypeInterface parent_iface;
1848s #
1848s # gboolean (*handle_useful_method) (
1848s # OrgProjectUsefulInterface *object,
1848s # GDBusMethodInvocation *invocation);
1848s #
1848s # };
1848s #
1848s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1848s #
1848s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1848s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1848s #
1848s #
1848s # /* D-Bus method call completion functions: */
1848s # void org_project_useful_interface_complete_useful_method (
1848s # OrgProjectUsefulInterface *object,
1848s # GDBusMethodInvocation *invocation);
1848s #
1848s #
1848s #
1848s # /* D-Bus method calls: */
1848s # void org_project_useful_interface_call_useful_method (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s #
1848s # gboolean org_project_useful_interface_call_useful_method_finish (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GAsyncResult *res,
1848s # GError **error);
1848s #
1848s # gboolean org_project_useful_interface_call_useful_method_sync (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s #
1848s #
1848s # /* ---- */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1848s #
1848s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1848s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1848s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1848s #
1848s # struct _OrgProjectUsefulInterfaceProxy
1848s # {
1848s # /*< private >*/
1848s # GDBusProxy parent_instance;
1848s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1848s # };
1848s #
1848s # struct _OrgProjectUsefulInterfaceProxyClass
1848s # {
1848s # GDBusProxyClass parent_class;
1848s # };
1848s #
1848s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1848s #
1848s # #if GLIB_CHECK_VERSION(2, 44, 0)
1848s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1848s # #endif
1848s #
1848s # void org_project_useful_interface_proxy_new (
1848s # GDBusConnection *connection,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1848s # GAsyncResult *res,
1848s # GError **error);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1848s # GDBusConnection *connection,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s # void org_project_useful_interface_proxy_new_for_bus (
1848s # GBusType bus_type,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1848s # GAsyncResult *res,
1848s # GError **error);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1848s # GBusType bus_type,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s #
1848s # /* ---- */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1848s #
1848s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1848s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1848s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1848s #
1848s # struct _OrgProjectUsefulInterfaceSkeleton
1848s # {
1848s # /*< private >*/
1848s # GDBusInterfaceSkeleton parent_instance;
1848s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1848s # };
1848s #
1848s # struct _OrgProjectUsefulInterfaceSkeletonClass
1848s # {
1848s # GDBusInterfaceSkeletonClass parent_class;
1848s # };
1848s #
1848s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1848s #
1848s # #if GLIB_CHECK_VERSION(2, 44, 0)
1848s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1848s # #endif
1848s #
1848s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1848s #
1848s #
1848s # G_END_DECLS
1848s #
1848s # #endif /* __STDOUT__ */
1848s # /tmp/tmpgc93xlnu/tmpwn0f7pvi.xml:
1848s #
1848s #
1848s #
1848s #
1848s #
1848s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc93xlnu/tmpwn0f7pvi.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
1848s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1848s # Output: /*
1848s # * This file is generated by gdbus-codegen, do not modify it.
1848s # *
1848s # * The license of this code is the same as for the D-Bus interface description
1848s # * it was derived from. Note that it links to GLib, so must comply with the
1848s # * LGPL linking clauses.
1848s # */
1848s #
1848s # #ifndef __STDOUT__
1848s # #define __STDOUT__
1848s #
1848s # #include
1848s #
1848s # G_BEGIN_DECLS
1848s #
1848s #
1848s # /* ------------------------------------------------------------------------ */
1848s # /* Declarations for org.project.UsefulInterface */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1848s #
1848s # struct _OrgProjectUsefulInterface;
1848s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1848s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1848s #
1848s # struct _OrgProjectUsefulInterfaceIface
1848s # {
1848s # GTypeInterface parent_iface;
1848s #
1848s # gboolean (*handle_useful_method) (
1848s # OrgProjectUsefulInterface *object,
1848s # GDBusMethodInvocation *invocation);
1848s #
1848s # };
1848s #
1848s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1848s #
1848s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1848s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1848s #
1848s #
1848s # /* D-Bus method call completion functions: */
1848s # void org_project_useful_interface_complete_useful_method (
1848s # OrgProjectUsefulInterface *object,
1848s # GDBusMethodInvocation *invocation);
1848s #
1848s #
1848s #
1848s # /* D-Bus method calls: */
1848s # void org_project_useful_interface_call_useful_method (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GDBusCallFlags call_flags,
1848s # gint timeout_msec,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s #
1848s # gboolean org_project_useful_interface_call_useful_method_finish (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GAsyncResult *res,
1848s # GError **error);
1848s #
1848s # gboolean org_project_useful_interface_call_useful_method_sync (
1848s # OrgProjectUsefulInterface *proxy,
1848s # GDBusCallFlags call_flags,
1848s # gint timeout_msec,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s #
1848s #
1848s # /* ---- */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1848s #
1848s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1848s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1848s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1848s #
1848s # struct _OrgProjectUsefulInterfaceProxy
1848s # {
1848s # /*< private >*/
1848s # GDBusProxy parent_instance;
1848s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1848s # };
1848s #
1848s # struct _OrgProjectUsefulInterfaceProxyClass
1848s # {
1848s # GDBusProxyClass parent_class;
1848s # };
1848s #
1848s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1848s #
1848s # #if GLIB_CHECK_VERSION(2, 44, 0)
1848s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1848s # #endif
1848s #
1848s # void org_project_useful_interface_proxy_new (
1848s # GDBusConnection *connection,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1848s # GAsyncResult *res,
1848s # GError **error);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1848s # GDBusConnection *connection,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s # void org_project_useful_interface_proxy_new_for_bus (
1848s # GBusType bus_type,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GAsyncReadyCallback callback,
1848s # gpointer user_data);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1848s # GAsyncResult *res,
1848s # GError **error);
1848s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1848s # GBusType bus_type,
1848s # GDBusProxyFlags flags,
1848s # const gchar *name,
1848s # const gchar *object_path,
1848s # GCancellable *cancellable,
1848s # GError **error);
1848s #
1848s #
1848s # /* ---- */
1848s #
1848s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1848s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1848s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1848s #
1848s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1848s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1848s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1848s #
1848s # struct _OrgProjectUsefulInterfaceSkeleton
1848s # {
1848s # /*< private >*/
1848s # GDBusInterfaceSkeleton parent_instance;
1848s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1848s # };
1848s #
1848s # struct _OrgProjectUsefulInterfaceSkeletonClass
1848s # {
1848s # GDBusInterfaceSkeletonClass parent_class;
1848s # };
1848s #
1848s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1848s #
1848s # #if GLIB_CHECK_VERSION(2, 44, 0)
1848s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1848s # #endif
1848s #
1848s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1848s #
1848s #
1848s # G_END_DECLS
1848s #
1848s # #endif /* __STDOUT__ */
1849s ok 2 __main__.TestCodegen.test_dbus_types
1849s # tmpdir: /tmp/tmp9tq2myb2
1849s # codegen: /usr/bin/gdbus-codegen
1849s # /tmp/tmp9tq2myb2/tmpp1vybnwb.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmpp1vybnwb.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmppvmpldys.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmppvmpldys.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmpim6xw19v.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmpim6xw19v.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmpe20luiek.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmpe20luiek.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmprzo8ttpr.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmprzo8ttpr.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmpe0lfib1n.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmpe0lfib1n.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmpyfzvxtb1.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmpyfzvxtb1.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmpot2golo6.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmpot2golo6.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmp_xv9xmsu.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmp_xv9xmsu.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmp4k9tvblb.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmp4k9tvblb.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmp5vqr1ewj.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmp5vqr1ewj.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmpa__g0hgi.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmpa__g0hgi.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmp3w4hrhsj.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmp3w4hrhsj.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # /tmp/tmp9tq2myb2/tmpkuk9407v.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmpkuk9407v.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output: /*
1849s # * This file is generated by gdbus-codegen, do not modify it.
1849s # *
1849s # * The license of this code is the same as for the D-Bus interface description
1849s # * it was derived from. Note that it links to GLib, so must comply with the
1849s # * LGPL linking clauses.
1849s # */
1849s #
1849s # #ifdef HAVE_CONFIG_H
1849s # # include "config.h"
1849s # #endif
1849s #
1849s # #include
1849s # #ifdef G_OS_UNIX
1849s # # include
1849s # #endif
1849s #
1849s # #ifdef G_ENABLE_DEBUG
1849s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1849s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1849s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1849s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1849s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1849s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1849s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1849s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1849s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1849s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1849s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1849s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1849s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1849s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1849s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1849s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1849s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1849s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1849s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1849s # #else /* !G_ENABLE_DEBUG */
1849s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1849s # * Do not access GValues directly in your code. Instead, use the
1849s # * g_value_get_*() functions
1849s # */
1849s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1849s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1849s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1849s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1849s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1849s # #endif /* !G_ENABLE_DEBUG */
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusArgInfo parent_struct;
1849s # gboolean use_gvariant;
1849s # } _ExtendedGDBusArgInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusMethodInfo parent_struct;
1849s # const gchar *signal_name;
1849s # gboolean pass_fdlist;
1849s # } _ExtendedGDBusMethodInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusSignalInfo parent_struct;
1849s # const gchar *signal_name;
1849s # } _ExtendedGDBusSignalInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusPropertyInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # guint use_gvariant : 1;
1849s # guint emits_changed_signal : 1;
1849s # } _ExtendedGDBusPropertyInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusInterfaceInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # } _ExtendedGDBusInterfaceInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # guint prop_id;
1849s # GValue orig_value; /* the value before the change */
1849s # } ChangedProperty;
1849s #
1849s # static void
1849s # _changed_property_free (ChangedProperty *data)
1849s # {
1849s # g_value_unset (&data->orig_value);
1849s # g_free (data);
1849s # }
1849s #
1849s # static gboolean
1849s # _g_strv_equal0 (gchar **a, gchar **b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # guint n;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # if (g_strv_length (a) != g_strv_length (b))
1849s # goto out;
1849s # for (n = 0; a[n] != NULL; n++)
1849s # if (g_strcmp0 (a[n], b[n]) != 0)
1849s # goto out;
1849s # ret = TRUE;
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _g_variant_equal0 (GVariant *a, GVariant *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # ret = g_variant_equal (a, b);
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # G_GNUC_UNUSED static gboolean
1849s # _g_value_equal (const GValue *a, const GValue *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1849s # switch (G_VALUE_TYPE (a))
1849s # {
1849s # case G_TYPE_BOOLEAN:
1849s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1849s # break;
1849s # case G_TYPE_UCHAR:
1849s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1849s # break;
1849s # case G_TYPE_INT:
1849s # ret = (g_value_get_int (a) == g_value_get_int (b));
1849s # break;
1849s # case G_TYPE_UINT:
1849s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1849s # break;
1849s # case G_TYPE_INT64:
1849s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1849s # break;
1849s # case G_TYPE_UINT64:
1849s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1849s # break;
1849s # case G_TYPE_DOUBLE:
1849s # {
1849s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1849s # gdouble da = g_value_get_double (a);
1849s # gdouble db = g_value_get_double (b);
1849s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1849s # }
1849s # break;
1849s # case G_TYPE_STRING:
1849s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1849s # break;
1849s # case G_TYPE_VARIANT:
1849s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1849s # break;
1849s # default:
1849s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1849s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1849s # else
1849s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1849s # break;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------
1849s # * Code for interface GoodTypes
1849s # * ------------------------------------------------------------------------
1849s # */
1849s #
1849s # /**
1849s # * SECTION:GoodTypes
1849s # * @title: GoodTypes
1849s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1849s # *
1849s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1849s # */
1849s #
1849s # /* ---- Introspection data for GoodTypes ---- */
1849s #
1849s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "GoodPropertyType",
1849s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}",
1849s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1849s # NULL
1849s # },
1849s # "good-property-type",
1849s # FALSE,
1849s # TRUE
1849s # };
1849s #
1849s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1849s # {
1849s # &_good_types_property_info_good_property_type.parent_struct,
1849s # NULL
1849s # };
1849s #
1849s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "GoodTypes",
1849s # NULL,
1849s # NULL,
1849s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1849s # NULL
1849s # },
1849s # "good-types",
1849s # };
1849s #
1849s #
1849s # /**
1849s # * good_types_interface_info:
1849s # *
1849s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1849s # *
1849s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1849s # */
1849s # GDBusInterfaceInfo *
1849s # good_types_interface_info (void)
1849s # {
1849s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1849s # }
1849s #
1849s # /**
1849s # * good_types_override_properties:
1849s # * @klass: The class structure for a #GObject derived class.
1849s # * @property_id_begin: The property id to assign to the first overridden property.
1849s # *
1849s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1849s # * The properties are overridden in the order they are defined.
1849s # *
1849s # * Returns: The last property id.
1849s # */
1849s # guint
1849s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1849s # {
1849s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1849s # return property_id_begin - 1;
1849s # }
1849s #
1849s #
1849s #
1849s # /**
1849s # * GoodTypes:
1849s # *
1849s # * Abstract interface type for the D-Bus interface GoodTypes.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesIface:
1849s # * @parent_iface: The parent interface.
1849s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1849s # *
1849s # * Virtual table for the D-Bus interface GoodTypes.
1849s # */
1849s #
1849s # typedef GoodTypesIface GoodTypesInterface;
1849s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1849s #
1849s # static void
1849s # good_types_default_init (GoodTypesIface *iface)
1849s # {
1849s # /* GObject properties for D-Bus properties: */
1849s # /**
1849s # * GoodTypes:good-property-type:
1849s # *
1849s # * Represents the D-Bus property "GoodPropertyType".
1849s # *
1849s # * 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.
1849s # */
1849s # g_object_interface_install_property (iface,
1849s # 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));
1849s # }
1849s #
1849s # /**
1849s # * good_types_get_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # *
1849s # * Gets the value of the "GoodPropertyType" D-Bus property.
1849s # *
1849s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1849s # *
1849s # * 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.
1849s # *
1849s # * 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.
1849s # */
1849s # GVariant *
1849s # good_types_get_good_property_type (GoodTypes *object)
1849s # {
1849s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1849s #
1849s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1849s # }
1849s #
1849s # /**
1849s # * good_types_dup_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # *
1849s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1849s # *
1849s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1849s # *
1849s # * 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().
1849s # */
1849s # GVariant *
1849s # good_types_dup_good_property_type (GoodTypes *object)
1849s # {
1849s # GVariant *value;
1849s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1849s # return value;
1849s # }
1849s #
1849s # /**
1849s # * good_types_set_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # * @value: The value to set.
1849s # *
1849s # * Sets the "GoodPropertyType" D-Bus property to @value.
1849s # *
1849s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1849s # */
1849s # void
1849s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1849s # {
1849s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * GoodTypesProxy:
1849s # *
1849s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesProxyClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for GoodTypesProxy.
1849s # */
1849s #
1849s # struct _GoodTypesProxyPrivate
1849s # {
1849s # GData *qdata;
1849s # };
1849s #
1849s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1849s # G_ADD_PRIVATE (GoodTypesProxy)
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # good_types_proxy_finalize (GObject *object)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1849s # g_datalist_clear (&proxy->priv->qdata);
1849s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_get_property (GObject *object,
1849s # guint prop_id,
1849s # GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *variant;
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1849s # if (info->use_gvariant)
1849s # {
1849s # g_value_set_variant (value, variant);
1849s # }
1849s # else
1849s # {
1849s # if (variant != NULL)
1849s # g_dbus_gvariant_to_gvalue (variant, value);
1849s # }
1849s # if (variant != NULL)
1849s # g_variant_unref (variant);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1849s # GAsyncResult *res,
1849s # gpointer user_data)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info = user_data;
1849s # GError *error;
1849s # GVariant *_ret;
1849s # error = NULL;
1849s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1849s # if (!_ret)
1849s # {
1849s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1849s # info->parent_struct.name,
1849s # error->message, g_quark_to_string (error->domain), error->code);
1849s # g_error_free (error);
1849s # }
1849s # else
1849s # {
1849s # g_variant_unref (_ret);
1849s # }
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_set_property (GObject *object,
1849s # guint prop_id,
1849s # const GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *variant;
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1849s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1849s # "org.freedesktop.DBus.Properties.Set",
1849s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1849s # G_DBUS_CALL_FLAGS_NONE,
1849s # -1,
1849s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1849s # g_variant_unref (variant);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_g_signal (GDBusProxy *proxy,
1849s # const gchar *sender_name G_GNUC_UNUSED,
1849s # const gchar *signal_name,
1849s # GVariant *parameters)
1849s # {
1849s # _ExtendedGDBusSignalInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # gsize n;
1849s # guint signal_id;
1849s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1849s # if (info == NULL)
1849s # return;
1849s # num_params = g_variant_n_children (parameters);
1849s # paramv = g_new0 (GValue, num_params + 1);
1849s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1849s # g_value_set_object (¶mv[0], proxy);
1849s # g_variant_iter_init (&iter, parameters);
1849s # n = 1;
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1849s # g_signal_emitv (paramv, signal_id, 0, NULL);
1849s # for (n = 0; n < num_params + 1; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1849s # GVariant *changed_properties,
1849s # const gchar *const *invalidated_properties)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1849s # guint n;
1849s # const gchar *key;
1849s # GVariantIter *iter;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # g_variant_get (changed_properties, "a{sv}", &iter);
1849s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1849s # g_datalist_remove_data (&proxy->priv->qdata, key);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # g_variant_iter_free (iter);
1849s # for (n = 0; invalidated_properties[n] != NULL; n++)
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1849s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_proxy_get_good_property_type (GoodTypes *object)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1849s # GVariant *variant;
1849s # GVariant *value = NULL;
1849s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1849s # value = variant;
1849s # if (variant != NULL)
1849s # g_variant_unref (variant);
1849s # return value;
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_init (GoodTypesProxy *proxy)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1849s # #else
1849s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1849s # #endif
1849s #
1849s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusProxyClass *proxy_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = good_types_proxy_finalize;
1849s # gobject_class->get_property = good_types_proxy_get_property;
1849s # gobject_class->set_property = good_types_proxy_set_property;
1849s #
1849s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1849s # proxy_class->g_signal = good_types_proxy_g_signal;
1849s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1849s #
1849s # good_types_override_properties (gobject_class, 1);
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_iface_init (GoodTypesIface *iface)
1849s # {
1849s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1849s # *
1849s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # good_types_proxy_new (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with good_types_proxy_new().
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_sync:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_sync (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1849s # *
1849s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # good_types_proxy_new_for_bus (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with good_types_proxy_new_for_bus().
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_for_bus_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus_sync:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_for_bus_sync (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * GoodTypesSkeleton:
1849s # *
1849s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesSkeletonClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for GoodTypesSkeleton.
1849s # */
1849s #
1849s # struct _GoodTypesSkeletonPrivate
1849s # {
1849s # GValue *properties;
1849s # GList *changed_properties;
1849s # GSource *changed_properties_idle_source;
1849s # GMainContext *context;
1849s # GMutex lock;
1849s # };
1849s #
1849s # static void
1849s # _good_types_skeleton_handle_method_call (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name,
1849s # const gchar *method_name,
1849s # GVariant *parameters,
1849s # GDBusMethodInvocation *invocation,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # _ExtendedGDBusMethodInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # guint num_extra;
1849s # gsize n;
1849s # guint signal_id;
1849s # GValue return_value = G_VALUE_INIT;
1849s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1849s # g_assert (info != NULL);
1849s # num_params = g_variant_n_children (parameters);
1849s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1849s # n = 0;
1849s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1849s # g_value_set_object (¶mv[n++], skeleton);
1849s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1849s # g_value_set_object (¶mv[n++], invocation);
1849s # if (info->pass_fdlist)
1849s # {
1849s # #ifdef G_OS_UNIX
1849s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1849s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1849s # #else
1849s # g_assert_not_reached ();
1849s # #endif
1849s # }
1849s # g_variant_iter_init (&iter, parameters);
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1849s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1849s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1849s # if (!g_value_get_boolean (&return_value))
1849s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1849s # g_value_unset (&return_value);
1849s # for (n = 0; n < num_params + num_extra; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static GVariant *
1849s # _good_types_skeleton_handle_get_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *ret;
1849s # ret = NULL;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # g_value_init (&value, pspec->value_type);
1849s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1849s # g_value_unset (&value);
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _good_types_skeleton_handle_set_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GVariant *variant,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # gboolean ret;
1849s # ret = FALSE;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # if (info->use_gvariant)
1849s # g_value_set_variant (&value, variant);
1849s # else
1849s # g_dbus_gvariant_to_gvalue (variant, &value);
1849s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # g_value_unset (&value);
1849s # ret = TRUE;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1849s # {
1849s # _good_types_skeleton_handle_method_call,
1849s # _good_types_skeleton_handle_get_property,
1849s # _good_types_skeleton_handle_set_property,
1849s # {NULL}
1849s # };
1849s #
1849s # static GDBusInterfaceInfo *
1849s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return good_types_interface_info ();
1849s # }
1849s #
1849s # static GDBusInterfaceVTable *
1849s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1849s #
1849s # GVariantBuilder builder;
1849s # guint n;
1849s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1849s # if (_good_types_interface_info.parent_struct.properties == NULL)
1849s # goto out;
1849s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1849s # {
1849s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1849s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1849s # {
1849s # GVariant *value;
1849s # 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);
1849s # if (value != NULL)
1849s # {
1849s # g_variant_take_ref (value);
1849s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1849s # g_variant_unref (value);
1849s # }
1849s # }
1849s # }
1849s # out:
1849s # return g_variant_builder_end (&builder);
1849s # }
1849s #
1849s # static gboolean _good_types_emit_changed (gpointer user_data);
1849s #
1849s # static void
1849s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1849s # gboolean emit_changed = FALSE;
1849s #
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # if (skeleton->priv->changed_properties_idle_source != NULL)
1849s # {
1849s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1849s # skeleton->priv->changed_properties_idle_source = NULL;
1849s # emit_changed = TRUE;
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s #
1849s # if (emit_changed)
1849s # _good_types_emit_changed (skeleton);
1849s # }
1849s #
1849s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_ADD_PRIVATE (GoodTypesSkeleton)
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # good_types_skeleton_finalize (GObject *object)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # guint n;
1849s # for (n = 0; n < 1; n++)
1849s # g_value_unset (&skeleton->priv->properties[n]);
1849s # g_free (skeleton->priv->properties);
1849s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1849s # if (skeleton->priv->changed_properties_idle_source != NULL)
1849s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1849s # g_main_context_unref (skeleton->priv->context);
1849s # g_mutex_clear (&skeleton->priv->lock);
1849s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_get_property (GObject *object,
1849s # guint prop_id,
1849s # GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # }
1849s #
1849s # static gboolean
1849s # _good_types_emit_changed (gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GList *l;
1849s # GVariantBuilder builder;
1849s # GVariantBuilder invalidated_builder;
1849s # guint num_changes;
1849s #
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1849s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1849s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1849s # {
1849s # ChangedProperty *cp = l->data;
1849s # GVariant *variant;
1849s # const GValue *cur_value;
1849s #
1849s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1849s # if (!_g_value_equal (cur_value, &cp->orig_value))
1849s # {
1849s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1849s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1849s # g_variant_unref (variant);
1849s # num_changes++;
1849s # }
1849s # }
1849s # if (num_changes > 0)
1849s # {
1849s # GList *connections, *ll;
1849s # GVariant *signal_variant;
1849s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1849s # &builder, &invalidated_builder));
1849s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1849s # for (ll = connections; ll != NULL; ll = ll->next)
1849s # {
1849s # GDBusConnection *connection = ll->data;
1849s #
1849s # g_dbus_connection_emit_signal (connection,
1849s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1849s # "org.freedesktop.DBus.Properties",
1849s # "PropertiesChanged",
1849s # signal_variant,
1849s # NULL);
1849s # }
1849s # g_variant_unref (signal_variant);
1849s # g_list_free_full (connections, g_object_unref);
1849s # }
1849s # else
1849s # {
1849s # g_variant_builder_clear (&builder);
1849s # g_variant_builder_clear (&invalidated_builder);
1849s # }
1849s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1849s # skeleton->priv->changed_properties = NULL;
1849s # skeleton->priv->changed_properties_idle_source = NULL;
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # return FALSE;
1849s # }
1849s #
1849s # static void
1849s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1849s # {
1849s # ChangedProperty *cp;
1849s # GList *l;
1849s # cp = NULL;
1849s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1849s # {
1849s # ChangedProperty *i_cp = l->data;
1849s # if (i_cp->info == info)
1849s # {
1849s # cp = i_cp;
1849s # break;
1849s # }
1849s # }
1849s # if (cp == NULL)
1849s # {
1849s # cp = g_new0 (ChangedProperty, 1);
1849s # cp->prop_id = prop_id;
1849s # cp->info = info;
1849s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1849s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1849s # g_value_copy (orig_value, &cp->orig_value);
1849s # }
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_notify (GObject *object,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # if (skeleton->priv->changed_properties != NULL &&
1849s # skeleton->priv->changed_properties_idle_source == NULL)
1849s # {
1849s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1849s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1849s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1849s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1849s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1849s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_set_property (GObject *object,
1849s # guint prop_id,
1849s # const GValue *value,
1849s # GParamSpec *pspec)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_object_freeze_notify (object);
1849s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1849s # {
1849s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1849s # info->emits_changed_signal)
1849s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1849s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1849s # g_object_notify_by_pspec (object, pspec);
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # g_object_thaw_notify (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1849s # #else
1849s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1849s # #endif
1849s #
1849s # g_mutex_init (&skeleton->priv->lock);
1849s # skeleton->priv->context = g_main_context_ref_thread_default ();
1849s # skeleton->priv->properties = g_new0 (GValue, 1);
1849s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # GVariant *value;
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # return value;
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusInterfaceSkeletonClass *skeleton_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = good_types_skeleton_finalize;
1849s # gobject_class->get_property = good_types_skeleton_get_property;
1849s # gobject_class->set_property = good_types_skeleton_set_property;
1849s # gobject_class->notify = good_types_skeleton_notify;
1849s #
1849s #
1849s # good_types_override_properties (gobject_class, 1);
1849s #
1849s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1849s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1849s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1849s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1849s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1849s # {
1849s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1849s # }
1849s #
1849s # /**
1849s # * good_types_skeleton_new:
1849s # *
1849s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1849s # */
1849s # GoodTypes *
1849s # good_types_skeleton_new (void)
1849s # {
1849s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1849s # }
1849s # /tmp/tmp9tq2myb2/tmppf2d8wtl.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmppf2d8wtl.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output: /*
1849s # * This file is generated by gdbus-codegen, do not modify it.
1849s # *
1849s # * The license of this code is the same as for the D-Bus interface description
1849s # * it was derived from. Note that it links to GLib, so must comply with the
1849s # * LGPL linking clauses.
1849s # */
1849s #
1849s # #ifdef HAVE_CONFIG_H
1849s # # include "config.h"
1849s # #endif
1849s #
1849s # #include
1849s # #ifdef G_OS_UNIX
1849s # # include
1849s # #endif
1849s #
1849s # #ifdef G_ENABLE_DEBUG
1849s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1849s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1849s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1849s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1849s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1849s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1849s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1849s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1849s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1849s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1849s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1849s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1849s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1849s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1849s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1849s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1849s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1849s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1849s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1849s # #else /* !G_ENABLE_DEBUG */
1849s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1849s # * Do not access GValues directly in your code. Instead, use the
1849s # * g_value_get_*() functions
1849s # */
1849s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1849s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1849s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1849s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1849s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1849s # #endif /* !G_ENABLE_DEBUG */
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusArgInfo parent_struct;
1849s # gboolean use_gvariant;
1849s # } _ExtendedGDBusArgInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusMethodInfo parent_struct;
1849s # const gchar *signal_name;
1849s # gboolean pass_fdlist;
1849s # } _ExtendedGDBusMethodInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusSignalInfo parent_struct;
1849s # const gchar *signal_name;
1849s # } _ExtendedGDBusSignalInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusPropertyInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # guint use_gvariant : 1;
1849s # guint emits_changed_signal : 1;
1849s # } _ExtendedGDBusPropertyInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusInterfaceInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # } _ExtendedGDBusInterfaceInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # guint prop_id;
1849s # GValue orig_value; /* the value before the change */
1849s # } ChangedProperty;
1849s #
1849s # static void
1849s # _changed_property_free (ChangedProperty *data)
1849s # {
1849s # g_value_unset (&data->orig_value);
1849s # g_free (data);
1849s # }
1849s #
1849s # static gboolean
1849s # _g_strv_equal0 (gchar **a, gchar **b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # guint n;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # if (g_strv_length (a) != g_strv_length (b))
1849s # goto out;
1849s # for (n = 0; a[n] != NULL; n++)
1849s # if (g_strcmp0 (a[n], b[n]) != 0)
1849s # goto out;
1849s # ret = TRUE;
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _g_variant_equal0 (GVariant *a, GVariant *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # ret = g_variant_equal (a, b);
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # G_GNUC_UNUSED static gboolean
1849s # _g_value_equal (const GValue *a, const GValue *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1849s # switch (G_VALUE_TYPE (a))
1849s # {
1849s # case G_TYPE_BOOLEAN:
1849s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1849s # break;
1849s # case G_TYPE_UCHAR:
1849s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1849s # break;
1849s # case G_TYPE_INT:
1849s # ret = (g_value_get_int (a) == g_value_get_int (b));
1849s # break;
1849s # case G_TYPE_UINT:
1849s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1849s # break;
1849s # case G_TYPE_INT64:
1849s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1849s # break;
1849s # case G_TYPE_UINT64:
1849s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1849s # break;
1849s # case G_TYPE_DOUBLE:
1849s # {
1849s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1849s # gdouble da = g_value_get_double (a);
1849s # gdouble db = g_value_get_double (b);
1849s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1849s # }
1849s # break;
1849s # case G_TYPE_STRING:
1849s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1849s # break;
1849s # case G_TYPE_VARIANT:
1849s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1849s # break;
1849s # default:
1849s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1849s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1849s # else
1849s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1849s # break;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------
1849s # * Code for interface GoodTypes
1849s # * ------------------------------------------------------------------------
1849s # */
1849s #
1849s # /**
1849s # * SECTION:GoodTypes
1849s # * @title: GoodTypes
1849s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1849s # *
1849s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1849s # */
1849s #
1849s # /* ---- Introspection data for GoodTypes ---- */
1849s #
1849s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "GoodPropertyType",
1849s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas",
1849s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1849s # NULL
1849s # },
1849s # "good-property-type",
1849s # FALSE,
1849s # TRUE
1849s # };
1849s #
1849s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1849s # {
1849s # &_good_types_property_info_good_property_type.parent_struct,
1849s # NULL
1849s # };
1849s #
1849s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "GoodTypes",
1849s # NULL,
1849s # NULL,
1849s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1849s # NULL
1849s # },
1849s # "good-types",
1849s # };
1849s #
1849s #
1849s # /**
1849s # * good_types_interface_info:
1849s # *
1849s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1849s # *
1849s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1849s # */
1849s # GDBusInterfaceInfo *
1849s # good_types_interface_info (void)
1849s # {
1849s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1849s # }
1849s #
1849s # /**
1849s # * good_types_override_properties:
1849s # * @klass: The class structure for a #GObject derived class.
1849s # * @property_id_begin: The property id to assign to the first overridden property.
1849s # *
1849s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1849s # * The properties are overridden in the order they are defined.
1849s # *
1849s # * Returns: The last property id.
1849s # */
1849s # guint
1849s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1849s # {
1849s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1849s # return property_id_begin - 1;
1849s # }
1849s #
1849s #
1849s #
1849s # /**
1849s # * GoodTypes:
1849s # *
1849s # * Abstract interface type for the D-Bus interface GoodTypes.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesIface:
1849s # * @parent_iface: The parent interface.
1849s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1849s # *
1849s # * Virtual table for the D-Bus interface GoodTypes.
1849s # */
1849s #
1849s # typedef GoodTypesIface GoodTypesInterface;
1849s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1849s #
1849s # static void
1849s # good_types_default_init (GoodTypesIface *iface)
1849s # {
1849s # /* GObject properties for D-Bus properties: */
1849s # /**
1849s # * GoodTypes:good-property-type:
1849s # *
1849s # * Represents the D-Bus property "GoodPropertyType".
1849s # *
1849s # * 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.
1849s # */
1849s # g_object_interface_install_property (iface,
1849s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1849s # }
1849s #
1849s # /**
1849s # * good_types_get_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # *
1849s # * Gets the value of the "GoodPropertyType" D-Bus property.
1849s # *
1849s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1849s # *
1849s # * 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.
1849s # *
1849s # * 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.
1849s # */
1849s # GVariant *
1849s # good_types_get_good_property_type (GoodTypes *object)
1849s # {
1849s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1849s #
1849s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1849s # }
1849s #
1849s # /**
1849s # * good_types_dup_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # *
1849s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1849s # *
1849s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1849s # *
1849s # * 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().
1849s # */
1849s # GVariant *
1849s # good_types_dup_good_property_type (GoodTypes *object)
1849s # {
1849s # GVariant *value;
1849s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1849s # return value;
1849s # }
1849s #
1849s # /**
1849s # * good_types_set_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # * @value: The value to set.
1849s # *
1849s # * Sets the "GoodPropertyType" D-Bus property to @value.
1849s # *
1849s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1849s # */
1849s # void
1849s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1849s # {
1849s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * GoodTypesProxy:
1849s # *
1849s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesProxyClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for GoodTypesProxy.
1849s # */
1849s #
1849s # struct _GoodTypesProxyPrivate
1849s # {
1849s # GData *qdata;
1849s # };
1849s #
1849s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1849s # G_ADD_PRIVATE (GoodTypesProxy)
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # good_types_proxy_finalize (GObject *object)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1849s # g_datalist_clear (&proxy->priv->qdata);
1849s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_get_property (GObject *object,
1849s # guint prop_id,
1849s # GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *variant;
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1849s # if (info->use_gvariant)
1849s # {
1849s # g_value_set_variant (value, variant);
1849s # }
1849s # else
1849s # {
1849s # if (variant != NULL)
1849s # g_dbus_gvariant_to_gvalue (variant, value);
1849s # }
1849s # if (variant != NULL)
1849s # g_variant_unref (variant);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1849s # GAsyncResult *res,
1849s # gpointer user_data)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info = user_data;
1849s # GError *error;
1849s # GVariant *_ret;
1849s # error = NULL;
1849s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1849s # if (!_ret)
1849s # {
1849s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1849s # info->parent_struct.name,
1849s # error->message, g_quark_to_string (error->domain), error->code);
1849s # g_error_free (error);
1849s # }
1849s # else
1849s # {
1849s # g_variant_unref (_ret);
1849s # }
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_set_property (GObject *object,
1849s # guint prop_id,
1849s # const GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *variant;
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1849s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1849s # "org.freedesktop.DBus.Properties.Set",
1849s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1849s # G_DBUS_CALL_FLAGS_NONE,
1849s # -1,
1849s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1849s # g_variant_unref (variant);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_g_signal (GDBusProxy *proxy,
1849s # const gchar *sender_name G_GNUC_UNUSED,
1849s # const gchar *signal_name,
1849s # GVariant *parameters)
1849s # {
1849s # _ExtendedGDBusSignalInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # gsize n;
1849s # guint signal_id;
1849s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1849s # if (info == NULL)
1849s # return;
1849s # num_params = g_variant_n_children (parameters);
1849s # paramv = g_new0 (GValue, num_params + 1);
1849s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1849s # g_value_set_object (¶mv[0], proxy);
1849s # g_variant_iter_init (&iter, parameters);
1849s # n = 1;
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1849s # g_signal_emitv (paramv, signal_id, 0, NULL);
1849s # for (n = 0; n < num_params + 1; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1849s # GVariant *changed_properties,
1849s # const gchar *const *invalidated_properties)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1849s # guint n;
1849s # const gchar *key;
1849s # GVariantIter *iter;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # g_variant_get (changed_properties, "a{sv}", &iter);
1849s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1849s # g_datalist_remove_data (&proxy->priv->qdata, key);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # g_variant_iter_free (iter);
1849s # for (n = 0; invalidated_properties[n] != NULL; n++)
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1849s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_proxy_get_good_property_type (GoodTypes *object)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1849s # GVariant *variant;
1849s # GVariant *value = NULL;
1849s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1849s # value = variant;
1849s # if (variant != NULL)
1849s # g_variant_unref (variant);
1849s # return value;
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_init (GoodTypesProxy *proxy)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1849s # #else
1849s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1849s # #endif
1849s #
1849s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusProxyClass *proxy_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = good_types_proxy_finalize;
1849s # gobject_class->get_property = good_types_proxy_get_property;
1849s # gobject_class->set_property = good_types_proxy_set_property;
1849s #
1849s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1849s # proxy_class->g_signal = good_types_proxy_g_signal;
1849s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1849s #
1849s # good_types_override_properties (gobject_class, 1);
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_iface_init (GoodTypesIface *iface)
1849s # {
1849s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1849s # *
1849s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # good_types_proxy_new (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with good_types_proxy_new().
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_sync:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_sync (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1849s # *
1849s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # good_types_proxy_new_for_bus (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with good_types_proxy_new_for_bus().
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_for_bus_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus_sync:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_for_bus_sync (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * GoodTypesSkeleton:
1849s # *
1849s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesSkeletonClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for GoodTypesSkeleton.
1849s # */
1849s #
1849s # struct _GoodTypesSkeletonPrivate
1849s # {
1849s # GValue *properties;
1849s # GList *changed_properties;
1849s # GSource *changed_properties_idle_source;
1849s # GMainContext *context;
1849s # GMutex lock;
1849s # };
1849s #
1849s # static void
1849s # _good_types_skeleton_handle_method_call (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name,
1849s # const gchar *method_name,
1849s # GVariant *parameters,
1849s # GDBusMethodInvocation *invocation,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # _ExtendedGDBusMethodInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # guint num_extra;
1849s # gsize n;
1849s # guint signal_id;
1849s # GValue return_value = G_VALUE_INIT;
1849s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1849s # g_assert (info != NULL);
1849s # num_params = g_variant_n_children (parameters);
1849s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1849s # n = 0;
1849s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1849s # g_value_set_object (¶mv[n++], skeleton);
1849s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1849s # g_value_set_object (¶mv[n++], invocation);
1849s # if (info->pass_fdlist)
1849s # {
1849s # #ifdef G_OS_UNIX
1849s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1849s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1849s # #else
1849s # g_assert_not_reached ();
1849s # #endif
1849s # }
1849s # g_variant_iter_init (&iter, parameters);
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1849s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1849s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1849s # if (!g_value_get_boolean (&return_value))
1849s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1849s # g_value_unset (&return_value);
1849s # for (n = 0; n < num_params + num_extra; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static GVariant *
1849s # _good_types_skeleton_handle_get_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *ret;
1849s # ret = NULL;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # g_value_init (&value, pspec->value_type);
1849s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1849s # g_value_unset (&value);
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _good_types_skeleton_handle_set_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GVariant *variant,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # gboolean ret;
1849s # ret = FALSE;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # if (info->use_gvariant)
1849s # g_value_set_variant (&value, variant);
1849s # else
1849s # g_dbus_gvariant_to_gvalue (variant, &value);
1849s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # g_value_unset (&value);
1849s # ret = TRUE;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1849s # {
1849s # _good_types_skeleton_handle_method_call,
1849s # _good_types_skeleton_handle_get_property,
1849s # _good_types_skeleton_handle_set_property,
1849s # {NULL}
1849s # };
1849s #
1849s # static GDBusInterfaceInfo *
1849s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return good_types_interface_info ();
1849s # }
1849s #
1849s # static GDBusInterfaceVTable *
1849s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1849s #
1849s # GVariantBuilder builder;
1849s # guint n;
1849s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1849s # if (_good_types_interface_info.parent_struct.properties == NULL)
1849s # goto out;
1849s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1849s # {
1849s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1849s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1849s # {
1849s # GVariant *value;
1849s # 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);
1849s # if (value != NULL)
1849s # {
1849s # g_variant_take_ref (value);
1849s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1849s # g_variant_unref (value);
1849s # }
1849s # }
1849s # }
1849s # out:
1849s # return g_variant_builder_end (&builder);
1849s # }
1849s #
1849s # static gboolean _good_types_emit_changed (gpointer user_data);
1849s #
1849s # static void
1849s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1849s # gboolean emit_changed = FALSE;
1849s #
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # if (skeleton->priv->changed_properties_idle_source != NULL)
1849s # {
1849s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1849s # skeleton->priv->changed_properties_idle_source = NULL;
1849s # emit_changed = TRUE;
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s #
1849s # if (emit_changed)
1849s # _good_types_emit_changed (skeleton);
1849s # }
1849s #
1849s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_ADD_PRIVATE (GoodTypesSkeleton)
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # good_types_skeleton_finalize (GObject *object)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # guint n;
1849s # for (n = 0; n < 1; n++)
1849s # g_value_unset (&skeleton->priv->properties[n]);
1849s # g_free (skeleton->priv->properties);
1849s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1849s # if (skeleton->priv->changed_properties_idle_source != NULL)
1849s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1849s # g_main_context_unref (skeleton->priv->context);
1849s # g_mutex_clear (&skeleton->priv->lock);
1849s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_get_property (GObject *object,
1849s # guint prop_id,
1849s # GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # }
1849s #
1849s # static gboolean
1849s # _good_types_emit_changed (gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GList *l;
1849s # GVariantBuilder builder;
1849s # GVariantBuilder invalidated_builder;
1849s # guint num_changes;
1849s #
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1849s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1849s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1849s # {
1849s # ChangedProperty *cp = l->data;
1849s # GVariant *variant;
1849s # const GValue *cur_value;
1849s #
1849s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1849s # if (!_g_value_equal (cur_value, &cp->orig_value))
1849s # {
1849s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1849s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1849s # g_variant_unref (variant);
1849s # num_changes++;
1849s # }
1849s # }
1849s # if (num_changes > 0)
1849s # {
1849s # GList *connections, *ll;
1849s # GVariant *signal_variant;
1849s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1849s # &builder, &invalidated_builder));
1849s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1849s # for (ll = connections; ll != NULL; ll = ll->next)
1849s # {
1849s # GDBusConnection *connection = ll->data;
1849s #
1849s # g_dbus_connection_emit_signal (connection,
1849s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1849s # "org.freedesktop.DBus.Properties",
1849s # "PropertiesChanged",
1849s # signal_variant,
1849s # NULL);
1849s # }
1849s # g_variant_unref (signal_variant);
1849s # g_list_free_full (connections, g_object_unref);
1849s # }
1849s # else
1849s # {
1849s # g_variant_builder_clear (&builder);
1849s # g_variant_builder_clear (&invalidated_builder);
1849s # }
1849s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1849s # skeleton->priv->changed_properties = NULL;
1849s # skeleton->priv->changed_properties_idle_source = NULL;
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # return FALSE;
1849s # }
1849s #
1849s # static void
1849s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1849s # {
1849s # ChangedProperty *cp;
1849s # GList *l;
1849s # cp = NULL;
1849s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1849s # {
1849s # ChangedProperty *i_cp = l->data;
1849s # if (i_cp->info == info)
1849s # {
1849s # cp = i_cp;
1849s # break;
1849s # }
1849s # }
1849s # if (cp == NULL)
1849s # {
1849s # cp = g_new0 (ChangedProperty, 1);
1849s # cp->prop_id = prop_id;
1849s # cp->info = info;
1849s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1849s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1849s # g_value_copy (orig_value, &cp->orig_value);
1849s # }
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_notify (GObject *object,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # if (skeleton->priv->changed_properties != NULL &&
1849s # skeleton->priv->changed_properties_idle_source == NULL)
1849s # {
1849s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1849s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1849s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1849s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1849s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1849s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_set_property (GObject *object,
1849s # guint prop_id,
1849s # const GValue *value,
1849s # GParamSpec *pspec)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_object_freeze_notify (object);
1849s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1849s # {
1849s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1849s # info->emits_changed_signal)
1849s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1849s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1849s # g_object_notify_by_pspec (object, pspec);
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # g_object_thaw_notify (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1849s # #else
1849s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1849s # #endif
1849s #
1849s # g_mutex_init (&skeleton->priv->lock);
1849s # skeleton->priv->context = g_main_context_ref_thread_default ();
1849s # skeleton->priv->properties = g_new0 (GValue, 1);
1849s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # GVariant *value;
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # return value;
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusInterfaceSkeletonClass *skeleton_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = good_types_skeleton_finalize;
1849s # gobject_class->get_property = good_types_skeleton_get_property;
1849s # gobject_class->set_property = good_types_skeleton_set_property;
1849s # gobject_class->notify = good_types_skeleton_notify;
1849s #
1849s #
1849s # good_types_override_properties (gobject_class, 1);
1849s #
1849s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1849s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1849s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1849s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1849s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1849s # {
1849s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1849s # }
1849s #
1849s # /**
1849s # * good_types_skeleton_new:
1849s # *
1849s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1849s # */
1849s # GoodTypes *
1849s # good_types_skeleton_new (void)
1849s # {
1849s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1849s # }
1849s # /tmp/tmp9tq2myb2/tmp4u7mrxtq.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9tq2myb2/tmp4u7mrxtq.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output: /*
1849s # * This file is generated by gdbus-codegen, do not modify it.
1849s # *
1849s # * The license of this code is the same as for the D-Bus interface description
1849s # * it was derived from. Note that it links to GLib, so must comply with the
1849s # * LGPL linking clauses.
1849s # */
1849s #
1849s # #ifdef HAVE_CONFIG_H
1849s # # include "config.h"
1849s # #endif
1849s #
1849s # #include
1849s # #ifdef G_OS_UNIX
1849s # # include
1849s # #endif
1849s #
1849s # #ifdef G_ENABLE_DEBUG
1849s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1849s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1849s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1849s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1849s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1849s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1849s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1849s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1849s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1849s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1849s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1849s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1849s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1849s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1849s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1849s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1849s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1849s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1849s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1849s # #else /* !G_ENABLE_DEBUG */
1849s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1849s # * Do not access GValues directly in your code. Instead, use the
1849s # * g_value_get_*() functions
1849s # */
1849s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1849s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1849s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1849s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1849s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1849s # #endif /* !G_ENABLE_DEBUG */
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusArgInfo parent_struct;
1849s # gboolean use_gvariant;
1849s # } _ExtendedGDBusArgInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusMethodInfo parent_struct;
1849s # const gchar *signal_name;
1849s # gboolean pass_fdlist;
1849s # } _ExtendedGDBusMethodInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusSignalInfo parent_struct;
1849s # const gchar *signal_name;
1849s # } _ExtendedGDBusSignalInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusPropertyInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # guint use_gvariant : 1;
1849s # guint emits_changed_signal : 1;
1849s # } _ExtendedGDBusPropertyInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusInterfaceInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # } _ExtendedGDBusInterfaceInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # guint prop_id;
1849s # GValue orig_value; /* the value before the change */
1849s # } ChangedProperty;
1849s #
1849s # static void
1849s # _changed_property_free (ChangedProperty *data)
1849s # {
1849s # g_value_unset (&data->orig_value);
1849s # g_free (data);
1849s # }
1849s #
1849s # static gboolean
1849s # _g_strv_equal0 (gchar **a, gchar **b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # guint n;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # if (g_strv_length (a) != g_strv_length (b))
1849s # goto out;
1849s # for (n = 0; a[n] != NULL; n++)
1849s # if (g_strcmp0 (a[n], b[n]) != 0)
1849s # goto out;
1849s # ret = TRUE;
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _g_variant_equal0 (GVariant *a, GVariant *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # ret = g_variant_equal (a, b);
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # G_GNUC_UNUSED static gboolean
1849s # _g_value_equal (const GValue *a, const GValue *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1849s # switch (G_VALUE_TYPE (a))
1849s # {
1849s # case G_TYPE_BOOLEAN:
1849s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1849s # break;
1849s # case G_TYPE_UCHAR:
1849s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1849s # break;
1849s # case G_TYPE_INT:
1849s # ret = (g_value_get_int (a) == g_value_get_int (b));
1849s # break;
1849s # case G_TYPE_UINT:
1849s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1849s # break;
1849s # case G_TYPE_INT64:
1849s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1849s # break;
1849s # case G_TYPE_UINT64:
1849s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1849s # break;
1849s # case G_TYPE_DOUBLE:
1849s # {
1849s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1849s # gdouble da = g_value_get_double (a);
1849s # gdouble db = g_value_get_double (b);
1849s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1849s # }
1849s # break;
1849s # case G_TYPE_STRING:
1849s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1849s # break;
1849s # case G_TYPE_VARIANT:
1849s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1849s # break;
1849s # default:
1849s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1849s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1849s # else
1849s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1849s # break;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------
1849s # * Code for interface GoodTypes
1849s # * ------------------------------------------------------------------------
1849s # */
1849s #
1849s # /**
1849s # * SECTION:GoodTypes
1849s # * @title: GoodTypes
1849s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1849s # *
1849s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1849s # */
1849s #
1849s # /* ---- Introspection data for GoodTypes ---- */
1849s #
1849s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "GoodPropertyType",
1849s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})",
1849s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1849s # NULL
1849s # },
1849s # "good-property-type",
1849s # FALSE,
1849s # TRUE
1849s # };
1849s #
1849s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1849s # {
1849s # &_good_types_property_info_good_property_type.parent_struct,
1849s # NULL
1849s # };
1849s #
1849s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "GoodTypes",
1849s # NULL,
1849s # NULL,
1849s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1849s # NULL
1849s # },
1849s # "good-types",
1849s # };
1849s #
1849s #
1849s # /**
1849s # * good_types_interface_info:
1849s # *
1849s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1849s # *
1849s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1849s # */
1849s # GDBusInterfaceInfo *
1849s # good_types_interface_info (void)
1849s # {
1849s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1849s # }
1849s #
1849s # /**
1849s # * good_types_override_properties:
1849s # * @klass: The class structure for a #GObject derived class.
1849s # * @property_id_begin: The property id to assign to the first overridden property.
1849s # *
1849s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1849s # * The properties are overridden in the order they are defined.
1849s # *
1849s # * Returns: The last property id.
1849s # */
1849s # guint
1849s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1849s # {
1849s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1849s # return property_id_begin - 1;
1849s # }
1849s #
1849s #
1849s #
1849s # /**
1849s # * GoodTypes:
1849s # *
1849s # * Abstract interface type for the D-Bus interface GoodTypes.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesIface:
1849s # * @parent_iface: The parent interface.
1849s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1849s # *
1849s # * Virtual table for the D-Bus interface GoodTypes.
1849s # */
1849s #
1849s # typedef GoodTypesIface GoodTypesInterface;
1849s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1849s #
1849s # static void
1849s # good_types_default_init (GoodTypesIface *iface)
1849s # {
1849s # /* GObject properties for D-Bus properties: */
1849s # /**
1849s # * GoodTypes:good-property-type:
1849s # *
1849s # * Represents the D-Bus property "GoodPropertyType".
1849s # *
1849s # * 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.
1849s # */
1849s # g_object_interface_install_property (iface,
1849s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1849s # }
1849s #
1849s # /**
1849s # * good_types_get_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # *
1849s # * Gets the value of the "GoodPropertyType" D-Bus property.
1849s # *
1849s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1849s # *
1849s # * 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.
1849s # *
1849s # * 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.
1849s # */
1849s # GVariant *
1849s # good_types_get_good_property_type (GoodTypes *object)
1849s # {
1849s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1849s #
1849s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1849s # }
1849s #
1849s # /**
1849s # * good_types_dup_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # *
1849s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1849s # *
1849s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1849s # *
1849s # * 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().
1849s # */
1849s # GVariant *
1849s # good_types_dup_good_property_type (GoodTypes *object)
1849s # {
1849s # GVariant *value;
1849s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1849s # return value;
1849s # }
1849s #
1849s # /**
1849s # * good_types_set_good_property_type: (skip)
1849s # * @object: A GoodTypes.
1849s # * @value: The value to set.
1849s # *
1849s # * Sets the "GoodPropertyType" D-Bus property to @value.
1849s # *
1849s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1849s # */
1849s # void
1849s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1849s # {
1849s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * GoodTypesProxy:
1849s # *
1849s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesProxyClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for GoodTypesProxy.
1849s # */
1849s #
1849s # struct _GoodTypesProxyPrivate
1849s # {
1849s # GData *qdata;
1849s # };
1849s #
1849s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1849s # G_ADD_PRIVATE (GoodTypesProxy)
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # good_types_proxy_finalize (GObject *object)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1849s # g_datalist_clear (&proxy->priv->qdata);
1849s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_get_property (GObject *object,
1849s # guint prop_id,
1849s # GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *variant;
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1849s # if (info->use_gvariant)
1849s # {
1849s # g_value_set_variant (value, variant);
1849s # }
1849s # else
1849s # {
1849s # if (variant != NULL)
1849s # g_dbus_gvariant_to_gvalue (variant, value);
1849s # }
1849s # if (variant != NULL)
1849s # g_variant_unref (variant);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1849s # GAsyncResult *res,
1849s # gpointer user_data)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info = user_data;
1849s # GError *error;
1849s # GVariant *_ret;
1849s # error = NULL;
1849s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1849s # if (!_ret)
1849s # {
1849s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1849s # info->parent_struct.name,
1849s # error->message, g_quark_to_string (error->domain), error->code);
1849s # g_error_free (error);
1849s # }
1849s # else
1849s # {
1849s # g_variant_unref (_ret);
1849s # }
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_set_property (GObject *object,
1849s # guint prop_id,
1849s # const GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *variant;
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1849s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1849s # "org.freedesktop.DBus.Properties.Set",
1849s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1849s # G_DBUS_CALL_FLAGS_NONE,
1849s # -1,
1849s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1849s # g_variant_unref (variant);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_g_signal (GDBusProxy *proxy,
1849s # const gchar *sender_name G_GNUC_UNUSED,
1849s # const gchar *signal_name,
1849s # GVariant *parameters)
1849s # {
1849s # _ExtendedGDBusSignalInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # gsize n;
1849s # guint signal_id;
1849s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1849s # if (info == NULL)
1849s # return;
1849s # num_params = g_variant_n_children (parameters);
1849s # paramv = g_new0 (GValue, num_params + 1);
1849s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1849s # g_value_set_object (¶mv[0], proxy);
1849s # g_variant_iter_init (&iter, parameters);
1849s # n = 1;
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1849s # g_signal_emitv (paramv, signal_id, 0, NULL);
1849s # for (n = 0; n < num_params + 1; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1849s # GVariant *changed_properties,
1849s # const gchar *const *invalidated_properties)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1849s # guint n;
1849s # const gchar *key;
1849s # GVariantIter *iter;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # g_variant_get (changed_properties, "a{sv}", &iter);
1849s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1849s # g_datalist_remove_data (&proxy->priv->qdata, key);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # g_variant_iter_free (iter);
1849s # for (n = 0; invalidated_properties[n] != NULL; n++)
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1849s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_proxy_get_good_property_type (GoodTypes *object)
1849s # {
1849s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1849s # GVariant *variant;
1849s # GVariant *value = NULL;
1849s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1849s # value = variant;
1849s # if (variant != NULL)
1849s # g_variant_unref (variant);
1849s # return value;
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_init (GoodTypesProxy *proxy)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1849s # #else
1849s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1849s # #endif
1849s #
1849s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusProxyClass *proxy_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = good_types_proxy_finalize;
1849s # gobject_class->get_property = good_types_proxy_get_property;
1849s # gobject_class->set_property = good_types_proxy_set_property;
1849s #
1849s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1849s # proxy_class->g_signal = good_types_proxy_g_signal;
1849s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1849s #
1849s # good_types_override_properties (gobject_class, 1);
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # good_types_proxy_iface_init (GoodTypesIface *iface)
1849s # {
1849s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1849s # *
1849s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # good_types_proxy_new (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with good_types_proxy_new().
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_sync:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_sync (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1849s # *
1849s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # good_types_proxy_new_for_bus (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with good_types_proxy_new_for_bus().
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_for_bus_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * good_types_proxy_new_for_bus_sync:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # GoodTypes *
1849s # good_types_proxy_new_for_bus_sync (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return GOOD_TYPES (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * GoodTypesSkeleton:
1849s # *
1849s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * GoodTypesSkeletonClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for GoodTypesSkeleton.
1849s # */
1849s #
1849s # struct _GoodTypesSkeletonPrivate
1849s # {
1849s # GValue *properties;
1849s # GList *changed_properties;
1849s # GSource *changed_properties_idle_source;
1849s # GMainContext *context;
1849s # GMutex lock;
1849s # };
1849s #
1849s # static void
1849s # _good_types_skeleton_handle_method_call (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name,
1849s # const gchar *method_name,
1849s # GVariant *parameters,
1849s # GDBusMethodInvocation *invocation,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # _ExtendedGDBusMethodInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # guint num_extra;
1849s # gsize n;
1849s # guint signal_id;
1849s # GValue return_value = G_VALUE_INIT;
1849s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1849s # g_assert (info != NULL);
1849s # num_params = g_variant_n_children (parameters);
1849s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1849s # n = 0;
1849s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1849s # g_value_set_object (¶mv[n++], skeleton);
1849s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1849s # g_value_set_object (¶mv[n++], invocation);
1849s # if (info->pass_fdlist)
1849s # {
1849s # #ifdef G_OS_UNIX
1849s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1849s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1849s # #else
1849s # g_assert_not_reached ();
1849s # #endif
1849s # }
1849s # g_variant_iter_init (&iter, parameters);
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1849s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1849s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1849s # if (!g_value_get_boolean (&return_value))
1849s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1849s # g_value_unset (&return_value);
1849s # for (n = 0; n < num_params + num_extra; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static GVariant *
1849s # _good_types_skeleton_handle_get_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *ret;
1849s # ret = NULL;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # g_value_init (&value, pspec->value_type);
1849s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1849s # g_value_unset (&value);
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _good_types_skeleton_handle_set_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GVariant *variant,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # gboolean ret;
1849s # ret = FALSE;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # if (info->use_gvariant)
1849s # g_value_set_variant (&value, variant);
1849s # else
1849s # g_dbus_gvariant_to_gvalue (variant, &value);
1849s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # g_value_unset (&value);
1849s # ret = TRUE;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1849s # {
1849s # _good_types_skeleton_handle_method_call,
1849s # _good_types_skeleton_handle_get_property,
1849s # _good_types_skeleton_handle_set_property,
1849s # {NULL}
1849s # };
1849s #
1849s # static GDBusInterfaceInfo *
1849s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return good_types_interface_info ();
1849s # }
1849s #
1849s # static GDBusInterfaceVTable *
1849s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1849s #
1849s # GVariantBuilder builder;
1849s # guint n;
1849s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1849s # if (_good_types_interface_info.parent_struct.properties == NULL)
1849s # goto out;
1849s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1849s # {
1849s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1849s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1849s # {
1849s # GVariant *value;
1849s # 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);
1849s # if (value != NULL)
1849s # {
1849s # g_variant_take_ref (value);
1849s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1849s # g_variant_unref (value);
1849s # }
1849s # }
1849s # }
1849s # out:
1849s # return g_variant_builder_end (&builder);
1849s # }
1849s #
1849s # static gboolean _good_types_emit_changed (gpointer user_data);
1849s #
1849s # static void
1849s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1849s # gboolean emit_changed = FALSE;
1849s #
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # if (skeleton->priv->changed_properties_idle_source != NULL)
1849s # {
1849s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1849s # skeleton->priv->changed_properties_idle_source = NULL;
1849s # emit_changed = TRUE;
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s #
1849s # if (emit_changed)
1849s # _good_types_emit_changed (skeleton);
1849s # }
1849s #
1849s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_ADD_PRIVATE (GoodTypesSkeleton)
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # good_types_skeleton_finalize (GObject *object)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # guint n;
1849s # for (n = 0; n < 1; n++)
1849s # g_value_unset (&skeleton->priv->properties[n]);
1849s # g_free (skeleton->priv->properties);
1849s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1849s # if (skeleton->priv->changed_properties_idle_source != NULL)
1849s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1849s # g_main_context_unref (skeleton->priv->context);
1849s # g_mutex_clear (&skeleton->priv->lock);
1849s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_get_property (GObject *object,
1849s # guint prop_id,
1849s # GValue *value,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # }
1849s #
1849s # static gboolean
1849s # _good_types_emit_changed (gpointer user_data)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1849s # GList *l;
1849s # GVariantBuilder builder;
1849s # GVariantBuilder invalidated_builder;
1849s # guint num_changes;
1849s #
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1849s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1849s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1849s # {
1849s # ChangedProperty *cp = l->data;
1849s # GVariant *variant;
1849s # const GValue *cur_value;
1849s #
1849s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1849s # if (!_g_value_equal (cur_value, &cp->orig_value))
1849s # {
1849s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1849s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1849s # g_variant_unref (variant);
1849s # num_changes++;
1849s # }
1849s # }
1849s # if (num_changes > 0)
1849s # {
1849s # GList *connections, *ll;
1849s # GVariant *signal_variant;
1849s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1849s # &builder, &invalidated_builder));
1849s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1849s # for (ll = connections; ll != NULL; ll = ll->next)
1849s # {
1849s # GDBusConnection *connection = ll->data;
1849s #
1849s # g_dbus_connection_emit_signal (connection,
1849s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1849s # "org.freedesktop.DBus.Properties",
1849s # "PropertiesChanged",
1849s # signal_variant,
1849s # NULL);
1849s # }
1849s # g_variant_unref (signal_variant);
1849s # g_list_free_full (connections, g_object_unref);
1849s # }
1849s # else
1849s # {
1849s # g_variant_builder_clear (&builder);
1849s # g_variant_builder_clear (&invalidated_builder);
1849s # }
1849s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1849s # skeleton->priv->changed_properties = NULL;
1849s # skeleton->priv->changed_properties_idle_source = NULL;
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # return FALSE;
1849s # }
1849s #
1849s # static void
1849s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1849s # {
1849s # ChangedProperty *cp;
1849s # GList *l;
1849s # cp = NULL;
1849s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1849s # {
1849s # ChangedProperty *i_cp = l->data;
1849s # if (i_cp->info == info)
1849s # {
1849s # cp = i_cp;
1849s # break;
1849s # }
1849s # }
1849s # if (cp == NULL)
1849s # {
1849s # cp = g_new0 (ChangedProperty, 1);
1849s # cp->prop_id = prop_id;
1849s # cp->info = info;
1849s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1849s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1849s # g_value_copy (orig_value, &cp->orig_value);
1849s # }
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_notify (GObject *object,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # if (skeleton->priv->changed_properties != NULL &&
1849s # skeleton->priv->changed_properties_idle_source == NULL)
1849s # {
1849s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1849s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1849s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1849s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1849s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1849s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_set_property (GObject *object,
1849s # guint prop_id,
1849s # const GValue *value,
1849s # GParamSpec *pspec)
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1849s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # g_object_freeze_notify (object);
1849s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1849s # {
1849s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1849s # info->emits_changed_signal)
1849s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1849s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1849s # g_object_notify_by_pspec (object, pspec);
1849s # }
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # g_object_thaw_notify (object);
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1849s # #else
1849s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1849s # #endif
1849s #
1849s # g_mutex_init (&skeleton->priv->lock);
1849s # skeleton->priv->context = g_main_context_ref_thread_default ();
1849s # skeleton->priv->properties = g_new0 (GValue, 1);
1849s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1849s # }
1849s #
1849s # static GVariant *
1849s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1849s # {
1849s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1849s # GVariant *value;
1849s # g_mutex_lock (&skeleton->priv->lock);
1849s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1849s # g_mutex_unlock (&skeleton->priv->lock);
1849s # return value;
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusInterfaceSkeletonClass *skeleton_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = good_types_skeleton_finalize;
1849s # gobject_class->get_property = good_types_skeleton_get_property;
1849s # gobject_class->set_property = good_types_skeleton_set_property;
1849s # gobject_class->notify = good_types_skeleton_notify;
1849s #
1849s #
1849s # good_types_override_properties (gobject_class, 1);
1849s #
1849s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1849s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1849s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1849s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1849s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1849s # {
1849s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1849s # }
1849s #
1849s # /**
1849s # * good_types_skeleton_new:
1849s # *
1849s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1849s # *
1849s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1849s # */
1849s # GoodTypes *
1849s # good_types_skeleton_new (void)
1849s # {
1849s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1849s # }
1849s ok 3 __main__.TestCodegen.test_empty_interface_body
1849s # tmpdir: /tmp/tmp_z62kee9
1849s # codegen: /usr/bin/gdbus-codegen
1849s # /tmp/tmp_z62kee9/tmpfyrlz0e7.xml:
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_z62kee9/tmpfyrlz0e7.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output: /*
1849s # * This file is generated by gdbus-codegen, do not modify it.
1849s # *
1849s # * The license of this code is the same as for the D-Bus interface description
1849s # * it was derived from. Note that it links to GLib, so must comply with the
1849s # * LGPL linking clauses.
1849s # */
1849s #
1849s # #ifdef HAVE_CONFIG_H
1849s # # include "config.h"
1849s # #endif
1849s #
1849s # #include
1849s # #ifdef G_OS_UNIX
1849s # # include
1849s # #endif
1849s #
1849s # #ifdef G_ENABLE_DEBUG
1849s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1849s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1849s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1849s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1849s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1849s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1849s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1849s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1849s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1849s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1849s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1849s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1849s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1849s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1849s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1849s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1849s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1849s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1849s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1849s # #else /* !G_ENABLE_DEBUG */
1849s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1849s # * Do not access GValues directly in your code. Instead, use the
1849s # * g_value_get_*() functions
1849s # */
1849s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1849s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1849s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1849s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1849s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1849s # #endif /* !G_ENABLE_DEBUG */
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusArgInfo parent_struct;
1849s # gboolean use_gvariant;
1849s # } _ExtendedGDBusArgInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusMethodInfo parent_struct;
1849s # const gchar *signal_name;
1849s # gboolean pass_fdlist;
1849s # } _ExtendedGDBusMethodInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusSignalInfo parent_struct;
1849s # const gchar *signal_name;
1849s # } _ExtendedGDBusSignalInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusPropertyInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # guint use_gvariant : 1;
1849s # guint emits_changed_signal : 1;
1849s # } _ExtendedGDBusPropertyInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusInterfaceInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # } _ExtendedGDBusInterfaceInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # guint prop_id;
1849s # GValue orig_value; /* the value before the change */
1849s # } ChangedProperty;
1849s #
1849s # static void
1849s # _changed_property_free (ChangedProperty *data)
1849s # {
1849s # g_value_unset (&data->orig_value);
1849s # g_free (data);
1849s # }
1849s #
1849s # static gboolean
1849s # _g_strv_equal0 (gchar **a, gchar **b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # guint n;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # if (g_strv_length (a) != g_strv_length (b))
1849s # goto out;
1849s # for (n = 0; a[n] != NULL; n++)
1849s # if (g_strcmp0 (a[n], b[n]) != 0)
1849s # goto out;
1849s # ret = TRUE;
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _g_variant_equal0 (GVariant *a, GVariant *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # ret = g_variant_equal (a, b);
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # G_GNUC_UNUSED static gboolean
1849s # _g_value_equal (const GValue *a, const GValue *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1849s # switch (G_VALUE_TYPE (a))
1849s # {
1849s # case G_TYPE_BOOLEAN:
1849s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1849s # break;
1849s # case G_TYPE_UCHAR:
1849s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1849s # break;
1849s # case G_TYPE_INT:
1849s # ret = (g_value_get_int (a) == g_value_get_int (b));
1849s # break;
1849s # case G_TYPE_UINT:
1849s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1849s # break;
1849s # case G_TYPE_INT64:
1849s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1849s # break;
1849s # case G_TYPE_UINT64:
1849s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1849s # break;
1849s # case G_TYPE_DOUBLE:
1849s # {
1849s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1849s # gdouble da = g_value_get_double (a);
1849s # gdouble db = g_value_get_double (b);
1849s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1849s # }
1849s # break;
1849s # case G_TYPE_STRING:
1849s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1849s # break;
1849s # case G_TYPE_VARIANT:
1849s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1849s # break;
1849s # default:
1849s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1849s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1849s # else
1849s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1849s # break;
1849s # }
1849s # return ret;
1849s # }
1849s ok 4 __main__.TestCodegen.test_empty_interface_header
1849s # tmpdir: /tmp/tmpfmsb6bom
1849s # codegen: /usr/bin/gdbus-codegen
1849s # /tmp/tmpfmsb6bom/tmp0rv9l3og.xml:
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfmsb6bom/tmp0rv9l3og.xml', '--output', '-', '--header']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output: /*
1849s # * This file is generated by gdbus-codegen, do not modify it.
1849s # *
1849s # * The license of this code is the same as for the D-Bus interface description
1849s # * it was derived from. Note that it links to GLib, so must comply with the
1849s # * LGPL linking clauses.
1849s # */
1849s #
1849s # #ifndef __STDOUT__
1849s # #define __STDOUT__
1849s #
1849s # #include
1849s #
1849s # G_BEGIN_DECLS
1849s #
1849s #
1849s # G_END_DECLS
1849s #
1849s # #endif /* __STDOUT__ */
1849s ok 5 __main__.TestCodegen.test_empty_interface_info_body
1849s # tmpdir: /tmp/tmpda01uhik
1849s # codegen: /usr/bin/gdbus-codegen
1849s # /tmp/tmpda01uhik/tmpexqycbdo.xml:
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpda01uhik/tmpexqycbdo.xml', '--output', '-', '--interface-info-body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output: /*
1849s # * This file is generated by gdbus-codegen, do not modify it.
1849s # *
1849s # * The license of this code is the same as for the D-Bus interface description
1849s # * it was derived from. Note that it links to GLib, so must comply with the
1849s # * LGPL linking clauses.
1849s # */
1849s #
1849s # #ifdef HAVE_CONFIG_H
1849s # # include "config.h"
1849s # #endif
1849s #
1849s # #include
1849s ok 6 __main__.TestCodegen.test_empty_interface_info_header
1849s # tmpdir: /tmp/tmp5ie4_fdt
1849s # codegen: /usr/bin/gdbus-codegen
1849s # /tmp/tmp5ie4_fdt/tmpe7or4izo.xml:
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5ie4_fdt/tmpe7or4izo.xml', '--output', '-', '--interface-info-header']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output: /*
1849s # * This file is generated by gdbus-codegen, do not modify it.
1849s # *
1849s # * The license of this code is the same as for the D-Bus interface description
1849s # * it was derived from. Note that it links to GLib, so must comply with the
1849s # * LGPL linking clauses.
1849s # */
1849s #
1849s # #ifndef __STDOUT__
1849s # #define __STDOUT__
1849s #
1849s # #include
1849s #
1849s # G_BEGIN_DECLS
1849s #
1849s #
1849s # G_END_DECLS
1849s #
1849s # #endif /* __STDOUT__ */
1849s ok 7 __main__.TestCodegen.test_generate_docbook
1849s # tmpdir: /tmp/tmpl6zrmvjs
1849s # codegen: /usr/bin/gdbus-codegen
1849s # /tmp/tmpl6zrmvjs/tmprn988n_d.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl6zrmvjs/tmprn988n_d.xml', '--generate-docbook', 'test']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output:
1849s ok 8 __main__.TestCodegen.test_generate_md
1849s # tmpdir: /tmp/tmpexlomq23
1849s # codegen: /usr/bin/gdbus-codegen
1849s # /tmp/tmpexlomq23/tmpj2w1qhuy.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpexlomq23/tmpj2w1qhuy.xml', '--generate-md', 'test']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output:
1849s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method
1849s # tmpdir: /tmp/tmpjx1rjxer
1849s # codegen: /usr/bin/gdbus-codegen
1849s # /tmp/tmpjx1rjxer/tmpj22gg6j5.xml:
1849s #
1849s #
1849s #
1849s #
1849s #
1849s #
1849s #
1849s #
1849s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjx1rjxer/tmpj22gg6j5.xml', '--output', '-', '--body']
1849s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1849s # Output: /*
1849s # * This file is generated by gdbus-codegen, do not modify it.
1849s # *
1849s # * The license of this code is the same as for the D-Bus interface description
1849s # * it was derived from. Note that it links to GLib, so must comply with the
1849s # * LGPL linking clauses.
1849s # */
1849s #
1849s # #ifdef HAVE_CONFIG_H
1849s # # include "config.h"
1849s # #endif
1849s #
1849s # #include
1849s # #ifdef G_OS_UNIX
1849s # # include
1849s # #endif
1849s #
1849s # #ifdef G_ENABLE_DEBUG
1849s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1849s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1849s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1849s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1849s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1849s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1849s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1849s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1849s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1849s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1849s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1849s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1849s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1849s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1849s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1849s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1849s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1849s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1849s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1849s # #else /* !G_ENABLE_DEBUG */
1849s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1849s # * Do not access GValues directly in your code. Instead, use the
1849s # * g_value_get_*() functions
1849s # */
1849s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1849s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1849s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1849s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1849s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1849s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1849s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1849s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1849s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1849s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1849s # #endif /* !G_ENABLE_DEBUG */
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusArgInfo parent_struct;
1849s # gboolean use_gvariant;
1849s # } _ExtendedGDBusArgInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusMethodInfo parent_struct;
1849s # const gchar *signal_name;
1849s # gboolean pass_fdlist;
1849s # } _ExtendedGDBusMethodInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusSignalInfo parent_struct;
1849s # const gchar *signal_name;
1849s # } _ExtendedGDBusSignalInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusPropertyInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # guint use_gvariant : 1;
1849s # guint emits_changed_signal : 1;
1849s # } _ExtendedGDBusPropertyInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # GDBusInterfaceInfo parent_struct;
1849s # const gchar *hyphen_name;
1849s # } _ExtendedGDBusInterfaceInfo;
1849s #
1849s # typedef struct
1849s # {
1849s # const _ExtendedGDBusPropertyInfo *info;
1849s # guint prop_id;
1849s # GValue orig_value; /* the value before the change */
1849s # } ChangedProperty;
1849s #
1849s # static void
1849s # _changed_property_free (ChangedProperty *data)
1849s # {
1849s # g_value_unset (&data->orig_value);
1849s # g_free (data);
1849s # }
1849s #
1849s # static gboolean
1849s # _g_strv_equal0 (gchar **a, gchar **b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # guint n;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # if (g_strv_length (a) != g_strv_length (b))
1849s # goto out;
1849s # for (n = 0; a[n] != NULL; n++)
1849s # if (g_strcmp0 (a[n], b[n]) != 0)
1849s # goto out;
1849s # ret = TRUE;
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _g_variant_equal0 (GVariant *a, GVariant *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # if (a == NULL && b == NULL)
1849s # {
1849s # ret = TRUE;
1849s # goto out;
1849s # }
1849s # if (a == NULL || b == NULL)
1849s # goto out;
1849s # ret = g_variant_equal (a, b);
1849s # out:
1849s # return ret;
1849s # }
1849s #
1849s # G_GNUC_UNUSED static gboolean
1849s # _g_value_equal (const GValue *a, const GValue *b)
1849s # {
1849s # gboolean ret = FALSE;
1849s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1849s # switch (G_VALUE_TYPE (a))
1849s # {
1849s # case G_TYPE_BOOLEAN:
1849s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1849s # break;
1849s # case G_TYPE_UCHAR:
1849s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1849s # break;
1849s # case G_TYPE_INT:
1849s # ret = (g_value_get_int (a) == g_value_get_int (b));
1849s # break;
1849s # case G_TYPE_UINT:
1849s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1849s # break;
1849s # case G_TYPE_INT64:
1849s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1849s # break;
1849s # case G_TYPE_UINT64:
1849s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1849s # break;
1849s # case G_TYPE_DOUBLE:
1849s # {
1849s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1849s # gdouble da = g_value_get_double (a);
1849s # gdouble db = g_value_get_double (b);
1849s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1849s # }
1849s # break;
1849s # case G_TYPE_STRING:
1849s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1849s # break;
1849s # case G_TYPE_VARIANT:
1849s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1849s # break;
1849s # default:
1849s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1849s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1849s # else
1849s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1849s # break;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static void
1849s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1849s # GClosure *closure,
1849s # GValue *return_value,
1849s # unsigned int n_param_values,
1849s # const GValue *param_values,
1849s # void *invocation_hint G_GNUC_UNUSED,
1849s # void *marshal_data)
1849s # {
1849s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1849s # (void *data1,
1849s # GDBusMethodInvocation *arg_method_invocation,
1849s # void *data2);
1849s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1849s # GCClosure *cc = (GCClosure*) closure;
1849s # void *data1, *data2;
1849s # gboolean v_return;
1849s #
1849s # g_return_if_fail (return_value != NULL);
1849s # g_return_if_fail (n_param_values == 2);
1849s #
1849s # if (G_CCLOSURE_SWAP_DATA (closure))
1849s # {
1849s # data1 = closure->data;
1849s # data2 = g_value_peek_pointer (param_values + 0);
1849s # }
1849s # else
1849s # {
1849s # data1 = g_value_peek_pointer (param_values + 0);
1849s # data2 = closure->data;
1849s # }
1849s #
1849s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1849s # (marshal_data ? marshal_data : cc->callback);
1849s #
1849s # v_return =
1849s # callback (data1,
1849s # g_marshal_value_peek_object (param_values + 1),
1849s # data2);
1849s #
1849s # g_value_set_boolean (return_value, v_return);
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------
1849s # * Code for interface org.project.CallableIface
1849s # * ------------------------------------------------------------------------
1849s # */
1849s #
1849s # /**
1849s # * SECTION:OrgProjectCallableIface
1849s # * @title: OrgProjectCallableIface
1849s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1849s # *
1849s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1849s # */
1849s #
1849s # /* ---- Introspection data for org.project.CallableIface ---- */
1849s #
1849s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "SimpleMethod",
1849s # NULL,
1849s # NULL,
1849s # NULL
1849s # },
1849s # "handle-simple-method",
1849s # FALSE
1849s # };
1849s #
1849s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1849s # {
1849s # &_org_project_callable_iface_method_info_simple_method.parent_struct,
1849s # NULL
1849s # };
1849s #
1849s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "org.project.CallableIface",
1849s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1849s # NULL,
1849s # NULL,
1849s # NULL
1849s # },
1849s # "org-project-callable-iface",
1849s # };
1849s #
1849s #
1849s # /**
1849s # * org_project_callable_iface_interface_info:
1849s # *
1849s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1849s # *
1849s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1849s # */
1849s # GDBusInterfaceInfo *
1849s # org_project_callable_iface_interface_info (void)
1849s # {
1849s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_override_properties:
1849s # * @klass: The class structure for a #GObject derived class.
1849s # * @property_id_begin: The property id to assign to the first overridden property.
1849s # *
1849s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1849s # * The properties are overridden in the order they are defined.
1849s # *
1849s # * Returns: The last property id.
1849s # */
1849s # guint
1849s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1849s # {
1849s # return property_id_begin - 1;
1849s # }
1849s #
1849s #
1849s # inline static void
1849s # org_project_callable_iface_method_marshal_simple_method (
1849s # GClosure *closure,
1849s # GValue *return_value,
1849s # unsigned int n_param_values,
1849s # const GValue *param_values,
1849s # void *invocation_hint,
1849s # void *marshal_data)
1849s # {
1849s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1849s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1849s # }
1849s #
1849s #
1849s # /**
1849s # * OrgProjectCallableIface:
1849s # *
1849s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1849s # */
1849s #
1849s # /**
1849s # * OrgProjectCallableIfaceIface:
1849s # * @parent_iface: The parent interface.
1849s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal.
1849s # *
1849s # * Virtual table for the D-Bus interface org.project.CallableIface.
1849s # */
1849s #
1849s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1849s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1849s #
1849s # static void
1849s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1849s # {
1849s # /* GObject signals for incoming D-Bus method calls: */
1849s # /**
1849s # * OrgProjectCallableIface::handle-simple-method:
1849s # * @object: A #OrgProjectCallableIface.
1849s # * @invocation: A #GDBusMethodInvocation.
1849s # *
1849s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
1849s # *
1849s # * 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.
1849s # *
1849s # * 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.
1849s # */
1849s # g_signal_new ("handle-simple-method",
1849s # G_TYPE_FROM_INTERFACE (iface),
1849s # G_SIGNAL_RUN_LAST,
1849s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method),
1849s # g_signal_accumulator_true_handled,
1849s # NULL,
1849s # org_project_callable_iface_method_marshal_simple_method,
1849s # G_TYPE_BOOLEAN,
1849s # 1,
1849s # G_TYPE_DBUS_METHOD_INVOCATION);
1849s #
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_call_simple_method:
1849s # * @proxy: A #OrgProjectCallableIfaceProxy.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation.
1849s # *
1849s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
1849s # */
1849s # void
1849s # org_project_callable_iface_call_simple_method (
1849s # OrgProjectCallableIface *proxy,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1849s # "SimpleMethod",
1849s # g_variant_new ("()"),
1849s # G_DBUS_CALL_FLAGS_NONE,
1849s # -1,
1849s # cancellable,
1849s # callback,
1849s # user_data);
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_call_simple_method_finish:
1849s # * @proxy: A #OrgProjectCallableIfaceProxy.
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method().
1849s # * @error: Return location for error or %NULL.
1849s # *
1849s # * Finishes an operation started with org_project_callable_iface_call_simple_method().
1849s # *
1849s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1849s # */
1849s # gboolean
1849s # org_project_callable_iface_call_simple_method_finish (
1849s # OrgProjectCallableIface *proxy,
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GVariant *_ret;
1849s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1849s # if (_ret == NULL)
1849s # goto _out;
1849s # g_variant_get (_ret,
1849s # "()");
1849s # g_variant_unref (_ret);
1849s # _out:
1849s # return _ret != NULL;
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_call_simple_method_sync:
1849s # * @proxy: A #OrgProjectCallableIfaceProxy.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL.
1849s # *
1849s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1849s # *
1849s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method.
1849s # *
1849s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1849s # */
1849s # gboolean
1849s # org_project_callable_iface_call_simple_method_sync (
1849s # OrgProjectCallableIface *proxy,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GVariant *_ret;
1849s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1849s # "SimpleMethod",
1849s # g_variant_new ("()"),
1849s # G_DBUS_CALL_FLAGS_NONE,
1849s # -1,
1849s # cancellable,
1849s # error);
1849s # if (_ret == NULL)
1849s # goto _out;
1849s # g_variant_get (_ret,
1849s # "()");
1849s # g_variant_unref (_ret);
1849s # _out:
1849s # return _ret != NULL;
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_complete_simple_method:
1849s # * @object: A #OrgProjectCallableIface.
1849s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1849s # *
1849s # * 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.
1849s # *
1849s # * This method will free @invocation, you cannot use it afterwards.
1849s # */
1849s # void
1849s # org_project_callable_iface_complete_simple_method (
1849s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1849s # GDBusMethodInvocation *invocation)
1849s # {
1849s # g_dbus_method_invocation_return_value (invocation,
1849s # g_variant_new ("()"));
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * OrgProjectCallableIfaceProxy:
1849s # *
1849s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * OrgProjectCallableIfaceProxyClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for #OrgProjectCallableIfaceProxy.
1849s # */
1849s #
1849s # struct _OrgProjectCallableIfaceProxyPrivate
1849s # {
1849s # GData *qdata;
1849s # };
1849s #
1849s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1849s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1849s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1849s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # org_project_callable_iface_proxy_finalize (GObject *object)
1849s # {
1849s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1849s # g_datalist_clear (&proxy->priv->qdata);
1849s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1849s # guint prop_id G_GNUC_UNUSED,
1849s # GValue *value G_GNUC_UNUSED,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1849s # guint prop_id G_GNUC_UNUSED,
1849s # const GValue *value G_GNUC_UNUSED,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1849s # const gchar *sender_name G_GNUC_UNUSED,
1849s # const gchar *signal_name,
1849s # GVariant *parameters)
1849s # {
1849s # _ExtendedGDBusSignalInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # gsize n;
1849s # guint signal_id;
1849s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1849s # if (info == NULL)
1849s # return;
1849s # num_params = g_variant_n_children (parameters);
1849s # paramv = g_new0 (GValue, num_params + 1);
1849s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1849s # g_value_set_object (¶mv[0], proxy);
1849s # g_variant_iter_init (&iter, parameters);
1849s # n = 1;
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1849s # g_signal_emitv (paramv, signal_id, 0, NULL);
1849s # for (n = 0; n < num_params + 1; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1849s # GVariant *changed_properties,
1849s # const gchar *const *invalidated_properties)
1849s # {
1849s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1849s # guint n;
1849s # const gchar *key;
1849s # GVariantIter *iter;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # g_variant_get (changed_properties, "a{sv}", &iter);
1849s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1849s # g_datalist_remove_data (&proxy->priv->qdata, key);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # g_variant_iter_free (iter);
1849s # for (n = 0; invalidated_properties[n] != NULL; n++)
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1849s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1849s # #else
1849s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1849s # #endif
1849s #
1849s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusProxyClass *proxy_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1849s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1849s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1849s #
1849s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1849s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1849s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_proxy_new:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1849s # *
1849s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # org_project_callable_iface_proxy_new (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_proxy_new_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # OrgProjectCallableIface *
1849s # org_project_callable_iface_proxy_new_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_proxy_new_sync:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # OrgProjectCallableIface *
1849s # org_project_callable_iface_proxy_new_sync (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /**
1849s # * org_project_callable_iface_proxy_new_for_bus:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1849s # *
1849s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # org_project_callable_iface_proxy_new_for_bus (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_proxy_new_for_bus_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # OrgProjectCallableIface *
1849s # org_project_callable_iface_proxy_new_for_bus_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_proxy_new_for_bus_sync:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # OrgProjectCallableIface *
1849s # org_project_callable_iface_proxy_new_for_bus_sync (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * OrgProjectCallableIfaceSkeleton:
1849s # *
1849s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * OrgProjectCallableIfaceSkeletonClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1849s # */
1849s #
1849s # struct _OrgProjectCallableIfaceSkeletonPrivate
1849s # {
1849s # GValue *properties;
1849s # GList *changed_properties;
1849s # GSource *changed_properties_idle_source;
1849s # GMainContext *context;
1849s # GMutex lock;
1849s # };
1849s #
1849s # static void
1849s # _org_project_callable_iface_skeleton_handle_method_call (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name,
1849s # const gchar *method_name,
1849s # GVariant *parameters,
1849s # GDBusMethodInvocation *invocation,
1849s # gpointer user_data)
1849s # {
1849s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1849s # _ExtendedGDBusMethodInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # guint num_extra;
1849s # gsize n;
1849s # guint signal_id;
1849s # GValue return_value = G_VALUE_INIT;
1849s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1849s # g_assert (info != NULL);
1849s # num_params = g_variant_n_children (parameters);
1849s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1849s # n = 0;
1849s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1849s # g_value_set_object (¶mv[n++], skeleton);
1849s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1849s # g_value_set_object (¶mv[n++], invocation);
1849s # if (info->pass_fdlist)
1849s # {
1849s # #ifdef G_OS_UNIX
1849s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1849s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1849s # #else
1849s # g_assert_not_reached ();
1849s # #endif
1849s # }
1849s # g_variant_iter_init (&iter, parameters);
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1849s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1849s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1849s # if (!g_value_get_boolean (&return_value))
1849s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1849s # g_value_unset (&return_value);
1849s # for (n = 0; n < num_params + num_extra; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static GVariant *
1849s # _org_project_callable_iface_skeleton_handle_get_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *ret;
1849s # ret = NULL;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # g_value_init (&value, pspec->value_type);
1849s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1849s # g_value_unset (&value);
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _org_project_callable_iface_skeleton_handle_set_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GVariant *variant,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # gboolean ret;
1849s # ret = FALSE;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # if (info->use_gvariant)
1849s # g_value_set_variant (&value, variant);
1849s # else
1849s # g_dbus_gvariant_to_gvalue (variant, &value);
1849s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # g_value_unset (&value);
1849s # ret = TRUE;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1849s # {
1849s # _org_project_callable_iface_skeleton_handle_method_call,
1849s # _org_project_callable_iface_skeleton_handle_get_property,
1849s # _org_project_callable_iface_skeleton_handle_set_property,
1849s # {NULL}
1849s # };
1849s #
1849s # static GDBusInterfaceInfo *
1849s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return org_project_callable_iface_interface_info ();
1849s # }
1849s #
1849s # static GDBusInterfaceVTable *
1849s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1849s # }
1849s #
1849s # static GVariant *
1849s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1849s # {
1849s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1849s #
1849s # GVariantBuilder builder;
1849s # guint n;
1849s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1849s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1849s # goto out;
1849s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1849s # {
1849s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1849s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1849s # {
1849s # GVariant *value;
1849s # 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);
1849s # if (value != NULL)
1849s # {
1849s # g_variant_take_ref (value);
1849s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1849s # g_variant_unref (value);
1849s # }
1849s # }
1849s # }
1849s # out:
1849s # return g_variant_builder_end (&builder);
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1849s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # org_project_callable_iface_skeleton_finalize (GObject *object)
1849s # {
1849s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1849s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1849s # if (skeleton->priv->changed_properties_idle_source != NULL)
1849s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1849s # g_main_context_unref (skeleton->priv->context);
1849s # g_mutex_clear (&skeleton->priv->lock);
1849s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1849s # #else
1849s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1849s # #endif
1849s #
1849s # g_mutex_init (&skeleton->priv->lock);
1849s # skeleton->priv->context = g_main_context_ref_thread_default ();
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusInterfaceSkeletonClass *skeleton_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1849s #
1849s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1849s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1849s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1849s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1849s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # /**
1849s # * org_project_callable_iface_skeleton_new:
1849s # *
1849s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1849s # */
1849s # OrgProjectCallableIface *
1849s # org_project_callable_iface_skeleton_new (void)
1849s # {
1849s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------
1849s # * Code for interface org.project.OtherCallableIface
1849s # * ------------------------------------------------------------------------
1849s # */
1849s #
1849s # /**
1849s # * SECTION:OrgProjectOtherCallableIface
1849s # * @title: OrgProjectOtherCallableIface
1849s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
1849s # *
1849s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
1849s # */
1849s #
1849s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
1849s #
1849s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "SimpleMethod",
1849s # NULL,
1849s # NULL,
1849s # NULL
1849s # },
1849s # "handle-simple-method",
1849s # FALSE
1849s # };
1849s #
1849s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
1849s # {
1849s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct,
1849s # NULL
1849s # };
1849s #
1849s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
1849s # {
1849s # {
1849s # -1,
1849s # (gchar *) "org.project.OtherCallableIface",
1849s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
1849s # NULL,
1849s # NULL,
1849s # NULL
1849s # },
1849s # "org-project-other-callable-iface",
1849s # };
1849s #
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_interface_info:
1849s # *
1849s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
1849s # *
1849s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1849s # */
1849s # GDBusInterfaceInfo *
1849s # org_project_other_callable_iface_interface_info (void)
1849s # {
1849s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_override_properties:
1849s # * @klass: The class structure for a #GObject derived class.
1849s # * @property_id_begin: The property id to assign to the first overridden property.
1849s # *
1849s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
1849s # * The properties are overridden in the order they are defined.
1849s # *
1849s # * Returns: The last property id.
1849s # */
1849s # guint
1849s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1849s # {
1849s # return property_id_begin - 1;
1849s # }
1849s #
1849s #
1849s # inline static void
1849s # org_project_other_callable_iface_method_marshal_simple_method (
1849s # GClosure *closure,
1849s # GValue *return_value,
1849s # unsigned int n_param_values,
1849s # const GValue *param_values,
1849s # void *invocation_hint,
1849s # void *marshal_data)
1849s # {
1849s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1849s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1849s # }
1849s #
1849s #
1849s # /**
1849s # * OrgProjectOtherCallableIface:
1849s # *
1849s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
1849s # */
1849s #
1849s # /**
1849s # * OrgProjectOtherCallableIfaceIface:
1849s # * @parent_iface: The parent interface.
1849s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal.
1849s # *
1849s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
1849s # */
1849s #
1849s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
1849s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
1849s #
1849s # static void
1849s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
1849s # {
1849s # /* GObject signals for incoming D-Bus method calls: */
1849s # /**
1849s # * OrgProjectOtherCallableIface::handle-simple-method:
1849s # * @object: A #OrgProjectOtherCallableIface.
1849s # * @invocation: A #GDBusMethodInvocation.
1849s # *
1849s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
1849s # *
1849s # * 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.
1849s # *
1849s # * 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.
1849s # */
1849s # g_signal_new ("handle-simple-method",
1849s # G_TYPE_FROM_INTERFACE (iface),
1849s # G_SIGNAL_RUN_LAST,
1849s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method),
1849s # g_signal_accumulator_true_handled,
1849s # NULL,
1849s # org_project_other_callable_iface_method_marshal_simple_method,
1849s # G_TYPE_BOOLEAN,
1849s # 1,
1849s # G_TYPE_DBUS_METHOD_INVOCATION);
1849s #
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_call_simple_method:
1849s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation.
1849s # *
1849s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
1849s # */
1849s # void
1849s # org_project_other_callable_iface_call_simple_method (
1849s # OrgProjectOtherCallableIface *proxy,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1849s # "SimpleMethod",
1849s # g_variant_new ("()"),
1849s # G_DBUS_CALL_FLAGS_NONE,
1849s # -1,
1849s # cancellable,
1849s # callback,
1849s # user_data);
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_call_simple_method_finish:
1849s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method().
1849s # * @error: Return location for error or %NULL.
1849s # *
1849s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method().
1849s # *
1849s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1849s # */
1849s # gboolean
1849s # org_project_other_callable_iface_call_simple_method_finish (
1849s # OrgProjectOtherCallableIface *proxy,
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GVariant *_ret;
1849s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1849s # if (_ret == NULL)
1849s # goto _out;
1849s # g_variant_get (_ret,
1849s # "()");
1849s # g_variant_unref (_ret);
1849s # _out:
1849s # return _ret != NULL;
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_call_simple_method_sync:
1849s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL.
1849s # *
1849s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1849s # *
1849s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method.
1849s # *
1849s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1849s # */
1849s # gboolean
1849s # org_project_other_callable_iface_call_simple_method_sync (
1849s # OrgProjectOtherCallableIface *proxy,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GVariant *_ret;
1849s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1849s # "SimpleMethod",
1849s # g_variant_new ("()"),
1849s # G_DBUS_CALL_FLAGS_NONE,
1849s # -1,
1849s # cancellable,
1849s # error);
1849s # if (_ret == NULL)
1849s # goto _out;
1849s # g_variant_get (_ret,
1849s # "()");
1849s # g_variant_unref (_ret);
1849s # _out:
1849s # return _ret != NULL;
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_complete_simple_method:
1849s # * @object: A #OrgProjectOtherCallableIface.
1849s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1849s # *
1849s # * 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.
1849s # *
1849s # * This method will free @invocation, you cannot use it afterwards.
1849s # */
1849s # void
1849s # org_project_other_callable_iface_complete_simple_method (
1849s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
1849s # GDBusMethodInvocation *invocation)
1849s # {
1849s # g_dbus_method_invocation_return_value (invocation,
1849s # g_variant_new ("()"));
1849s # }
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * OrgProjectOtherCallableIfaceProxy:
1849s # *
1849s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * OrgProjectOtherCallableIfaceProxyClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
1849s # */
1849s #
1849s # struct _OrgProjectOtherCallableIfaceProxyPrivate
1849s # {
1849s # GData *qdata;
1849s # };
1849s #
1849s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1849s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
1849s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1849s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # org_project_other_callable_iface_proxy_finalize (GObject *object)
1849s # {
1849s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
1849s # g_datalist_clear (&proxy->priv->qdata);
1849s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1849s # guint prop_id G_GNUC_UNUSED,
1849s # GValue *value G_GNUC_UNUSED,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1849s # guint prop_id G_GNUC_UNUSED,
1849s # const GValue *value G_GNUC_UNUSED,
1849s # GParamSpec *pspec G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1849s # const gchar *sender_name G_GNUC_UNUSED,
1849s # const gchar *signal_name,
1849s # GVariant *parameters)
1849s # {
1849s # _ExtendedGDBusSignalInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # gsize n;
1849s # guint signal_id;
1849s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
1849s # if (info == NULL)
1849s # return;
1849s # num_params = g_variant_n_children (parameters);
1849s # paramv = g_new0 (GValue, num_params + 1);
1849s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1849s # g_value_set_object (¶mv[0], proxy);
1849s # g_variant_iter_init (&iter, parameters);
1849s # n = 1;
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1849s # g_signal_emitv (paramv, signal_id, 0, NULL);
1849s # for (n = 0; n < num_params + 1; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1849s # GVariant *changed_properties,
1849s # const gchar *const *invalidated_properties)
1849s # {
1849s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
1849s # guint n;
1849s # const gchar *key;
1849s # GVariantIter *iter;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # g_variant_get (changed_properties, "a{sv}", &iter);
1849s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
1849s # g_datalist_remove_data (&proxy->priv->qdata, key);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # g_variant_iter_free (iter);
1849s # for (n = 0; invalidated_properties[n] != NULL; n++)
1849s # {
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1849s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1849s # if (info != NULL)
1849s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1849s # }
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
1849s # #else
1849s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
1849s # #endif
1849s #
1849s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusProxyClass *proxy_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
1849s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
1849s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
1849s #
1849s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1849s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
1849s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_proxy_new:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
1849s # *
1849s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # org_project_other_callable_iface_proxy_new (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_proxy_new_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # OrgProjectOtherCallableIface *
1849s # org_project_other_callable_iface_proxy_new_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_proxy_new_sync:
1849s # * @connection: A #GDBusConnection.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # OrgProjectOtherCallableIface *
1849s # org_project_other_callable_iface_proxy_new_sync (
1849s # GDBusConnection *connection,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_proxy_new_for_bus:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1849s # * @user_data: User data to pass to @callback.
1849s # *
1849s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1849s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1849s # *
1849s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1849s # */
1849s # void
1849s # org_project_other_callable_iface_proxy_new_for_bus (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GAsyncReadyCallback callback,
1849s # gpointer user_data)
1849s # {
1849s # 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);
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
1849s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # OrgProjectOtherCallableIface *
1849s # org_project_other_callable_iface_proxy_new_for_bus_finish (
1849s # GAsyncResult *res,
1849s # GError **error)
1849s # {
1849s # GObject *ret;
1849s # GObject *source_object;
1849s # source_object = g_async_result_get_source_object (res);
1849s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1849s # g_object_unref (source_object);
1849s # if (ret != NULL)
1849s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
1849s # * @bus_type: A #GBusType.
1849s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1849s # * @name: A bus name (well-known or unique).
1849s # * @object_path: An object path.
1849s # * @cancellable: (nullable): A #GCancellable or %NULL.
1849s # * @error: Return location for error or %NULL
1849s # *
1849s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1849s # *
1849s # * The calling thread is blocked until a reply is received.
1849s # *
1849s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1849s # */
1849s # OrgProjectOtherCallableIface *
1849s # org_project_other_callable_iface_proxy_new_for_bus_sync (
1849s # GBusType bus_type,
1849s # GDBusProxyFlags flags,
1849s # const gchar *name,
1849s # const gchar *object_path,
1849s # GCancellable *cancellable,
1849s # GError **error)
1849s # {
1849s # GInitable *ret;
1849s # 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);
1849s # if (ret != NULL)
1849s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1849s # else
1849s # return NULL;
1849s # }
1849s #
1849s #
1849s # /* ------------------------------------------------------------------------ */
1849s #
1849s # /**
1849s # * OrgProjectOtherCallableIfaceSkeleton:
1849s # *
1849s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1849s # */
1849s #
1849s # /**
1849s # * OrgProjectOtherCallableIfaceSkeletonClass:
1849s # * @parent_class: The parent class.
1849s # *
1849s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
1849s # */
1849s #
1849s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
1849s # {
1849s # GValue *properties;
1849s # GList *changed_properties;
1849s # GSource *changed_properties_idle_source;
1849s # GMainContext *context;
1849s # GMutex lock;
1849s # };
1849s #
1849s # static void
1849s # _org_project_other_callable_iface_skeleton_handle_method_call (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name,
1849s # const gchar *method_name,
1849s # GVariant *parameters,
1849s # GDBusMethodInvocation *invocation,
1849s # gpointer user_data)
1849s # {
1849s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1849s # _ExtendedGDBusMethodInfo *info;
1849s # GVariantIter iter;
1849s # GVariant *child;
1849s # GValue *paramv;
1849s # gsize num_params;
1849s # guint num_extra;
1849s # gsize n;
1849s # guint signal_id;
1849s # GValue return_value = G_VALUE_INIT;
1849s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1849s # g_assert (info != NULL);
1849s # num_params = g_variant_n_children (parameters);
1849s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1849s # n = 0;
1849s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1849s # g_value_set_object (¶mv[n++], skeleton);
1849s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1849s # g_value_set_object (¶mv[n++], invocation);
1849s # if (info->pass_fdlist)
1849s # {
1849s # #ifdef G_OS_UNIX
1849s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1849s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1849s # #else
1849s # g_assert_not_reached ();
1849s # #endif
1849s # }
1849s # g_variant_iter_init (&iter, parameters);
1849s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1849s # {
1849s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1849s # if (arg_info->use_gvariant)
1849s # {
1849s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1849s # g_value_set_variant (¶mv[n], child);
1849s # n++;
1849s # }
1849s # else
1849s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1849s # g_variant_unref (child);
1849s # }
1849s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1849s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1849s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1849s # if (!g_value_get_boolean (&return_value))
1849s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1849s # g_value_unset (&return_value);
1849s # for (n = 0; n < num_params + num_extra; n++)
1849s # g_value_unset (¶mv[n]);
1849s # g_free (paramv);
1849s # }
1849s #
1849s # static GVariant *
1849s # _org_project_other_callable_iface_skeleton_handle_get_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # GVariant *ret;
1849s # ret = NULL;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # g_value_init (&value, pspec->value_type);
1849s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1849s # g_value_unset (&value);
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static gboolean
1849s # _org_project_other_callable_iface_skeleton_handle_set_property (
1849s # GDBusConnection *connection G_GNUC_UNUSED,
1849s # const gchar *sender G_GNUC_UNUSED,
1849s # const gchar *object_path G_GNUC_UNUSED,
1849s # const gchar *interface_name G_GNUC_UNUSED,
1849s # const gchar *property_name,
1849s # GVariant *variant,
1849s # GError **error,
1849s # gpointer user_data)
1849s # {
1849s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1849s # GValue value = G_VALUE_INIT;
1849s # GParamSpec *pspec;
1849s # _ExtendedGDBusPropertyInfo *info;
1849s # gboolean ret;
1849s # ret = FALSE;
1849s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1849s # g_assert (info != NULL);
1849s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1849s # if (pspec == NULL)
1849s # {
1849s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1849s # }
1849s # else
1849s # {
1849s # if (info->use_gvariant)
1849s # g_value_set_variant (&value, variant);
1849s # else
1849s # g_dbus_gvariant_to_gvalue (variant, &value);
1849s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1849s # g_value_unset (&value);
1849s # ret = TRUE;
1849s # }
1849s # return ret;
1849s # }
1849s #
1849s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
1849s # {
1849s # _org_project_other_callable_iface_skeleton_handle_method_call,
1849s # _org_project_other_callable_iface_skeleton_handle_get_property,
1849s # _org_project_other_callable_iface_skeleton_handle_set_property,
1849s # {NULL}
1849s # };
1849s #
1849s # static GDBusInterfaceInfo *
1849s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return org_project_other_callable_iface_interface_info ();
1849s # }
1849s #
1849s # static GDBusInterfaceVTable *
1849s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1849s # {
1849s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
1849s # }
1849s #
1849s # static GVariant *
1849s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1849s # {
1849s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
1849s #
1849s # GVariantBuilder builder;
1849s # guint n;
1849s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1849s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
1849s # goto out;
1849s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1849s # {
1849s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
1849s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1849s # {
1849s # GVariant *value;
1849s # 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);
1849s # if (value != NULL)
1849s # {
1849s # g_variant_take_ref (value);
1849s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1849s # g_variant_unref (value);
1849s # }
1849s # }
1849s # }
1849s # out:
1849s # return g_variant_builder_end (&builder);
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
1849s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1849s #
1849s # #else
1849s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1849s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1849s #
1849s # #endif
1849s # static void
1849s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
1849s # {
1849s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
1849s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1849s # if (skeleton->priv->changed_properties_idle_source != NULL)
1849s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1849s # g_main_context_unref (skeleton->priv->context);
1849s # g_mutex_clear (&skeleton->priv->lock);
1849s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
1849s # {
1849s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1849s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
1849s # #else
1849s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
1849s # #endif
1849s #
1849s # g_mutex_init (&skeleton->priv->lock);
1849s # skeleton->priv->context = g_main_context_ref_thread_default ();
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
1849s # {
1849s # GObjectClass *gobject_class;
1849s # GDBusInterfaceSkeletonClass *skeleton_class;
1849s #
1849s # gobject_class = G_OBJECT_CLASS (klass);
1849s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
1849s #
1849s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1849s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
1849s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
1849s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
1849s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
1849s #
1849s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1849s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
1849s # #endif
1849s # }
1849s #
1849s # static void
1849s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1849s # {
1849s # }
1849s #
1849s # /**
1849s # * org_project_other_callable_iface_skeleton_new:
1849s # *
1849s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
1849s # *
1849s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
1849s # */
1849s # OrgProjectOtherCallableIface *
1849s # org_project_other_callable_iface_skeleton_new (void)
1849s # {
1849s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
1849s # }
1850s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args
1850s # tmpdir: /tmp/tmptvfnqq2f
1850s # codegen: /usr/bin/gdbus-codegen
1850s # /tmp/tmptvfnqq2f/tmp178t1hwf.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp178t1hwf.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # gboolean arg_arg_b,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_boolean (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_b",
1850s # (gchar *) "b",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodB",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-b",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_b (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_b: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-b",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_b,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_b:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_b: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_b (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gboolean arg_arg_b,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodB",
1850s # g_variant_new ("(b)",
1850s # arg_arg_b),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_b_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_b_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_b_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_b: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_b_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gboolean arg_arg_b,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodB",
1850s # g_variant_new ("(b)",
1850s # arg_arg_b),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_b:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_b (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp3knpysjv.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp3knpysjv.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # guchar arg_arg_y,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_uchar (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_y",
1850s # (gchar *) "y",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodY",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-y",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_y (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_y: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-y",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_y,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_y:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_y: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_y (
1850s # OrgProjectUsefulInterface *proxy,
1850s # guchar arg_arg_y,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodY",
1850s # g_variant_new ("(y)",
1850s # arg_arg_y),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_y_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_y_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_y_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_y: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_y_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # guchar arg_arg_y,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodY",
1850s # g_variant_new ("(y)",
1850s # arg_arg_y),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_y:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_y (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmpjtfseuwn.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmpjtfseuwn.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # gint16 arg_arg_n,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_int (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_n",
1850s # (gchar *) "n",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodN",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-n",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_n (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_n: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-n",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_n,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_n:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_n: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_n (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gint16 arg_arg_n,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodN",
1850s # g_variant_new ("(n)",
1850s # arg_arg_n),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_n_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_n_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_n_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_n: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_n_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gint16 arg_arg_n,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodN",
1850s # g_variant_new ("(n)",
1850s # arg_arg_n),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_n:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_n (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp4rodb8g8.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp4rodb8g8.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # guint16 arg_arg_q,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_uint (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_q",
1850s # (gchar *) "q",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodQ",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-q",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_q (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_q: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-q",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_q,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_q:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_q: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_q (
1850s # OrgProjectUsefulInterface *proxy,
1850s # guint16 arg_arg_q,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodQ",
1850s # g_variant_new ("(q)",
1850s # arg_arg_q),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_q_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_q_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_q_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_q: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_q_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # guint16 arg_arg_q,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodQ",
1850s # g_variant_new ("(q)",
1850s # arg_arg_q),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_q:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_q (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp9ke33_2y.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp9ke33_2y.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # gint arg_arg_i,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_int (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_i",
1850s # (gchar *) "i",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodI",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-i",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_i (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_i: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-i",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_i,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_i:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_i: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_i (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gint arg_arg_i,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodI",
1850s # g_variant_new ("(i)",
1850s # arg_arg_i),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_i_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_i_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_i_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_i: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_i_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gint arg_arg_i,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodI",
1850s # g_variant_new ("(i)",
1850s # arg_arg_i),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_i:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_i (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp8haz1so0.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp8haz1so0.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # guint arg_arg_u,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_uint (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_u",
1850s # (gchar *) "u",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodU",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-u",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_u (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_u: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-u",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_u,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_u:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_u: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_u (
1850s # OrgProjectUsefulInterface *proxy,
1850s # guint arg_arg_u,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodU",
1850s # g_variant_new ("(u)",
1850s # arg_arg_u),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_u_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_u_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_u_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_u: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_u_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # guint arg_arg_u,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodU",
1850s # g_variant_new ("(u)",
1850s # arg_arg_u),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_u:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_u (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp0cot84hh.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp0cot84hh.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # gint64 arg_arg_x,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_int64 (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_x",
1850s # (gchar *) "x",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodX",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-x",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_x (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_x: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-x",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_x,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_x:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_x: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_x (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gint64 arg_arg_x,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodX",
1850s # g_variant_new ("(x)",
1850s # arg_arg_x),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_x_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_x_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_x_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_x: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_x_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gint64 arg_arg_x,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodX",
1850s # g_variant_new ("(x)",
1850s # arg_arg_x),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_x:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_x (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp2h8iy2vu.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp2h8iy2vu.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # guint64 arg_arg_t,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_uint64 (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_t",
1850s # (gchar *) "t",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodT",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-t",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_t (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_t: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-t",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_t,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_t:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_t: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_t (
1850s # OrgProjectUsefulInterface *proxy,
1850s # guint64 arg_arg_t,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodT",
1850s # g_variant_new ("(t)",
1850s # arg_arg_t),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_t_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_t_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_t_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_t: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_t_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # guint64 arg_arg_t,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodT",
1850s # g_variant_new ("(t)",
1850s # arg_arg_t),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_t:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_t (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmpw9z6etqy.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmpw9z6etqy.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # gdouble arg_arg_d,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_double (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_d",
1850s # (gchar *) "d",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodD",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-d",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_d (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_d: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-d",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_d,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_d:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_d: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_d (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gdouble arg_arg_d,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodD",
1850s # g_variant_new ("(d)",
1850s # arg_arg_d),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_d_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_d_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_d_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_d: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_d_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # gdouble arg_arg_d,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodD",
1850s # g_variant_new ("(d)",
1850s # arg_arg_d),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_d:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_d (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmpk1bj5vgk.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmpk1bj5vgk.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # const gchar *arg_arg_s,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_string (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_s",
1850s # (gchar *) "s",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodS",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-s",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_s (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_s: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-s",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_s,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_s:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_s: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_s (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *arg_arg_s,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodS",
1850s # g_variant_new ("(s)",
1850s # arg_arg_s),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_s_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_s_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_s_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_s: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_s_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *arg_arg_s,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodS",
1850s # g_variant_new ("(s)",
1850s # arg_arg_s),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_s:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_s (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmpo5w13evy.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmpo5w13evy.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # const gchar *arg_arg_o,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_string (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_o",
1850s # (gchar *) "o",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodO",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-o",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_o (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_o: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-o",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_o,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_o:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_o: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_o (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *arg_arg_o,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodO",
1850s # g_variant_new ("(o)",
1850s # arg_arg_o),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_o_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_o_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_o_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_o: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_o_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *arg_arg_o,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodO",
1850s # g_variant_new ("(o)",
1850s # arg_arg_o),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_o:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_o (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmpox52hnj6.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmpox52hnj6.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # const gchar *arg_arg_g,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_string (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_g",
1850s # (gchar *) "g",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodG",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-g",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_g (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_g: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-g",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_g,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_g:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_g: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_g (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *arg_arg_g,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodG",
1850s # g_variant_new ("(g)",
1850s # arg_arg_g),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_g_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_g_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_g_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_g: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_g_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *arg_arg_g,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodG",
1850s # g_variant_new ("(g)",
1850s # arg_arg_g),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_g:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_g (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp_0zwn6kv.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp_0zwn6kv.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # GVariant *arg_arg_h,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_variant (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_h",
1850s # (gchar *) "h",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodH",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-h",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_h (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_h: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-h",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_h,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_h:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_h: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_h (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GVariant *arg_arg_h,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodH",
1850s # g_variant_new ("(@h)",
1850s # arg_arg_h),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_h_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_h_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_h_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_h: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_h_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GVariant *arg_arg_h,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodH",
1850s # g_variant_new ("(@h)",
1850s # arg_arg_h),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_h:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_h (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp1vvl1uua.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp1vvl1uua.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # const gchar *arg_arg_ay,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_string (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_ay",
1850s # (gchar *) "ay",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodAy",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-ay",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_ay (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_ay: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-ay",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_ay,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_ay:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_ay: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_ay (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *arg_arg_ay,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAy",
1850s # g_variant_new ("(^ay)",
1850s # arg_arg_ay),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_ay_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_ay_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_ay_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_ay: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_ay_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *arg_arg_ay,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAy",
1850s # g_variant_new ("(^ay)",
1850s # arg_arg_ay),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_ay:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_ay (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmp_q0ts4g2.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmp_q0ts4g2.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # const gchar *const *arg_arg_as,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_boxed (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_as",
1850s # (gchar *) "as",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodAs",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-as",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_as (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_as: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-as",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_as,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_as:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_as: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_as (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *const *arg_arg_as,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAs",
1850s # g_variant_new ("(^as)",
1850s # arg_arg_as),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_as_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_as_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_as_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_as: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_as_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *const *arg_arg_as,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAs",
1850s # g_variant_new ("(^as)",
1850s # arg_arg_as),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_as:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_as (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmpkle2pg43.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmpkle2pg43.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # const gchar *const *arg_arg_ao,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_boxed (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_ao",
1850s # (gchar *) "ao",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodAo",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-ao",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_ao (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_ao: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-ao",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_ao,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_ao:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_ao: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_ao (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *const *arg_arg_ao,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAo",
1850s # g_variant_new ("(^ao)",
1850s # arg_arg_ao),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_ao_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_ao_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_ao_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_ao: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_ao_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *const *arg_arg_ao,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAo",
1850s # g_variant_new ("(^ao)",
1850s # arg_arg_ao),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_ao:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_ao (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmphyyv40gp.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmphyyv40gp.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # const gchar *const *arg_arg_aay,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_boxed (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_aay",
1850s # (gchar *) "aay",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodAay",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-aay",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_aay (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_aay: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-aay",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_aay,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_aay:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_aay: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_aay (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *const *arg_arg_aay,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAay",
1850s # g_variant_new ("(^aay)",
1850s # arg_arg_aay),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_aay_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_aay_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_aay_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_aay: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_aay_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # const gchar *const *arg_arg_aay,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAay",
1850s # g_variant_new ("(^aay)",
1850s # arg_arg_aay),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_aay:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_aay (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1850s # /tmp/tmptvfnqq2f/tmpxpi5c_gb.xml:
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s #
1850s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptvfnqq2f/tmpxpi5c_gb.xml', '--output', '-', '--body']
1850s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1850s # Output: /*
1850s # * This file is generated by gdbus-codegen, do not modify it.
1850s # *
1850s # * The license of this code is the same as for the D-Bus interface description
1850s # * it was derived from. Note that it links to GLib, so must comply with the
1850s # * LGPL linking clauses.
1850s # */
1850s #
1850s # #ifdef HAVE_CONFIG_H
1850s # # include "config.h"
1850s # #endif
1850s #
1850s # #include
1850s # #ifdef G_OS_UNIX
1850s # # include
1850s # #endif
1850s #
1850s # #ifdef G_ENABLE_DEBUG
1850s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1850s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1850s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1850s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1850s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1850s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1850s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1850s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1850s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1850s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1850s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1850s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1850s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1850s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1850s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1850s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1850s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1850s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1850s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1850s # #else /* !G_ENABLE_DEBUG */
1850s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1850s # * Do not access GValues directly in your code. Instead, use the
1850s # * g_value_get_*() functions
1850s # */
1850s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1850s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1850s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1850s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1850s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1850s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1850s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1850s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1850s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1850s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1850s # #endif /* !G_ENABLE_DEBUG */
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusArgInfo parent_struct;
1850s # gboolean use_gvariant;
1850s # } _ExtendedGDBusArgInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusMethodInfo parent_struct;
1850s # const gchar *signal_name;
1850s # gboolean pass_fdlist;
1850s # } _ExtendedGDBusMethodInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusSignalInfo parent_struct;
1850s # const gchar *signal_name;
1850s # } _ExtendedGDBusSignalInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusPropertyInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # guint use_gvariant : 1;
1850s # guint emits_changed_signal : 1;
1850s # } _ExtendedGDBusPropertyInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # GDBusInterfaceInfo parent_struct;
1850s # const gchar *hyphen_name;
1850s # } _ExtendedGDBusInterfaceInfo;
1850s #
1850s # typedef struct
1850s # {
1850s # const _ExtendedGDBusPropertyInfo *info;
1850s # guint prop_id;
1850s # GValue orig_value; /* the value before the change */
1850s # } ChangedProperty;
1850s #
1850s # static void
1850s # _changed_property_free (ChangedProperty *data)
1850s # {
1850s # g_value_unset (&data->orig_value);
1850s # g_free (data);
1850s # }
1850s #
1850s # static gboolean
1850s # _g_strv_equal0 (gchar **a, gchar **b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # guint n;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # if (g_strv_length (a) != g_strv_length (b))
1850s # goto out;
1850s # for (n = 0; a[n] != NULL; n++)
1850s # if (g_strcmp0 (a[n], b[n]) != 0)
1850s # goto out;
1850s # ret = TRUE;
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _g_variant_equal0 (GVariant *a, GVariant *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # if (a == NULL && b == NULL)
1850s # {
1850s # ret = TRUE;
1850s # goto out;
1850s # }
1850s # if (a == NULL || b == NULL)
1850s # goto out;
1850s # ret = g_variant_equal (a, b);
1850s # out:
1850s # return ret;
1850s # }
1850s #
1850s # G_GNUC_UNUSED static gboolean
1850s # _g_value_equal (const GValue *a, const GValue *b)
1850s # {
1850s # gboolean ret = FALSE;
1850s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1850s # switch (G_VALUE_TYPE (a))
1850s # {
1850s # case G_TYPE_BOOLEAN:
1850s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1850s # break;
1850s # case G_TYPE_UCHAR:
1850s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1850s # break;
1850s # case G_TYPE_INT:
1850s # ret = (g_value_get_int (a) == g_value_get_int (b));
1850s # break;
1850s # case G_TYPE_UINT:
1850s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1850s # break;
1850s # case G_TYPE_INT64:
1850s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1850s # break;
1850s # case G_TYPE_UINT64:
1850s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1850s # break;
1850s # case G_TYPE_DOUBLE:
1850s # {
1850s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1850s # gdouble da = g_value_get_double (a);
1850s # gdouble db = g_value_get_double (b);
1850s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1850s # }
1850s # break;
1850s # case G_TYPE_STRING:
1850s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1850s # break;
1850s # case G_TYPE_VARIANT:
1850s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1850s # break;
1850s # default:
1850s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1850s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1850s # else
1850s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1850s # break;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static void
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint G_GNUC_UNUSED,
1850s # void *marshal_data)
1850s # {
1850s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1850s # (void *data1,
1850s # GDBusMethodInvocation *arg_method_invocation,
1850s # GVariant *arg_arg_asv,
1850s # void *data2);
1850s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
1850s # GCClosure *cc = (GCClosure*) closure;
1850s # void *data1, *data2;
1850s # gboolean v_return;
1850s #
1850s # g_return_if_fail (return_value != NULL);
1850s # g_return_if_fail (n_param_values == 3);
1850s #
1850s # if (G_CCLOSURE_SWAP_DATA (closure))
1850s # {
1850s # data1 = closure->data;
1850s # data2 = g_value_peek_pointer (param_values + 0);
1850s # }
1850s # else
1850s # {
1850s # data1 = g_value_peek_pointer (param_values + 0);
1850s # data2 = closure->data;
1850s # }
1850s #
1850s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1850s # (marshal_data ? marshal_data : cc->callback);
1850s #
1850s # v_return =
1850s # callback (data1,
1850s # g_marshal_value_peek_object (param_values + 1),
1850s # g_marshal_value_peek_variant (param_values + 2),
1850s # data2);
1850s #
1850s # g_value_set_boolean (return_value, v_return);
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------
1850s # * Code for interface org.project.UsefulInterface
1850s # * ------------------------------------------------------------------------
1850s # */
1850s #
1850s # /**
1850s # * SECTION:OrgProjectUsefulInterface
1850s # * @title: OrgProjectUsefulInterface
1850s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1850s # *
1850s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1850s # */
1850s #
1850s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1850s #
1850s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "arg_asv",
1850s # (gchar *) "a{sv}",
1850s # NULL
1850s # },
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "SingleArgMethodAsv",
1850s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "handle-single-arg-method-asv",
1850s # FALSE
1850s # };
1850s #
1850s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1850s # {
1850s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
1850s # NULL
1850s # };
1850s #
1850s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1850s # {
1850s # {
1850s # -1,
1850s # (gchar *) "org.project.UsefulInterface",
1850s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1850s # NULL,
1850s # NULL,
1850s # NULL
1850s # },
1850s # "org-project-useful-interface",
1850s # };
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_interface_info:
1850s # *
1850s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1850s # *
1850s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1850s # */
1850s # GDBusInterfaceInfo *
1850s # org_project_useful_interface_interface_info (void)
1850s # {
1850s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_override_properties:
1850s # * @klass: The class structure for a #GObject derived class.
1850s # * @property_id_begin: The property id to assign to the first overridden property.
1850s # *
1850s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1850s # * The properties are overridden in the order they are defined.
1850s # *
1850s # * Returns: The last property id.
1850s # */
1850s # guint
1850s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1850s # {
1850s # return property_id_begin - 1;
1850s # }
1850s #
1850s #
1850s # inline static void
1850s # org_project_useful_interface_method_marshal_single_arg_method_asv (
1850s # GClosure *closure,
1850s # GValue *return_value,
1850s # unsigned int n_param_values,
1850s # const GValue *param_values,
1850s # void *invocation_hint,
1850s # void *marshal_data)
1850s # {
1850s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
1850s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1850s # }
1850s #
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterface:
1850s # *
1850s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceIface:
1850s # * @parent_iface: The parent interface.
1850s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
1850s # *
1850s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1850s # */
1850s #
1850s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1850s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1850s #
1850s # static void
1850s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1850s # {
1850s # /* GObject signals for incoming D-Bus method calls: */
1850s # /**
1850s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: A #GDBusMethodInvocation.
1850s # * @arg_arg_asv: Argument passed by remote caller.
1850s # *
1850s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
1850s # *
1850s # * 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.
1850s # *
1850s # * 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.
1850s # */
1850s # g_signal_new ("handle-single-arg-method-asv",
1850s # G_TYPE_FROM_INTERFACE (iface),
1850s # G_SIGNAL_RUN_LAST,
1850s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
1850s # g_signal_accumulator_true_handled,
1850s # NULL,
1850s # org_project_useful_interface_method_marshal_single_arg_method_asv,
1850s # G_TYPE_BOOLEAN,
1850s # 2,
1850s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
1850s #
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_asv:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_asv: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
1850s # */
1850s # void
1850s # org_project_useful_interface_call_single_arg_method_asv (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GVariant *arg_arg_asv,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAsv",
1850s # g_variant_new ("(@a{sv})",
1850s # arg_arg_asv),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # callback,
1850s # user_data);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_asv_finish:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_asv_finish (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_call_single_arg_method_asv_sync:
1850s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1850s # * @arg_arg_asv: Argument to pass with the method invocation.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL.
1850s # *
1850s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
1850s # *
1850s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1850s # */
1850s # gboolean
1850s # org_project_useful_interface_call_single_arg_method_asv_sync (
1850s # OrgProjectUsefulInterface *proxy,
1850s # GVariant *arg_arg_asv,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GVariant *_ret;
1850s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1850s # "SingleArgMethodAsv",
1850s # g_variant_new ("(@a{sv})",
1850s # arg_arg_asv),
1850s # G_DBUS_CALL_FLAGS_NONE,
1850s # -1,
1850s # cancellable,
1850s # error);
1850s # if (_ret == NULL)
1850s # goto _out;
1850s # g_variant_get (_ret,
1850s # "()");
1850s # g_variant_unref (_ret);
1850s # _out:
1850s # return _ret != NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_complete_single_arg_method_asv:
1850s # * @object: A #OrgProjectUsefulInterface.
1850s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1850s # *
1850s # * 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.
1850s # *
1850s # * This method will free @invocation, you cannot use it afterwards.
1850s # */
1850s # void
1850s # org_project_useful_interface_complete_single_arg_method_asv (
1850s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1850s # GDBusMethodInvocation *invocation)
1850s # {
1850s # g_dbus_method_invocation_return_value (invocation,
1850s # g_variant_new ("()"));
1850s # }
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxy:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceProxyClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceProxyPrivate
1850s # {
1850s # GData *qdata;
1850s # };
1850s #
1850s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_proxy_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1850s # g_datalist_clear (&proxy->priv->qdata);
1850s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1850s # guint prop_id G_GNUC_UNUSED,
1850s # const GValue *value G_GNUC_UNUSED,
1850s # GParamSpec *pspec G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1850s # const gchar *sender_name G_GNUC_UNUSED,
1850s # const gchar *signal_name,
1850s # GVariant *parameters)
1850s # {
1850s # _ExtendedGDBusSignalInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # gsize n;
1850s # guint signal_id;
1850s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1850s # if (info == NULL)
1850s # return;
1850s # num_params = g_variant_n_children (parameters);
1850s # paramv = g_new0 (GValue, num_params + 1);
1850s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[0], proxy);
1850s # g_variant_iter_init (&iter, parameters);
1850s # n = 1;
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_signal_emitv (paramv, signal_id, 0, NULL);
1850s # for (n = 0; n < num_params + 1; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1850s # GVariant *changed_properties,
1850s # const gchar *const *invalidated_properties)
1850s # {
1850s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1850s # guint n;
1850s # const gchar *key;
1850s # GVariantIter *iter;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # g_variant_get (changed_properties, "a{sv}", &iter);
1850s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1850s # g_datalist_remove_data (&proxy->priv->qdata, key);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # g_variant_iter_free (iter);
1850s # for (n = 0; invalidated_properties[n] != NULL; n++)
1850s # {
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1850s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1850s # if (info != NULL)
1850s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1850s # }
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1850s # #else
1850s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1850s # #endif
1850s #
1850s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusProxyClass *proxy_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1850s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1850s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1850s #
1850s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1850s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1850s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_sync:
1850s # * @connection: A #GDBusConnection.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_sync (
1850s # GDBusConnection *connection,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1850s # * @user_data: User data to pass to @callback.
1850s # *
1850s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1850s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1850s # */
1850s # void
1850s # org_project_useful_interface_proxy_new_for_bus (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GAsyncReadyCallback callback,
1850s # gpointer user_data)
1850s # {
1850s # g_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);
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_finish:
1850s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_finish (
1850s # GAsyncResult *res,
1850s # GError **error)
1850s # {
1850s # GObject *ret;
1850s # GObject *source_object;
1850s # source_object = g_async_result_get_source_object (res);
1850s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1850s # g_object_unref (source_object);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_proxy_new_for_bus_sync:
1850s # * @bus_type: A #GBusType.
1850s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1850s # * @name: A bus name (well-known or unique).
1850s # * @object_path: An object path.
1850s # * @cancellable: (nullable): A #GCancellable or %NULL.
1850s # * @error: Return location for error or %NULL
1850s # *
1850s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1850s # *
1850s # * The calling thread is blocked until a reply is received.
1850s # *
1850s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_proxy_new_for_bus_sync (
1850s # GBusType bus_type,
1850s # GDBusProxyFlags flags,
1850s # const gchar *name,
1850s # const gchar *object_path,
1850s # GCancellable *cancellable,
1850s # GError **error)
1850s # {
1850s # GInitable *ret;
1850s # 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);
1850s # if (ret != NULL)
1850s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1850s # else
1850s # return NULL;
1850s # }
1850s #
1850s #
1850s # /* ------------------------------------------------------------------------ */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeleton:
1850s # *
1850s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1850s # */
1850s #
1850s # /**
1850s # * OrgProjectUsefulInterfaceSkeletonClass:
1850s # * @parent_class: The parent class.
1850s # *
1850s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1850s # */
1850s #
1850s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1850s # {
1850s # GValue *properties;
1850s # GList *changed_properties;
1850s # GSource *changed_properties_idle_source;
1850s # GMainContext *context;
1850s # GMutex lock;
1850s # };
1850s #
1850s # static void
1850s # _org_project_useful_interface_skeleton_handle_method_call (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name,
1850s # const gchar *method_name,
1850s # GVariant *parameters,
1850s # GDBusMethodInvocation *invocation,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # _ExtendedGDBusMethodInfo *info;
1850s # GVariantIter iter;
1850s # GVariant *child;
1850s # GValue *paramv;
1850s # gsize num_params;
1850s # guint num_extra;
1850s # gsize n;
1850s # guint signal_id;
1850s # GValue return_value = G_VALUE_INIT;
1850s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1850s # g_assert (info != NULL);
1850s # num_params = g_variant_n_children (parameters);
1850s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1850s # n = 0;
1850s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_set_object (¶mv[n++], skeleton);
1850s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1850s # g_value_set_object (¶mv[n++], invocation);
1850s # if (info->pass_fdlist)
1850s # {
1850s # #ifdef G_OS_UNIX
1850s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1850s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1850s # #else
1850s # g_assert_not_reached ();
1850s # #endif
1850s # }
1850s # g_variant_iter_init (&iter, parameters);
1850s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1850s # {
1850s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1850s # if (arg_info->use_gvariant)
1850s # {
1850s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1850s # g_value_set_variant (¶mv[n], child);
1850s # n++;
1850s # }
1850s # else
1850s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1850s # g_variant_unref (child);
1850s # }
1850s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1850s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1850s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1850s # if (!g_value_get_boolean (&return_value))
1850s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1850s # g_value_unset (&return_value);
1850s # for (n = 0; n < num_params + num_extra; n++)
1850s # g_value_unset (¶mv[n]);
1850s # g_free (paramv);
1850s # }
1850s #
1850s # static GVariant *
1850s # _org_project_useful_interface_skeleton_handle_get_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # GVariant *ret;
1850s # ret = NULL;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # g_value_init (&value, pspec->value_type);
1850s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1850s # g_value_unset (&value);
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static gboolean
1850s # _org_project_useful_interface_skeleton_handle_set_property (
1850s # GDBusConnection *connection G_GNUC_UNUSED,
1850s # const gchar *sender G_GNUC_UNUSED,
1850s # const gchar *object_path G_GNUC_UNUSED,
1850s # const gchar *interface_name G_GNUC_UNUSED,
1850s # const gchar *property_name,
1850s # GVariant *variant,
1850s # GError **error,
1850s # gpointer user_data)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1850s # GValue value = G_VALUE_INIT;
1850s # GParamSpec *pspec;
1850s # _ExtendedGDBusPropertyInfo *info;
1850s # gboolean ret;
1850s # ret = FALSE;
1850s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1850s # g_assert (info != NULL);
1850s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1850s # if (pspec == NULL)
1850s # {
1850s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1850s # }
1850s # else
1850s # {
1850s # if (info->use_gvariant)
1850s # g_value_set_variant (&value, variant);
1850s # else
1850s # g_dbus_gvariant_to_gvalue (variant, &value);
1850s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1850s # g_value_unset (&value);
1850s # ret = TRUE;
1850s # }
1850s # return ret;
1850s # }
1850s #
1850s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1850s # {
1850s # _org_project_useful_interface_skeleton_handle_method_call,
1850s # _org_project_useful_interface_skeleton_handle_get_property,
1850s # _org_project_useful_interface_skeleton_handle_set_property,
1850s # {NULL}
1850s # };
1850s #
1850s # static GDBusInterfaceInfo *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return org_project_useful_interface_interface_info ();
1850s # }
1850s #
1850s # static GDBusInterfaceVTable *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1850s # {
1850s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1850s # }
1850s #
1850s # static GVariant *
1850s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1850s #
1850s # GVariantBuilder builder;
1850s # guint n;
1850s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1850s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1850s # goto out;
1850s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1850s # {
1850s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1850s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1850s # {
1850s # GVariant *value;
1850s # 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);
1850s # if (value != NULL)
1850s # {
1850s # g_variant_take_ref (value);
1850s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1850s # g_variant_unref (value);
1850s # }
1850s # }
1850s # }
1850s # out:
1850s # return g_variant_builder_end (&builder);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #else
1850s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1850s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1850s #
1850s # #endif
1850s # static void
1850s # org_project_useful_interface_skeleton_finalize (GObject *object)
1850s # {
1850s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1850s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1850s # if (skeleton->priv->changed_properties_idle_source != NULL)
1850s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1850s # g_main_context_unref (skeleton->priv->context);
1850s # g_mutex_clear (&skeleton->priv->lock);
1850s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1850s # {
1850s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1850s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1850s # #else
1850s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1850s # #endif
1850s #
1850s # g_mutex_init (&skeleton->priv->lock);
1850s # skeleton->priv->context = g_main_context_ref_thread_default ();
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1850s # {
1850s # GObjectClass *gobject_class;
1850s # GDBusInterfaceSkeletonClass *skeleton_class;
1850s #
1850s # gobject_class = G_OBJECT_CLASS (klass);
1850s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1850s #
1850s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1850s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1850s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1850s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1850s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1850s #
1850s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1850s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1850s # #endif
1850s # }
1850s #
1850s # static void
1850s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1850s # {
1850s # }
1850s #
1850s # /**
1850s # * org_project_useful_interface_skeleton_new:
1850s # *
1850s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1850s # *
1850s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1850s # */
1850s # OrgProjectUsefulInterface *
1850s # org_project_useful_interface_skeleton_new (void)
1850s # {
1850s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1850s # }
1851s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args
1851s # tmpdir: /tmp/tmpqz48fgb5
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmpqz48fgb5/tmpj59tmgru.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpj59tmgru.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_b",
1851s # (gchar *) "b",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodB",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-b",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_b (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-b",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_b,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_b:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_b (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodB",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_b_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_b_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gboolean *out_arg_b,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(b)",
1851s # out_arg_b);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_b_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_b_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gboolean *out_arg_b,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodB",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(b)",
1851s # out_arg_b);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_b:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_b: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_b (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # gboolean arg_b)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(b)",
1851s # arg_b));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpyc8gvqic.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpyc8gvqic.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_y",
1851s # (gchar *) "y",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodY",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-y",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_y (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-y",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_y,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_y:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_y (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodY",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_y_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_y_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # guchar *out_arg_y,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(y)",
1851s # out_arg_y);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_y_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_y_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # guchar *out_arg_y,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodY",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(y)",
1851s # out_arg_y);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_y:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_y: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_y (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # guchar arg_y)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(y)",
1851s # arg_y));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmp7bng7jo9.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmp7bng7jo9.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_n",
1851s # (gchar *) "n",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodN",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-n",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_n (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-n",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_n,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_n:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_n (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodN",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_n_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_n_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gint16 *out_arg_n,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(n)",
1851s # out_arg_n);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_n_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_n_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gint16 *out_arg_n,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodN",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(n)",
1851s # out_arg_n);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_n:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_n: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_n (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # gint16 arg_n)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(n)",
1851s # arg_n));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpw5swbzw5.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpw5swbzw5.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_q",
1851s # (gchar *) "q",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodQ",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-q",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_q (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-q",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_q,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_q:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_q (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodQ",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_q_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_q_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # guint16 *out_arg_q,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(q)",
1851s # out_arg_q);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_q_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_q_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # guint16 *out_arg_q,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodQ",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(q)",
1851s # out_arg_q);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_q:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_q: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_q (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # guint16 arg_q)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(q)",
1851s # arg_q));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpi6wcnasq.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpi6wcnasq.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_i",
1851s # (gchar *) "i",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodI",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-i",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_i (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-i",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_i,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_i:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_i (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodI",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_i_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_i_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gint *out_arg_i,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(i)",
1851s # out_arg_i);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_i_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_i_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gint *out_arg_i,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodI",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(i)",
1851s # out_arg_i);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_i:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_i: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_i (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # gint arg_i)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(i)",
1851s # arg_i));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmphbmxty1g.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmphbmxty1g.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_u",
1851s # (gchar *) "u",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodU",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-u",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_u (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-u",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_u,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_u:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_u (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodU",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_u_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_u_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # guint *out_arg_u,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(u)",
1851s # out_arg_u);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_u_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_u_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # guint *out_arg_u,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodU",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(u)",
1851s # out_arg_u);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_u:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_u: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_u (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # guint arg_u)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(u)",
1851s # arg_u));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpzd9o6a_2.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpzd9o6a_2.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_x",
1851s # (gchar *) "x",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodX",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-x",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_x (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-x",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_x,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_x:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_x (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodX",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_x_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_x_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gint64 *out_arg_x,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(x)",
1851s # out_arg_x);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_x_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_x_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gint64 *out_arg_x,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodX",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(x)",
1851s # out_arg_x);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_x:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_x: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_x (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # gint64 arg_x)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(x)",
1851s # arg_x));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpi32hf4n0.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpi32hf4n0.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_t",
1851s # (gchar *) "t",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodT",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-t",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_t (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-t",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_t,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_t:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_t (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodT",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_t_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_t_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # guint64 *out_arg_t,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(t)",
1851s # out_arg_t);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_t_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_t_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # guint64 *out_arg_t,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodT",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(t)",
1851s # out_arg_t);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_t:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_t: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_t (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # guint64 arg_t)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(t)",
1851s # arg_t));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmp5lwliq4l.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmp5lwliq4l.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_d",
1851s # (gchar *) "d",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodD",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-d",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_d (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-d",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_d,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_d:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_d (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodD",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_d_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_d_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gdouble *out_arg_d,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(d)",
1851s # out_arg_d);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_d_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_d_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gdouble *out_arg_d,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodD",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(d)",
1851s # out_arg_d);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_d:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_d: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_d (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # gdouble arg_d)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(d)",
1851s # arg_d));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpi3fp4pea.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpi3fp4pea.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_s",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodS",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-s",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_s (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-s",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_s,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_s:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_s (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodS",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_s_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_s_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar **out_arg_s,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(s)",
1851s # out_arg_s);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_s_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_s_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar **out_arg_s,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodS",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(s)",
1851s # out_arg_s);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_s:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_s: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_s (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # const gchar *arg_s)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(s)",
1851s # arg_s));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpssm4dysm.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpssm4dysm.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_o",
1851s # (gchar *) "o",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodO",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-o",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_o (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-o",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_o,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_o:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_o (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodO",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_o_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_o_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar **out_arg_o,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(o)",
1851s # out_arg_o);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_o_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_o_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar **out_arg_o,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodO",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(o)",
1851s # out_arg_o);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_o:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_o: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_o (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # const gchar *arg_o)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(o)",
1851s # arg_o));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpv2l9m8__.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpv2l9m8__.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_g",
1851s # (gchar *) "g",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodG",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-g",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_g (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-g",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_g,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_g:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_g (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodG",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_g_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_g_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar **out_arg_g,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(g)",
1851s # out_arg_g);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_g_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_g_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar **out_arg_g,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodG",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(g)",
1851s # out_arg_g);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_g:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_g: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_g (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # const gchar *arg_g)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(g)",
1851s # arg_g));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpgkguyuwn.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpgkguyuwn.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_h",
1851s # (gchar *) "h",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodH",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-h",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_h (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-h",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_h,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_h:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_h (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodH",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_h_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_h_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GVariant **out_arg_h,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(@h)",
1851s # out_arg_h);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_h_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_h_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GVariant **out_arg_h,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodH",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(@h)",
1851s # out_arg_h);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_h:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_h: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_h (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # GVariant *arg_h)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(@h)",
1851s # arg_h));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpfdmwmlb1.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpfdmwmlb1.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_ay",
1851s # (gchar *) "ay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodAy",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-ay",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_ay (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-ay",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_ay,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_ay:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_ay (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAy",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_ay_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_ay_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar **out_arg_ay,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(^ay)",
1851s # out_arg_ay);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_ay_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_ay_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar **out_arg_ay,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAy",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(^ay)",
1851s # out_arg_ay);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_ay:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_ay: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_ay (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # const gchar *arg_ay)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(^ay)",
1851s # arg_ay));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmp9ukz7mjr.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmp9ukz7mjr.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_as",
1851s # (gchar *) "as",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodAs",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-as",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_as (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-as",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_as,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_as:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_as (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAs",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_as_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_as_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar ***out_arg_as,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(^as)",
1851s # out_arg_as);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_as_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_as_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar ***out_arg_as,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAs",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(^as)",
1851s # out_arg_as);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_as:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_as: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_as (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # const gchar *const *arg_as)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(^as)",
1851s # arg_as));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpzhmyfpxk.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpzhmyfpxk.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_ao",
1851s # (gchar *) "ao",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodAo",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-ao",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_ao (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-ao",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_ao,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_ao:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_ao (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAo",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_ao_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_ao_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar ***out_arg_ao,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(^ao)",
1851s # out_arg_ao);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_ao_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_ao_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar ***out_arg_ao,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAo",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(^ao)",
1851s # out_arg_ao);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_ao:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_ao: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_ao (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # const gchar *const *arg_ao)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(^ao)",
1851s # arg_ao));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpt3bai2bz.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpt3bai2bz.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_aay",
1851s # (gchar *) "aay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodAay",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-aay",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_aay (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-aay",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_aay,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_aay:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_aay (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAay",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_aay_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_aay_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar ***out_arg_aay,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(^aay)",
1851s # out_arg_aay);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_aay_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_aay_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # gchar ***out_arg_aay,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAay",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(^aay)",
1851s # out_arg_aay);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_aay:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_aay: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_aay (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # const gchar *const *arg_aay)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(^aay)",
1851s # arg_aay));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s # /tmp/tmpqz48fgb5/tmpnxz8mf2h.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqz48fgb5/tmpnxz8mf2h.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.UsefulInterface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectUsefulInterface
1851s # * @title: OrgProjectUsefulInterface
1851s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "arg_asv",
1851s # (gchar *) "a{sv}",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgMethodAsv",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-single-arg-method-asv",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1851s # {
1851s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.UsefulInterface",
1851s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-useful-interface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_useful_interface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_useful_interface_method_marshal_single_arg_method_asv (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1851s # */
1851s #
1851s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-single-arg-method-asv",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_useful_interface_method_marshal_single_arg_method_asv,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_asv:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_useful_interface_call_single_arg_method_asv (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAsv",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_asv_finish:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_asv_finish (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GVariant **out_arg_asv,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(@a{sv})",
1851s # out_arg_asv);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_call_single_arg_method_asv_sync:
1851s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1851s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_useful_interface_call_single_arg_method_asv_sync (
1851s # OrgProjectUsefulInterface *proxy,
1851s # GVariant **out_arg_asv,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SingleArgMethodAsv",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(@a{sv})",
1851s # out_arg_asv);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_complete_single_arg_method_asv:
1851s # * @object: A #OrgProjectUsefulInterface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @arg_asv: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_useful_interface_complete_single_arg_method_asv (
1851s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # GVariant *arg_asv)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(@a{sv})",
1851s # arg_asv));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxy:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1851s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1851s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_useful_interface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeleton:
1851s # *
1851s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectUsefulInterfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_useful_interface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_useful_interface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_useful_interface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1851s # {
1851s # _org_project_useful_interface_skeleton_handle_method_call,
1851s # _org_project_useful_interface_skeleton_handle_get_property,
1851s # _org_project_useful_interface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_useful_interface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_useful_interface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_useful_interface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectUsefulInterface *
1851s # org_project_useful_interface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1851s # }
1851s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args
1851s # tmpdir: /tmp/tmplt6olkru
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmplt6olkru/tmpequlbzb3.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplt6olkru/tmpequlbzb3.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 20);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # g_marshal_value_peek_boolean (param_values + 2),
1851s # g_marshal_value_peek_uchar (param_values + 3),
1851s # g_marshal_value_peek_int (param_values + 4),
1851s # g_marshal_value_peek_uint (param_values + 5),
1851s # g_marshal_value_peek_int (param_values + 6),
1851s # g_marshal_value_peek_uint (param_values + 7),
1851s # g_marshal_value_peek_int64 (param_values + 8),
1851s # g_marshal_value_peek_uint64 (param_values + 9),
1851s # g_marshal_value_peek_double (param_values + 10),
1851s # g_marshal_value_peek_string (param_values + 11),
1851s # g_marshal_value_peek_string (param_values + 12),
1851s # g_marshal_value_peek_string (param_values + 13),
1851s # g_marshal_value_peek_variant (param_values + 14),
1851s # g_marshal_value_peek_string (param_values + 15),
1851s # g_marshal_value_peek_boxed (param_values + 16),
1851s # g_marshal_value_peek_boxed (param_values + 17),
1851s # g_marshal_value_peek_boxed (param_values + 18),
1851s # g_marshal_value_peek_variant (param_values + 19),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.CallableIface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectCallableIface
1851s # * @title: OrgProjectCallableIface
1851s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.CallableIface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_b",
1851s # (gchar *) "b",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_y",
1851s # (gchar *) "y",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_n",
1851s # (gchar *) "n",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_q",
1851s # (gchar *) "q",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_i",
1851s # (gchar *) "i",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_u",
1851s # (gchar *) "u",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_x",
1851s # (gchar *) "x",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_t",
1851s # (gchar *) "t",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_d",
1851s # (gchar *) "d",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_s",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_o",
1851s # (gchar *) "o",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_g",
1851s # (gchar *) "g",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_h",
1851s # (gchar *) "h",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ay",
1851s # (gchar *) "ay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_as",
1851s # (gchar *) "as",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ao",
1851s # (gchar *) "ao",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_aay",
1851s # (gchar *) "aay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_asv",
1851s # (gchar *) "a{sv}",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
1851s # {
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "MethodWithManyArgs",
1851s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "handle-method-with-many-args",
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_b",
1851s # (gchar *) "b",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_y",
1851s # (gchar *) "y",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_n",
1851s # (gchar *) "n",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_q",
1851s # (gchar *) "q",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_i",
1851s # (gchar *) "i",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_u",
1851s # (gchar *) "u",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_x",
1851s # (gchar *) "x",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_t",
1851s # (gchar *) "t",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_d",
1851s # (gchar *) "d",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_s",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_o",
1851s # (gchar *) "o",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_g",
1851s # (gchar *) "g",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_h",
1851s # (gchar *) "h",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ay",
1851s # (gchar *) "ay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_as",
1851s # (gchar *) "as",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ao",
1851s # (gchar *) "ao",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_aay",
1851s # (gchar *) "aay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_asv",
1851s # (gchar *) "a{sv}",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] =
1851s # {
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SameMethodWithManyArgs",
1851s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "handle-same-method-with-many-args",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1851s # {
1851s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
1851s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.CallableIface",
1851s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-callable-iface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_callable_iface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_callable_iface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_callable_iface_method_marshal_method_with_many_args (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _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,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_callable_iface_method_marshal_same_method_with_many_args (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _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,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectCallableIface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
1851s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.CallableIface.
1851s # */
1851s #
1851s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectCallableIface::handle-method-with-many-args:
1851s # * @object: A #OrgProjectCallableIface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # * @arg_an_b: Argument passed by remote caller.
1851s # * @arg_an_y: Argument passed by remote caller.
1851s # * @arg_an_n: Argument passed by remote caller.
1851s # * @arg_an_q: Argument passed by remote caller.
1851s # * @arg_an_i: Argument passed by remote caller.
1851s # * @arg_an_u: Argument passed by remote caller.
1851s # * @arg_an_x: Argument passed by remote caller.
1851s # * @arg_an_t: Argument passed by remote caller.
1851s # * @arg_an_d: Argument passed by remote caller.
1851s # * @arg_an_s: Argument passed by remote caller.
1851s # * @arg_an_o: Argument passed by remote caller.
1851s # * @arg_an_g: Argument passed by remote caller.
1851s # * @arg_an_h: Argument passed by remote caller.
1851s # * @arg_an_ay: Argument passed by remote caller.
1851s # * @arg_an_as: Argument passed by remote caller.
1851s # * @arg_an_ao: Argument passed by remote caller.
1851s # * @arg_an_aay: Argument passed by remote caller.
1851s # * @arg_an_asv: Argument passed by remote caller.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-method-with-many-args",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_callable_iface_method_marshal_method_with_many_args,
1851s # G_TYPE_BOOLEAN,
1851s # 19,
1851s # 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);
1851s #
1851s # /**
1851s # * OrgProjectCallableIface::handle-same-method-with-many-args:
1851s # * @object: A #OrgProjectCallableIface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # * @arg_an_b: Argument passed by remote caller.
1851s # * @arg_an_y: Argument passed by remote caller.
1851s # * @arg_an_n: Argument passed by remote caller.
1851s # * @arg_an_q: Argument passed by remote caller.
1851s # * @arg_an_i: Argument passed by remote caller.
1851s # * @arg_an_u: Argument passed by remote caller.
1851s # * @arg_an_x: Argument passed by remote caller.
1851s # * @arg_an_t: Argument passed by remote caller.
1851s # * @arg_an_d: Argument passed by remote caller.
1851s # * @arg_an_s: Argument passed by remote caller.
1851s # * @arg_an_o: Argument passed by remote caller.
1851s # * @arg_an_g: Argument passed by remote caller.
1851s # * @arg_an_h: Argument passed by remote caller.
1851s # * @arg_an_ay: Argument passed by remote caller.
1851s # * @arg_an_as: Argument passed by remote caller.
1851s # * @arg_an_ao: Argument passed by remote caller.
1851s # * @arg_an_aay: Argument passed by remote caller.
1851s # * @arg_an_asv: Argument passed by remote caller.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-same-method-with-many-args",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_callable_iface_method_marshal_same_method_with_many_args,
1851s # G_TYPE_BOOLEAN,
1851s # 19,
1851s # 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);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_method_with_many_args:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @arg_an_b: Argument to pass with the method invocation.
1851s # * @arg_an_y: Argument to pass with the method invocation.
1851s # * @arg_an_n: Argument to pass with the method invocation.
1851s # * @arg_an_q: Argument to pass with the method invocation.
1851s # * @arg_an_i: Argument to pass with the method invocation.
1851s # * @arg_an_u: Argument to pass with the method invocation.
1851s # * @arg_an_x: Argument to pass with the method invocation.
1851s # * @arg_an_t: Argument to pass with the method invocation.
1851s # * @arg_an_d: Argument to pass with the method invocation.
1851s # * @arg_an_s: Argument to pass with the method invocation.
1851s # * @arg_an_o: Argument to pass with the method invocation.
1851s # * @arg_an_g: Argument to pass with the method invocation.
1851s # * @arg_an_h: Argument to pass with the method invocation.
1851s # * @arg_an_ay: Argument to pass with the method invocation.
1851s # * @arg_an_as: Argument to pass with the method invocation.
1851s # * @arg_an_ao: Argument to pass with the method invocation.
1851s # * @arg_an_aay: Argument to pass with the method invocation.
1851s # * @arg_an_asv: Argument to pass with the method invocation.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_callable_iface_call_method_with_many_args (
1851s # OrgProjectCallableIface *proxy,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "MethodWithManyArgs",
1851s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # arg_an_b,
1851s # arg_an_y,
1851s # arg_an_n,
1851s # arg_an_q,
1851s # arg_an_i,
1851s # arg_an_u,
1851s # arg_an_x,
1851s # arg_an_t,
1851s # arg_an_d,
1851s # arg_an_s,
1851s # arg_an_o,
1851s # arg_an_g,
1851s # arg_an_h,
1851s # arg_an_ay,
1851s # arg_an_as,
1851s # arg_an_ao,
1851s # arg_an_aay,
1851s # arg_an_asv),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_method_with_many_args_finish:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_callable_iface_call_method_with_many_args_finish (
1851s # OrgProjectCallableIface *proxy,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "()");
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_method_with_many_args_sync:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @arg_an_b: Argument to pass with the method invocation.
1851s # * @arg_an_y: Argument to pass with the method invocation.
1851s # * @arg_an_n: Argument to pass with the method invocation.
1851s # * @arg_an_q: Argument to pass with the method invocation.
1851s # * @arg_an_i: Argument to pass with the method invocation.
1851s # * @arg_an_u: Argument to pass with the method invocation.
1851s # * @arg_an_x: Argument to pass with the method invocation.
1851s # * @arg_an_t: Argument to pass with the method invocation.
1851s # * @arg_an_d: Argument to pass with the method invocation.
1851s # * @arg_an_s: Argument to pass with the method invocation.
1851s # * @arg_an_o: Argument to pass with the method invocation.
1851s # * @arg_an_g: Argument to pass with the method invocation.
1851s # * @arg_an_h: Argument to pass with the method invocation.
1851s # * @arg_an_ay: Argument to pass with the method invocation.
1851s # * @arg_an_as: Argument to pass with the method invocation.
1851s # * @arg_an_ao: Argument to pass with the method invocation.
1851s # * @arg_an_aay: Argument to pass with the method invocation.
1851s # * @arg_an_asv: Argument to pass with the method invocation.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_callable_iface_call_method_with_many_args_sync (
1851s # OrgProjectCallableIface *proxy,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "MethodWithManyArgs",
1851s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # arg_an_b,
1851s # arg_an_y,
1851s # arg_an_n,
1851s # arg_an_q,
1851s # arg_an_i,
1851s # arg_an_u,
1851s # arg_an_x,
1851s # arg_an_t,
1851s # arg_an_d,
1851s # arg_an_s,
1851s # arg_an_o,
1851s # arg_an_g,
1851s # arg_an_h,
1851s # arg_an_ay,
1851s # arg_an_as,
1851s # arg_an_ao,
1851s # arg_an_aay,
1851s # arg_an_asv),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "()");
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_same_method_with_many_args:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @arg_an_b: Argument to pass with the method invocation.
1851s # * @arg_an_y: Argument to pass with the method invocation.
1851s # * @arg_an_n: Argument to pass with the method invocation.
1851s # * @arg_an_q: Argument to pass with the method invocation.
1851s # * @arg_an_i: Argument to pass with the method invocation.
1851s # * @arg_an_u: Argument to pass with the method invocation.
1851s # * @arg_an_x: Argument to pass with the method invocation.
1851s # * @arg_an_t: Argument to pass with the method invocation.
1851s # * @arg_an_d: Argument to pass with the method invocation.
1851s # * @arg_an_s: Argument to pass with the method invocation.
1851s # * @arg_an_o: Argument to pass with the method invocation.
1851s # * @arg_an_g: Argument to pass with the method invocation.
1851s # * @arg_an_h: Argument to pass with the method invocation.
1851s # * @arg_an_ay: Argument to pass with the method invocation.
1851s # * @arg_an_as: Argument to pass with the method invocation.
1851s # * @arg_an_ao: Argument to pass with the method invocation.
1851s # * @arg_an_aay: Argument to pass with the method invocation.
1851s # * @arg_an_asv: Argument to pass with the method invocation.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_callable_iface_call_same_method_with_many_args (
1851s # OrgProjectCallableIface *proxy,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "SameMethodWithManyArgs",
1851s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # arg_an_b,
1851s # arg_an_y,
1851s # arg_an_n,
1851s # arg_an_q,
1851s # arg_an_i,
1851s # arg_an_u,
1851s # arg_an_x,
1851s # arg_an_t,
1851s # arg_an_d,
1851s # arg_an_s,
1851s # arg_an_o,
1851s # arg_an_g,
1851s # arg_an_h,
1851s # arg_an_ay,
1851s # arg_an_as,
1851s # arg_an_ao,
1851s # arg_an_aay,
1851s # arg_an_asv),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_same_method_with_many_args_finish:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_callable_iface_call_same_method_with_many_args_finish (
1851s # OrgProjectCallableIface *proxy,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "()");
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_same_method_with_many_args_sync:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @arg_an_b: Argument to pass with the method invocation.
1851s # * @arg_an_y: Argument to pass with the method invocation.
1851s # * @arg_an_n: Argument to pass with the method invocation.
1851s # * @arg_an_q: Argument to pass with the method invocation.
1851s # * @arg_an_i: Argument to pass with the method invocation.
1851s # * @arg_an_u: Argument to pass with the method invocation.
1851s # * @arg_an_x: Argument to pass with the method invocation.
1851s # * @arg_an_t: Argument to pass with the method invocation.
1851s # * @arg_an_d: Argument to pass with the method invocation.
1851s # * @arg_an_s: Argument to pass with the method invocation.
1851s # * @arg_an_o: Argument to pass with the method invocation.
1851s # * @arg_an_g: Argument to pass with the method invocation.
1851s # * @arg_an_h: Argument to pass with the method invocation.
1851s # * @arg_an_ay: Argument to pass with the method invocation.
1851s # * @arg_an_as: Argument to pass with the method invocation.
1851s # * @arg_an_ao: Argument to pass with the method invocation.
1851s # * @arg_an_aay: Argument to pass with the method invocation.
1851s # * @arg_an_asv: Argument to pass with the method invocation.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_callable_iface_call_same_method_with_many_args_sync (
1851s # OrgProjectCallableIface *proxy,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "SameMethodWithManyArgs",
1851s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # arg_an_b,
1851s # arg_an_y,
1851s # arg_an_n,
1851s # arg_an_q,
1851s # arg_an_i,
1851s # arg_an_u,
1851s # arg_an_x,
1851s # arg_an_t,
1851s # arg_an_d,
1851s # arg_an_s,
1851s # arg_an_o,
1851s # arg_an_g,
1851s # arg_an_h,
1851s # arg_an_ay,
1851s # arg_an_as,
1851s # arg_an_ao,
1851s # arg_an_aay,
1851s # arg_an_asv),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "()");
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_complete_method_with_many_args:
1851s # * @object: A #OrgProjectCallableIface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_callable_iface_complete_method_with_many_args (
1851s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("()"));
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_complete_same_method_with_many_args:
1851s # * @object: A #OrgProjectCallableIface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_callable_iface_complete_same_method_with_many_args (
1851s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("()"));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceProxy:
1851s # *
1851s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectCallableIfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectCallableIfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_callable_iface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1851s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1851s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_callable_iface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_callable_iface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceSkeleton:
1851s # *
1851s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectCallableIfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_callable_iface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_callable_iface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_callable_iface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1851s # {
1851s # _org_project_callable_iface_skeleton_handle_method_call,
1851s # _org_project_callable_iface_skeleton_handle_get_property,
1851s # _org_project_callable_iface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_callable_iface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_callable_iface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.OtherCallableIface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectOtherCallableIface
1851s # * @title: OrgProjectOtherCallableIface
1851s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_b",
1851s # (gchar *) "b",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_y",
1851s # (gchar *) "y",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_n",
1851s # (gchar *) "n",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_q",
1851s # (gchar *) "q",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_i",
1851s # (gchar *) "i",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_u",
1851s # (gchar *) "u",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_x",
1851s # (gchar *) "x",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_t",
1851s # (gchar *) "t",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_d",
1851s # (gchar *) "d",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_s",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_o",
1851s # (gchar *) "o",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_g",
1851s # (gchar *) "g",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_h",
1851s # (gchar *) "h",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ay",
1851s # (gchar *) "ay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_as",
1851s # (gchar *) "as",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ao",
1851s # (gchar *) "ao",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_aay",
1851s # (gchar *) "aay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_asv",
1851s # (gchar *) "a{sv}",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
1851s # {
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "MethodWithManyArgs",
1851s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "handle-method-with-many-args",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
1851s # {
1851s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.OtherCallableIface",
1851s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-other-callable-iface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_other_callable_iface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_other_callable_iface_method_marshal_method_with_many_args (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _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,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectOtherCallableIface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectOtherCallableIfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
1851s # */
1851s #
1851s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectOtherCallableIface::handle-method-with-many-args:
1851s # * @object: A #OrgProjectOtherCallableIface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # * @arg_an_b: Argument passed by remote caller.
1851s # * @arg_an_y: Argument passed by remote caller.
1851s # * @arg_an_n: Argument passed by remote caller.
1851s # * @arg_an_q: Argument passed by remote caller.
1851s # * @arg_an_i: Argument passed by remote caller.
1851s # * @arg_an_u: Argument passed by remote caller.
1851s # * @arg_an_x: Argument passed by remote caller.
1851s # * @arg_an_t: Argument passed by remote caller.
1851s # * @arg_an_d: Argument passed by remote caller.
1851s # * @arg_an_s: Argument passed by remote caller.
1851s # * @arg_an_o: Argument passed by remote caller.
1851s # * @arg_an_g: Argument passed by remote caller.
1851s # * @arg_an_h: Argument passed by remote caller.
1851s # * @arg_an_ay: Argument passed by remote caller.
1851s # * @arg_an_as: Argument passed by remote caller.
1851s # * @arg_an_ao: Argument passed by remote caller.
1851s # * @arg_an_aay: Argument passed by remote caller.
1851s # * @arg_an_asv: Argument passed by remote caller.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-method-with-many-args",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_other_callable_iface_method_marshal_method_with_many_args,
1851s # G_TYPE_BOOLEAN,
1851s # 19,
1851s # 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);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_call_method_with_many_args:
1851s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1851s # * @arg_an_b: Argument to pass with the method invocation.
1851s # * @arg_an_y: Argument to pass with the method invocation.
1851s # * @arg_an_n: Argument to pass with the method invocation.
1851s # * @arg_an_q: Argument to pass with the method invocation.
1851s # * @arg_an_i: Argument to pass with the method invocation.
1851s # * @arg_an_u: Argument to pass with the method invocation.
1851s # * @arg_an_x: Argument to pass with the method invocation.
1851s # * @arg_an_t: Argument to pass with the method invocation.
1851s # * @arg_an_d: Argument to pass with the method invocation.
1851s # * @arg_an_s: Argument to pass with the method invocation.
1851s # * @arg_an_o: Argument to pass with the method invocation.
1851s # * @arg_an_g: Argument to pass with the method invocation.
1851s # * @arg_an_h: Argument to pass with the method invocation.
1851s # * @arg_an_ay: Argument to pass with the method invocation.
1851s # * @arg_an_as: Argument to pass with the method invocation.
1851s # * @arg_an_ao: Argument to pass with the method invocation.
1851s # * @arg_an_aay: Argument to pass with the method invocation.
1851s # * @arg_an_asv: Argument to pass with the method invocation.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_other_callable_iface_call_method_with_many_args (
1851s # OrgProjectOtherCallableIface *proxy,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "MethodWithManyArgs",
1851s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # arg_an_b,
1851s # arg_an_y,
1851s # arg_an_n,
1851s # arg_an_q,
1851s # arg_an_i,
1851s # arg_an_u,
1851s # arg_an_x,
1851s # arg_an_t,
1851s # arg_an_d,
1851s # arg_an_s,
1851s # arg_an_o,
1851s # arg_an_g,
1851s # arg_an_h,
1851s # arg_an_ay,
1851s # arg_an_as,
1851s # arg_an_ao,
1851s # arg_an_aay,
1851s # arg_an_asv),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_call_method_with_many_args_finish:
1851s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_other_callable_iface_call_method_with_many_args_finish (
1851s # OrgProjectOtherCallableIface *proxy,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "()");
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_call_method_with_many_args_sync:
1851s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1851s # * @arg_an_b: Argument to pass with the method invocation.
1851s # * @arg_an_y: Argument to pass with the method invocation.
1851s # * @arg_an_n: Argument to pass with the method invocation.
1851s # * @arg_an_q: Argument to pass with the method invocation.
1851s # * @arg_an_i: Argument to pass with the method invocation.
1851s # * @arg_an_u: Argument to pass with the method invocation.
1851s # * @arg_an_x: Argument to pass with the method invocation.
1851s # * @arg_an_t: Argument to pass with the method invocation.
1851s # * @arg_an_d: Argument to pass with the method invocation.
1851s # * @arg_an_s: Argument to pass with the method invocation.
1851s # * @arg_an_o: Argument to pass with the method invocation.
1851s # * @arg_an_g: Argument to pass with the method invocation.
1851s # * @arg_an_h: Argument to pass with the method invocation.
1851s # * @arg_an_ay: Argument to pass with the method invocation.
1851s # * @arg_an_as: Argument to pass with the method invocation.
1851s # * @arg_an_ao: Argument to pass with the method invocation.
1851s # * @arg_an_aay: Argument to pass with the method invocation.
1851s # * @arg_an_asv: Argument to pass with the method invocation.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_other_callable_iface_call_method_with_many_args_sync (
1851s # OrgProjectOtherCallableIface *proxy,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "MethodWithManyArgs",
1851s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # arg_an_b,
1851s # arg_an_y,
1851s # arg_an_n,
1851s # arg_an_q,
1851s # arg_an_i,
1851s # arg_an_u,
1851s # arg_an_x,
1851s # arg_an_t,
1851s # arg_an_d,
1851s # arg_an_s,
1851s # arg_an_o,
1851s # arg_an_g,
1851s # arg_an_h,
1851s # arg_an_ay,
1851s # arg_an_as,
1851s # arg_an_ao,
1851s # arg_an_aay,
1851s # arg_an_asv),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "()");
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_complete_method_with_many_args:
1851s # * @object: A #OrgProjectOtherCallableIface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_other_callable_iface_complete_method_with_many_args (
1851s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("()"));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectOtherCallableIfaceProxy:
1851s # *
1851s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectOtherCallableIfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectOtherCallableIfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_other_callable_iface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
1851s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
1851s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_other_callable_iface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectOtherCallableIface *
1851s # org_project_other_callable_iface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectOtherCallableIface *
1851s # org_project_other_callable_iface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_other_callable_iface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectOtherCallableIface *
1851s # org_project_other_callable_iface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectOtherCallableIface *
1851s # org_project_other_callable_iface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectOtherCallableIfaceSkeleton:
1851s # *
1851s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectOtherCallableIfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_other_callable_iface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_other_callable_iface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_other_callable_iface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
1851s # {
1851s # _org_project_other_callable_iface_skeleton_handle_method_call,
1851s # _org_project_other_callable_iface_skeleton_handle_get_property,
1851s # _org_project_other_callable_iface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_other_callable_iface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_other_callable_iface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectOtherCallableIface *
1851s # org_project_other_callable_iface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
1851s # }
1851s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args
1851s # tmpdir: /tmp/tmpubumy__x
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmpubumy__x/tmprh2gfh1k.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpubumy__x/tmprh2gfh1k.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (void *data1,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.CallableIface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectCallableIface
1851s # * @title: OrgProjectCallableIface
1851s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for org.project.CallableIface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_b",
1851s # (gchar *) "b",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_y",
1851s # (gchar *) "y",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_n",
1851s # (gchar *) "n",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_q",
1851s # (gchar *) "q",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_i",
1851s # (gchar *) "i",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_u",
1851s # (gchar *) "u",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_x",
1851s # (gchar *) "x",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_t",
1851s # (gchar *) "t",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_d",
1851s # (gchar *) "d",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_s",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_o",
1851s # (gchar *) "o",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_g",
1851s # (gchar *) "g",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_h",
1851s # (gchar *) "h",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ay",
1851s # (gchar *) "ay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_as",
1851s # (gchar *) "as",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ao",
1851s # (gchar *) "ao",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_aay",
1851s # (gchar *) "aay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_asv",
1851s # (gchar *) "a{sv}",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] =
1851s # {
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct,
1851s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "MethodWithManyArgs",
1851s # NULL,
1851s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-method-with-many-args",
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1851s # {
1851s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.CallableIface",
1851s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-callable-iface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_callable_iface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_callable_iface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_callable_iface_method_marshal_method_with_many_args (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectCallableIface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.CallableIface.
1851s # */
1851s #
1851s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * OrgProjectCallableIface::handle-method-with-many-args:
1851s # * @object: A #OrgProjectCallableIface.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-method-with-many-args",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # org_project_callable_iface_method_marshal_method_with_many_args,
1851s # G_TYPE_BOOLEAN,
1851s # 1,
1851s # G_TYPE_DBUS_METHOD_INVOCATION);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_method_with_many_args:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # org_project_callable_iface_call_method_with_many_args (
1851s # OrgProjectCallableIface *proxy,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1851s # "MethodWithManyArgs",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_method_with_many_args_finish:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_callable_iface_call_method_with_many_args_finish (
1851s # OrgProjectCallableIface *proxy,
1851s # gboolean *out_an_b,
1851s # guchar *out_an_y,
1851s # gint16 *out_an_n,
1851s # guint16 *out_an_q,
1851s # gint *out_an_i,
1851s # guint *out_an_u,
1851s # gint64 *out_an_x,
1851s # guint64 *out_an_t,
1851s # gdouble *out_an_d,
1851s # gchar **out_an_s,
1851s # gchar **out_an_o,
1851s # gchar **out_an_g,
1851s # GVariant **out_an_h,
1851s # gchar **out_an_ay,
1851s # gchar ***out_an_as,
1851s # gchar ***out_an_ao,
1851s # gchar ***out_an_aay,
1851s # GVariant **out_an_asv,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # out_an_b,
1851s # out_an_y,
1851s # out_an_n,
1851s # out_an_q,
1851s # out_an_i,
1851s # out_an_u,
1851s # out_an_x,
1851s # out_an_t,
1851s # out_an_d,
1851s # out_an_s,
1851s # out_an_o,
1851s # out_an_g,
1851s # out_an_h,
1851s # out_an_ay,
1851s # out_an_as,
1851s # out_an_ao,
1851s # out_an_aay,
1851s # out_an_asv);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_call_method_with_many_args_sync:
1851s # * @proxy: A #OrgProjectCallableIfaceProxy.
1851s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1851s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # org_project_callable_iface_call_method_with_many_args_sync (
1851s # OrgProjectCallableIface *proxy,
1851s # gboolean *out_an_b,
1851s # guchar *out_an_y,
1851s # gint16 *out_an_n,
1851s # guint16 *out_an_q,
1851s # gint *out_an_i,
1851s # guint *out_an_u,
1851s # gint64 *out_an_x,
1851s # guint64 *out_an_t,
1851s # gdouble *out_an_d,
1851s # gchar **out_an_s,
1851s # gchar **out_an_o,
1851s # gchar **out_an_g,
1851s # GVariant **out_an_h,
1851s # gchar **out_an_ay,
1851s # gchar ***out_an_as,
1851s # gchar ***out_an_ao,
1851s # gchar ***out_an_aay,
1851s # GVariant **out_an_asv,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1851s # "MethodWithManyArgs",
1851s # g_variant_new ("()"),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # out_an_b,
1851s # out_an_y,
1851s # out_an_n,
1851s # out_an_q,
1851s # out_an_i,
1851s # out_an_u,
1851s # out_an_x,
1851s # out_an_t,
1851s # out_an_d,
1851s # out_an_s,
1851s # out_an_o,
1851s # out_an_g,
1851s # out_an_h,
1851s # out_an_ay,
1851s # out_an_as,
1851s # out_an_ao,
1851s # out_an_aay,
1851s # out_an_asv);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_complete_method_with_many_args:
1851s # * @object: A #OrgProjectCallableIface.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @an_b: Parameter to return.
1851s # * @an_y: Parameter to return.
1851s # * @an_n: Parameter to return.
1851s # * @an_q: Parameter to return.
1851s # * @an_i: Parameter to return.
1851s # * @an_u: Parameter to return.
1851s # * @an_x: Parameter to return.
1851s # * @an_t: Parameter to return.
1851s # * @an_d: Parameter to return.
1851s # * @an_s: Parameter to return.
1851s # * @an_o: Parameter to return.
1851s # * @an_g: Parameter to return.
1851s # * @an_h: Parameter to return.
1851s # * @an_ay: Parameter to return.
1851s # * @an_as: Parameter to return.
1851s # * @an_ao: Parameter to return.
1851s # * @an_aay: Parameter to return.
1851s # * @an_asv: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # org_project_callable_iface_complete_method_with_many_args (
1851s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # gboolean an_b,
1851s # guchar an_y,
1851s # gint16 an_n,
1851s # guint16 an_q,
1851s # gint an_i,
1851s # guint an_u,
1851s # gint64 an_x,
1851s # guint64 an_t,
1851s # gdouble an_d,
1851s # const gchar *an_s,
1851s # const gchar *an_o,
1851s # const gchar *an_g,
1851s # GVariant *an_h,
1851s # const gchar *an_ay,
1851s # const gchar *const *an_as,
1851s # const gchar *const *an_ao,
1851s # const gchar *const *an_aay,
1851s # GVariant *an_asv)
1851s # {
1851s # g_dbus_method_invocation_return_value (invocation,
1851s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # an_b,
1851s # an_y,
1851s # an_n,
1851s # an_q,
1851s # an_i,
1851s # an_u,
1851s # an_x,
1851s # an_t,
1851s # an_d,
1851s # an_s,
1851s # an_o,
1851s # an_g,
1851s # an_h,
1851s # an_ay,
1851s # an_as,
1851s # an_ao,
1851s # an_aay,
1851s # an_asv));
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceProxy:
1851s # *
1851s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectCallableIfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectCallableIfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_callable_iface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1851s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1851s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_callable_iface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_callable_iface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceSkeleton:
1851s # *
1851s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectCallableIfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectCallableIfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_callable_iface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_callable_iface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_callable_iface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1851s # {
1851s # _org_project_callable_iface_skeleton_handle_method_call,
1851s # _org_project_callable_iface_skeleton_handle_get_property,
1851s # _org_project_callable_iface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_callable_iface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_callable_iface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_callable_iface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectCallableIface *
1851s # org_project_callable_iface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1851s # }
1851s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds
1851s # tmpdir: /tmp/tmpic1vu8wc
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmpic1vu8wc/tmpxleu5iw0.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpic1vu8wc/tmpxleu5iw0.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
1851s # (void *data1,
1851s # GUnixFDList *arg_fd_list,
1851s # GDBusMethodInvocation *arg_method_invocation,
1851s # const gchar *arg_greeting,
1851s # void *data2);
1851s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s # gboolean v_return;
1851s #
1851s # g_return_if_fail (return_value != NULL);
1851s # g_return_if_fail (n_param_values == 4);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # v_return =
1851s # callback (data1,
1851s # g_marshal_value_peek_object (param_values + 1),
1851s # g_marshal_value_peek_object (param_values + 2),
1851s # g_marshal_value_peek_string (param_values + 3),
1851s # data2);
1851s #
1851s # g_value_set_boolean (return_value, v_return);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface test.FDPassing
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:TestFDPassing
1851s # * @title: TestFDPassing
1851s # * @short_description: Generated C code for the test.FDPassing D-Bus interface
1851s # *
1851s # * This section contains code for working with the test.FDPassing D-Bus interface in C.
1851s # */
1851s #
1851s # /* ---- Introspection data for test.FDPassing ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "greeting",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] =
1851s # {
1851s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "response",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] =
1851s # {
1851s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "HelloFD",
1851s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers,
1851s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers,
1851s # NULL
1851s # },
1851s # "handle-hello-fd",
1851s # TRUE
1851s # };
1851s #
1851s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] =
1851s # {
1851s # &_test_fdpassing_method_info_hello_fd.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "test.FDPassing",
1851s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers,
1851s # NULL,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "test-fdpassing",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * test_fdpassing_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the test.FDPassing D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # test_fdpassing_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # test_fdpassing_method_marshal_hello_fd (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * TestFDPassing:
1851s # *
1851s # * Abstract interface type for the D-Bus interface test.FDPassing.
1851s # */
1851s #
1851s # /**
1851s # * TestFDPassingIface:
1851s # * @parent_iface: The parent interface.
1851s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal.
1851s # *
1851s # * Virtual table for the D-Bus interface test.FDPassing.
1851s # */
1851s #
1851s # typedef TestFDPassingIface TestFDPassingInterface;
1851s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # test_fdpassing_default_init (TestFDPassingIface *iface)
1851s # {
1851s # /* GObject signals for incoming D-Bus method calls: */
1851s # /**
1851s # * TestFDPassing::handle-hello-fd:
1851s # * @object: A #TestFDPassing.
1851s # * @invocation: A #GDBusMethodInvocation.
1851s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1851s # * @arg_greeting: Argument passed by remote caller.
1851s # *
1851s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method.
1851s # *
1851s # * 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.
1851s # *
1851s # * 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.
1851s # */
1851s # g_signal_new ("handle-hello-fd",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd),
1851s # g_signal_accumulator_true_handled,
1851s # NULL,
1851s # test_fdpassing_method_marshal_hello_fd,
1851s # G_TYPE_BOOLEAN,
1851s # 3,
1851s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_call_hello_fd:
1851s # * @proxy: A #TestFDPassingProxy.
1851s # * @arg_greeting: Argument to pass with the method invocation.
1851s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy.
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation.
1851s # *
1851s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method.
1851s # */
1851s # void
1851s # test_fdpassing_call_hello_fd (
1851s # TestFDPassing *proxy,
1851s # const gchar *arg_greeting,
1851s # GUnixFDList *fd_list,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy),
1851s # "HelloFD",
1851s # g_variant_new ("(s)",
1851s # arg_greeting),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # fd_list,
1851s # cancellable,
1851s # callback,
1851s # user_data);
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_call_hello_fd_finish:
1851s # * @proxy: A #TestFDPassingProxy.
1851s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore.
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd().
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Finishes an operation started with test_fdpassing_call_hello_fd().
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # test_fdpassing_call_hello_fd_finish (
1851s # TestFDPassing *proxy,
1851s # gchar **out_response,
1851s # GUnixFDList **out_fd_list,
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(s)",
1851s # out_response);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_call_hello_fd_sync:
1851s # * @proxy: A #TestFDPassingProxy.
1851s # * @arg_greeting: Argument to pass with the method invocation.
1851s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1851s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
1851s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL.
1851s # *
1851s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1851s # *
1851s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method.
1851s # *
1851s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1851s # */
1851s # gboolean
1851s # test_fdpassing_call_hello_fd_sync (
1851s # TestFDPassing *proxy,
1851s # const gchar *arg_greeting,
1851s # GUnixFDList *fd_list,
1851s # gchar **out_response,
1851s # GUnixFDList **out_fd_list,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GVariant *_ret;
1851s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy),
1851s # "HelloFD",
1851s # g_variant_new ("(s)",
1851s # arg_greeting),
1851s # G_DBUS_CALL_FLAGS_NONE,
1851s # -1,
1851s # fd_list,
1851s # out_fd_list,
1851s # cancellable,
1851s # error);
1851s # if (_ret == NULL)
1851s # goto _out;
1851s # g_variant_get (_ret,
1851s # "(s)",
1851s # out_response);
1851s # g_variant_unref (_ret);
1851s # _out:
1851s # return _ret != NULL;
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_complete_hello_fd:
1851s # * @object: A #TestFDPassing.
1851s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1851s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1851s # * @response: Parameter to return.
1851s # *
1851s # * 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.
1851s # *
1851s # * This method will free @invocation, you cannot use it afterwards.
1851s # */
1851s # void
1851s # test_fdpassing_complete_hello_fd (
1851s # TestFDPassing *object G_GNUC_UNUSED,
1851s # GDBusMethodInvocation *invocation,
1851s # GUnixFDList *fd_list,
1851s # const gchar *response)
1851s # {
1851s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation,
1851s # g_variant_new ("(s)",
1851s # response),
1851s # fd_list);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * TestFDPassingProxy:
1851s # *
1851s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * TestFDPassingProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #TestFDPassingProxy.
1851s # */
1851s #
1851s # struct _TestFDPassingProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (TestFDPassingProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # test_fdpassing_proxy_finalize (GObject *object)
1851s # {
1851s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = test_fdpassing_proxy_finalize;
1851s # gobject_class->get_property = test_fdpassing_proxy_get_property;
1851s # gobject_class->set_property = test_fdpassing_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = test_fdpassing_proxy_g_signal;
1851s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # test_fdpassing_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with test_fdpassing_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # TestFDPassing *
1851s # test_fdpassing_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return TEST_FDPASSING (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # TestFDPassing *
1851s # test_fdpassing_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return TEST_FDPASSING (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * test_fdpassing_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # test_fdpassing_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # TestFDPassing *
1851s # test_fdpassing_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return TEST_FDPASSING (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # TestFDPassing *
1851s # test_fdpassing_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return TEST_FDPASSING (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * TestFDPassingSkeleton:
1851s # *
1851s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * TestFDPassingSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #TestFDPassingSkeleton.
1851s # */
1851s #
1851s # struct _TestFDPassingSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _test_fdpassing_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _test_fdpassing_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _test_fdpassing_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable =
1851s # {
1851s # _test_fdpassing_skeleton_handle_method_call,
1851s # _test_fdpassing_skeleton_handle_get_property,
1851s # _test_fdpassing_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return test_fdpassing_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (TestFDPassingSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # test_fdpassing_skeleton_finalize (GObject *object)
1851s # {
1851s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = test_fdpassing_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * test_fdpassing_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface test.FDPassing.
1851s # *
1851s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object.
1851s # */
1851s # TestFDPassing *
1851s # test_fdpassing_skeleton_new (void)
1851s # {
1851s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL));
1851s # }
1851s ok 15 __main__.TestCodegen.test_generate_rst
1851s # tmpdir: /tmp/tmpy_cdazhs
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmpy_cdazhs/tmpannr5lht.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy_cdazhs/tmpannr5lht.xml', '--generate-rst', 'test']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output:
1851s ok 16 __main__.TestCodegen.test_generate_rst_method
1851s # tmpdir: /tmp/tmppiyemdwl
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmppiyemdwl/tmpspshwfgr.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppiyemdwl/tmpspshwfgr.xml', '--generate-rst', 'test']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output:
1851s ok 17 __main__.TestCodegen.test_generate_rst_property
1851s # tmpdir: /tmp/tmptjm80mak
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmptjm80mak/tmpsam69upa.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjm80mak/tmpsam69upa.xml', '--generate-rst', 'test']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output:
1851s ok 18 __main__.TestCodegen.test_generate_rst_signal
1851s # tmpdir: /tmp/tmpl7hpivbl
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmpl7hpivbl/tmptbjgvsfz.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl7hpivbl/tmptbjgvsfz.xml', '--generate-rst', 'test']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output:
1851s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types
1851s # tmpdir: /tmp/tmpxgzlt5k9
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmpxgzlt5k9/tmpw3kdvqmh.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxgzlt5k9/tmpw3kdvqmh.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1851s # GClosure *closure,
1851s # GValue *return_value G_GNUC_UNUSED,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1851s # (void *data1,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv,
1851s # void *data2);
1851s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s #
1851s # g_return_if_fail (n_param_values == 19);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # callback (data1,
1851s # g_marshal_value_peek_boolean (param_values + 1),
1851s # g_marshal_value_peek_uchar (param_values + 2),
1851s # g_marshal_value_peek_int (param_values + 3),
1851s # g_marshal_value_peek_uint (param_values + 4),
1851s # g_marshal_value_peek_int (param_values + 5),
1851s # g_marshal_value_peek_uint (param_values + 6),
1851s # g_marshal_value_peek_int64 (param_values + 7),
1851s # g_marshal_value_peek_uint64 (param_values + 8),
1851s # g_marshal_value_peek_double (param_values + 9),
1851s # g_marshal_value_peek_string (param_values + 10),
1851s # g_marshal_value_peek_string (param_values + 11),
1851s # g_marshal_value_peek_string (param_values + 12),
1851s # g_marshal_value_peek_variant (param_values + 13),
1851s # g_marshal_value_peek_string (param_values + 14),
1851s # g_marshal_value_peek_boxed (param_values + 15),
1851s # g_marshal_value_peek_boxed (param_values + 16),
1851s # g_marshal_value_peek_boxed (param_values + 17),
1851s # g_marshal_value_peek_variant (param_values + 18),
1851s # data2);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.SignalingIface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectSignalingIface
1851s # * @title: OrgProjectSignalingIface
1851s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1851s # */
1851s #
1851s # enum
1851s # {
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
1851s # };
1851s #
1851s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1851s #
1851s # /* ---- Introspection data for org.project.SignalingIface ---- */
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_b",
1851s # (gchar *) "b",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_y",
1851s # (gchar *) "y",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_n",
1851s # (gchar *) "n",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_q",
1851s # (gchar *) "q",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_i",
1851s # (gchar *) "i",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_u",
1851s # (gchar *) "u",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_x",
1851s # (gchar *) "x",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_t",
1851s # (gchar *) "t",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_d",
1851s # (gchar *) "d",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_s",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_o",
1851s # (gchar *) "o",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_g",
1851s # (gchar *) "g",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_h",
1851s # (gchar *) "h",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ay",
1851s # (gchar *) "ay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_as",
1851s # (gchar *) "as",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ao",
1851s # (gchar *) "ao",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_aay",
1851s # (gchar *) "aay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_asv",
1851s # (gchar *) "a{sv}",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SignalWithManyArgs",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
1851s # NULL
1851s # },
1851s # "signal-with-many-args"
1851s # };
1851s #
1851s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.SignalingIface",
1851s # NULL,
1851s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-signaling-iface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_signaling_iface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_signaling_iface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1851s # */
1851s #
1851s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1851s # {
1851s # /* GObject signals for received D-Bus signals: */
1851s # /**
1851s # * OrgProjectSignalingIface::signal-with-many-args:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_b: Argument.
1851s # * @arg_an_y: Argument.
1851s # * @arg_an_n: Argument.
1851s # * @arg_an_q: Argument.
1851s # * @arg_an_i: Argument.
1851s # * @arg_an_u: Argument.
1851s # * @arg_an_x: Argument.
1851s # * @arg_an_t: Argument.
1851s # * @arg_an_d: Argument.
1851s # * @arg_an_s: Argument.
1851s # * @arg_an_o: Argument.
1851s # * @arg_an_g: Argument.
1851s # * @arg_an_h: Argument.
1851s # * @arg_an_ay: Argument.
1851s # * @arg_an_as: Argument.
1851s # * @arg_an_ao: Argument.
1851s # * @arg_an_aay: Argument.
1851s # * @arg_an_asv: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
1851s # g_signal_new ("signal-with-many-args",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
1851s # G_TYPE_NONE,
1851s # 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);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_signal_with_many_args:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_b: Argument to pass with the signal.
1851s # * @arg_an_y: Argument to pass with the signal.
1851s # * @arg_an_n: Argument to pass with the signal.
1851s # * @arg_an_q: Argument to pass with the signal.
1851s # * @arg_an_i: Argument to pass with the signal.
1851s # * @arg_an_u: Argument to pass with the signal.
1851s # * @arg_an_x: Argument to pass with the signal.
1851s # * @arg_an_t: Argument to pass with the signal.
1851s # * @arg_an_d: Argument to pass with the signal.
1851s # * @arg_an_s: Argument to pass with the signal.
1851s # * @arg_an_o: Argument to pass with the signal.
1851s # * @arg_an_g: Argument to pass with the signal.
1851s # * @arg_an_h: Argument to pass with the signal.
1851s # * @arg_an_ay: Argument to pass with the signal.
1851s # * @arg_an_as: Argument to pass with the signal.
1851s # * @arg_an_ao: Argument to pass with the signal.
1851s # * @arg_an_aay: Argument to pass with the signal.
1851s # * @arg_an_asv: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SignalWithManyArgs" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_signal_with_many_args (
1851s # OrgProjectSignalingIface *object,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceProxy:
1851s # *
1851s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectSignalingIfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectSignalingIfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_signaling_iface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1851s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1851s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_signaling_iface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_signaling_iface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceSkeleton:
1851s # *
1851s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_signaling_iface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_signaling_iface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_signaling_iface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1851s # {
1851s # _org_project_signaling_iface_skeleton_handle_method_call,
1851s # _org_project_signaling_iface_skeleton_handle_get_property,
1851s # _org_project_signaling_iface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_signaling_iface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_signal_with_many_args (
1851s # OrgProjectSignalingIface *object,
1851s # gboolean arg_an_b,
1851s # guchar arg_an_y,
1851s # gint16 arg_an_n,
1851s # guint16 arg_an_q,
1851s # gint arg_an_i,
1851s # guint arg_an_u,
1851s # gint64 arg_an_x,
1851s # guint64 arg_an_t,
1851s # gdouble arg_an_d,
1851s # const gchar *arg_an_s,
1851s # const gchar *arg_an_o,
1851s # const gchar *arg_an_g,
1851s # GVariant *arg_an_h,
1851s # const gchar *arg_an_ay,
1851s # const gchar *const *arg_an_as,
1851s # const gchar *const *arg_an_ao,
1851s # const gchar *const *arg_an_aay,
1851s # GVariant *arg_an_asv)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1851s # arg_an_b,
1851s # arg_an_y,
1851s # arg_an_n,
1851s # arg_an_q,
1851s # arg_an_i,
1851s # arg_an_u,
1851s # arg_an_x,
1851s # arg_an_t,
1851s # arg_an_d,
1851s # arg_an_s,
1851s # arg_an_o,
1851s # arg_an_g,
1851s # arg_an_h,
1851s # arg_an_ay,
1851s # arg_an_as,
1851s # arg_an_ao,
1851s # arg_an_aay,
1851s # arg_an_asv));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1851s # {
1851s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1851s # }
1851s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types
1851s # tmpdir: /tmp/tmpc3g5b6cx
1851s # codegen: /usr/bin/gdbus-codegen
1851s # /tmp/tmpc3g5b6cx/tmp1_4lm4mm.xml:
1851s #
1851s #
1851s #
1851s #
1851s #
1851s #
1851s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc3g5b6cx/tmp1_4lm4mm.xml', '--output', '-', '--body']
1851s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1851s # Output: /*
1851s # * This file is generated by gdbus-codegen, do not modify it.
1851s # *
1851s # * The license of this code is the same as for the D-Bus interface description
1851s # * it was derived from. Note that it links to GLib, so must comply with the
1851s # * LGPL linking clauses.
1851s # */
1851s #
1851s # #ifdef HAVE_CONFIG_H
1851s # # include "config.h"
1851s # #endif
1851s #
1851s # #include
1851s # #ifdef G_OS_UNIX
1851s # # include
1851s # #endif
1851s #
1851s # #ifdef G_ENABLE_DEBUG
1851s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1851s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1851s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1851s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1851s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1851s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1851s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1851s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1851s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1851s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1851s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1851s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1851s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1851s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1851s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1851s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1851s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1851s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1851s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1851s # #else /* !G_ENABLE_DEBUG */
1851s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1851s # * Do not access GValues directly in your code. Instead, use the
1851s # * g_value_get_*() functions
1851s # */
1851s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1851s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1851s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1851s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1851s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1851s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1851s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1851s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1851s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1851s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1851s # #endif /* !G_ENABLE_DEBUG */
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusArgInfo parent_struct;
1851s # gboolean use_gvariant;
1851s # } _ExtendedGDBusArgInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusMethodInfo parent_struct;
1851s # const gchar *signal_name;
1851s # gboolean pass_fdlist;
1851s # } _ExtendedGDBusMethodInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusSignalInfo parent_struct;
1851s # const gchar *signal_name;
1851s # } _ExtendedGDBusSignalInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusPropertyInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # guint use_gvariant : 1;
1851s # guint emits_changed_signal : 1;
1851s # } _ExtendedGDBusPropertyInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # GDBusInterfaceInfo parent_struct;
1851s # const gchar *hyphen_name;
1851s # } _ExtendedGDBusInterfaceInfo;
1851s #
1851s # typedef struct
1851s # {
1851s # const _ExtendedGDBusPropertyInfo *info;
1851s # guint prop_id;
1851s # GValue orig_value; /* the value before the change */
1851s # } ChangedProperty;
1851s #
1851s # static void
1851s # _changed_property_free (ChangedProperty *data)
1851s # {
1851s # g_value_unset (&data->orig_value);
1851s # g_free (data);
1851s # }
1851s #
1851s # static gboolean
1851s # _g_strv_equal0 (gchar **a, gchar **b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # guint n;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # if (g_strv_length (a) != g_strv_length (b))
1851s # goto out;
1851s # for (n = 0; a[n] != NULL; n++)
1851s # if (g_strcmp0 (a[n], b[n]) != 0)
1851s # goto out;
1851s # ret = TRUE;
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _g_variant_equal0 (GVariant *a, GVariant *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # if (a == NULL && b == NULL)
1851s # {
1851s # ret = TRUE;
1851s # goto out;
1851s # }
1851s # if (a == NULL || b == NULL)
1851s # goto out;
1851s # ret = g_variant_equal (a, b);
1851s # out:
1851s # return ret;
1851s # }
1851s #
1851s # G_GNUC_UNUSED static gboolean
1851s # _g_value_equal (const GValue *a, const GValue *b)
1851s # {
1851s # gboolean ret = FALSE;
1851s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1851s # switch (G_VALUE_TYPE (a))
1851s # {
1851s # case G_TYPE_BOOLEAN:
1851s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1851s # break;
1851s # case G_TYPE_UCHAR:
1851s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1851s # break;
1851s # case G_TYPE_INT:
1851s # ret = (g_value_get_int (a) == g_value_get_int (b));
1851s # break;
1851s # case G_TYPE_UINT:
1851s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1851s # break;
1851s # case G_TYPE_INT64:
1851s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1851s # break;
1851s # case G_TYPE_UINT64:
1851s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1851s # break;
1851s # case G_TYPE_DOUBLE:
1851s # {
1851s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1851s # gdouble da = g_value_get_double (a);
1851s # gdouble db = g_value_get_double (b);
1851s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1851s # }
1851s # break;
1851s # case G_TYPE_STRING:
1851s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1851s # break;
1851s # case G_TYPE_VARIANT:
1851s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1851s # break;
1851s # default:
1851s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1851s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1851s # else
1851s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1851s # break;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_VOID__INT64 (
1851s # GClosure *closure,
1851s # GValue *return_value G_GNUC_UNUSED,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
1851s # (void *data1,
1851s # gint64 arg_an_x,
1851s # void *data2);
1851s # _GDbusCodegenMarshalVoid_Int64Func callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s #
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # callback (data1,
1851s # g_marshal_value_peek_int64 (param_values + 1),
1851s # data2);
1851s # }
1851s #
1851s # static void
1851s # _g_dbus_codegen_marshal_VOID__UINT64 (
1851s # GClosure *closure,
1851s # GValue *return_value G_GNUC_UNUSED,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint G_GNUC_UNUSED,
1851s # void *marshal_data)
1851s # {
1851s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
1851s # (void *data1,
1851s # guint64 arg_an_t,
1851s # void *data2);
1851s # _GDbusCodegenMarshalVoid_Uint64Func callback;
1851s # GCClosure *cc = (GCClosure*) closure;
1851s # void *data1, *data2;
1851s #
1851s # g_return_if_fail (n_param_values == 2);
1851s #
1851s # if (G_CCLOSURE_SWAP_DATA (closure))
1851s # {
1851s # data1 = closure->data;
1851s # data2 = g_value_peek_pointer (param_values + 0);
1851s # }
1851s # else
1851s # {
1851s # data1 = g_value_peek_pointer (param_values + 0);
1851s # data2 = closure->data;
1851s # }
1851s #
1851s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
1851s # (marshal_data ? marshal_data : cc->callback);
1851s #
1851s # callback (data1,
1851s # g_marshal_value_peek_uint64 (param_values + 1),
1851s # data2);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------
1851s # * Code for interface org.project.SignalingIface
1851s # * ------------------------------------------------------------------------
1851s # */
1851s #
1851s # /**
1851s # * SECTION:OrgProjectSignalingIface
1851s # * @title: OrgProjectSignalingIface
1851s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1851s # *
1851s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1851s # */
1851s #
1851s # enum
1851s # {
1851s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
1851s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
1851s # };
1851s #
1851s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 };
1851s #
1851s # /* ---- Introspection data for org.project.SignalingIface ---- */
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "NoArgSignal",
1851s # NULL,
1851s # NULL
1851s # },
1851s # "no-arg-signal"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_b",
1851s # (gchar *) "b",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalB",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-b"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_y",
1851s # (gchar *) "y",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalY",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-y"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_n",
1851s # (gchar *) "n",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalN",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-n"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_q",
1851s # (gchar *) "q",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalQ",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-q"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_i",
1851s # (gchar *) "i",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalI",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-i"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_u",
1851s # (gchar *) "u",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalU",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-u"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_x",
1851s # (gchar *) "x",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalX",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-x"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_t",
1851s # (gchar *) "t",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalT",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-t"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_d",
1851s # (gchar *) "d",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalD",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-d"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_s",
1851s # (gchar *) "s",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalS",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-s"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_o",
1851s # (gchar *) "o",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalO",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-o"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_g",
1851s # (gchar *) "g",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalG",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-g"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_h",
1851s # (gchar *) "h",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalH",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-h"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ay",
1851s # (gchar *) "ay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalAY",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-ay"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_as",
1851s # (gchar *) "as",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalAS",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-as"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_ao",
1851s # (gchar *) "ao",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalAO",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-ao"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_aay",
1851s # (gchar *) "aay",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalAAY",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-aay"
1851s # };
1851s #
1851s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "an_asv",
1851s # (gchar *) "a{sv}",
1851s # NULL
1851s # },
1851s # FALSE
1851s # };
1851s #
1851s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "SingleArgSignalASV",
1851s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
1851s # NULL
1851s # },
1851s # "single-arg-signal-asv"
1851s # };
1851s #
1851s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1851s # {
1851s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
1851s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
1851s # NULL
1851s # };
1851s #
1851s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1851s # {
1851s # {
1851s # -1,
1851s # (gchar *) "org.project.SignalingIface",
1851s # NULL,
1851s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1851s # NULL,
1851s # NULL
1851s # },
1851s # "org-project-signaling-iface",
1851s # };
1851s #
1851s #
1851s # /**
1851s # * org_project_signaling_iface_interface_info:
1851s # *
1851s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1851s # *
1851s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1851s # */
1851s # GDBusInterfaceInfo *
1851s # org_project_signaling_iface_interface_info (void)
1851s # {
1851s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_override_properties:
1851s # * @klass: The class structure for a #GObject derived class.
1851s # * @property_id_begin: The property id to assign to the first overridden property.
1851s # *
1851s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1851s # * The properties are overridden in the order they are defined.
1851s # *
1851s # * Returns: The last property id.
1851s # */
1851s # guint
1851s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1851s # {
1851s # return property_id_begin - 1;
1851s # }
1851s #
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_no_arg_signal (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__VOID (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__BOOLEAN (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__UCHAR (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__INT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__UINT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__INT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__UINT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__DOUBLE (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__STRING (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__STRING (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__STRING (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__VARIANT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__STRING (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__BOXED (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__BOXED (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__BOXED (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s # inline static void
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
1851s # GClosure *closure,
1851s # GValue *return_value,
1851s # unsigned int n_param_values,
1851s # const GValue *param_values,
1851s # void *invocation_hint,
1851s # void *marshal_data)
1851s # {
1851s # g_cclosure_marshal_VOID__VARIANT (closure,
1851s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1851s # }
1851s #
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface:
1851s # *
1851s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceIface:
1851s # * @parent_iface: The parent interface.
1851s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal.
1851s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
1851s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
1851s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
1851s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
1851s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
1851s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
1851s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
1851s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
1851s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
1851s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
1851s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
1851s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
1851s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
1851s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
1851s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
1851s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
1851s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
1851s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
1851s # *
1851s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1851s # */
1851s #
1851s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1851s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1851s #
1851s # static void
1851s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1851s # {
1851s # /* GObject signals for received D-Bus signals: */
1851s # /**
1851s # * OrgProjectSignalingIface::no-arg-signal:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] =
1851s # g_signal_new ("no-arg-signal",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_no_arg_signal,
1851s # G_TYPE_NONE,
1851s # 0);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-b:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_b: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
1851s # g_signal_new ("single-arg-signal-b",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_BOOLEAN);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-y:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_y: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
1851s # g_signal_new ("single-arg-signal-y",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_UCHAR);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-n:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_n: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
1851s # g_signal_new ("single-arg-signal-n",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_INT);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-q:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_q: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
1851s # g_signal_new ("single-arg-signal-q",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_UINT);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-i:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_i: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
1851s # g_signal_new ("single-arg-signal-i",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_INT);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-u:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_u: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
1851s # g_signal_new ("single-arg-signal-u",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_UINT);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-x:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_x: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
1851s # g_signal_new ("single-arg-signal-x",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_INT64);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-t:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_t: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
1851s # g_signal_new ("single-arg-signal-t",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_UINT64);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-d:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_d: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
1851s # g_signal_new ("single-arg-signal-d",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_DOUBLE);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-s:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_s: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
1851s # g_signal_new ("single-arg-signal-s",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_STRING);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-o:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_o: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
1851s # g_signal_new ("single-arg-signal-o",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_STRING);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-g:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_g: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
1851s # g_signal_new ("single-arg-signal-g",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_STRING);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-h:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_h: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
1851s # g_signal_new ("single-arg-signal-h",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_VARIANT);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-ay:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_ay: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
1851s # g_signal_new ("single-arg-signal-ay",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_STRING);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-as:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_as: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
1851s # g_signal_new ("single-arg-signal-as",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_STRV);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-ao:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_ao: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
1851s # g_signal_new ("single-arg-signal-ao",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_STRV);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-aay:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_aay: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
1851s # g_signal_new ("single-arg-signal-aay",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_STRV);
1851s #
1851s # /**
1851s # * OrgProjectSignalingIface::single-arg-signal-asv:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_asv: Argument.
1851s # *
1851s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received.
1851s # *
1851s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1851s # */
1851s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
1851s # g_signal_new ("single-arg-signal-asv",
1851s # G_TYPE_FROM_INTERFACE (iface),
1851s # G_SIGNAL_RUN_LAST,
1851s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
1851s # NULL,
1851s # NULL,
1851s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
1851s # G_TYPE_NONE,
1851s # 1, G_TYPE_VARIANT);
1851s #
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_no_arg_signal:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # *
1851s # * Emits the "NoArgSignal" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_no_arg_signal (
1851s # OrgProjectSignalingIface *object)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_b:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_b: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalB" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_b (
1851s # OrgProjectSignalingIface *object,
1851s # gboolean arg_an_b)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_y:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_y: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalY" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_y (
1851s # OrgProjectSignalingIface *object,
1851s # guchar arg_an_y)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_n:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_n: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalN" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_n (
1851s # OrgProjectSignalingIface *object,
1851s # gint16 arg_an_n)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_q:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_q: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalQ" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_q (
1851s # OrgProjectSignalingIface *object,
1851s # guint16 arg_an_q)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_i:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_i: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalI" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_i (
1851s # OrgProjectSignalingIface *object,
1851s # gint arg_an_i)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_u:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_u: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalU" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_u (
1851s # OrgProjectSignalingIface *object,
1851s # guint arg_an_u)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_x:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_x: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalX" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_x (
1851s # OrgProjectSignalingIface *object,
1851s # gint64 arg_an_x)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_t:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_t: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalT" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_t (
1851s # OrgProjectSignalingIface *object,
1851s # guint64 arg_an_t)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_d:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_d: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalD" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_d (
1851s # OrgProjectSignalingIface *object,
1851s # gdouble arg_an_d)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_s:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_s: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalS" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_s (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *arg_an_s)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_o:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_o: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalO" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_o (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *arg_an_o)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_g:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_g: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalG" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_g (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *arg_an_g)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_h:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_h: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalH" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_h (
1851s # OrgProjectSignalingIface *object,
1851s # GVariant *arg_an_h)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_ay:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_ay: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalAY" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_ay (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *arg_an_ay)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_as:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_as: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalAS" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_as (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *const *arg_an_as)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_ao:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_ao: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalAO" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_ao (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *const *arg_an_ao)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_aay:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_aay: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalAAY" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_aay (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *const *arg_an_aay)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_emit_single_arg_signal_asv:
1851s # * @object: A #OrgProjectSignalingIface.
1851s # * @arg_an_asv: Argument to pass with the signal.
1851s # *
1851s # * Emits the "SingleArgSignalASV" D-Bus signal.
1851s # */
1851s # void
1851s # org_project_signaling_iface_emit_single_arg_signal_asv (
1851s # OrgProjectSignalingIface *object,
1851s # GVariant *arg_an_asv)
1851s # {
1851s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv);
1851s # }
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceProxy:
1851s # *
1851s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceProxyClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectSignalingIfaceProxy.
1851s # */
1851s #
1851s # struct _OrgProjectSignalingIfaceProxyPrivate
1851s # {
1851s # GData *qdata;
1851s # };
1851s #
1851s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_signaling_iface_proxy_finalize (GObject *object)
1851s # {
1851s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1851s # g_datalist_clear (&proxy->priv->qdata);
1851s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1851s # guint prop_id G_GNUC_UNUSED,
1851s # const GValue *value G_GNUC_UNUSED,
1851s # GParamSpec *pspec G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1851s # const gchar *sender_name G_GNUC_UNUSED,
1851s # const gchar *signal_name,
1851s # GVariant *parameters)
1851s # {
1851s # _ExtendedGDBusSignalInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # gsize n;
1851s # guint signal_id;
1851s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1851s # if (info == NULL)
1851s # return;
1851s # num_params = g_variant_n_children (parameters);
1851s # paramv = g_new0 (GValue, num_params + 1);
1851s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1851s # g_value_set_object (¶mv[0], proxy);
1851s # g_variant_iter_init (&iter, parameters);
1851s # n = 1;
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1851s # g_signal_emitv (paramv, signal_id, 0, NULL);
1851s # for (n = 0; n < num_params + 1; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1851s # GVariant *changed_properties,
1851s # const gchar *const *invalidated_properties)
1851s # {
1851s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1851s # guint n;
1851s # const gchar *key;
1851s # GVariantIter *iter;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # g_variant_get (changed_properties, "a{sv}", &iter);
1851s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1851s # g_datalist_remove_data (&proxy->priv->qdata, key);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # g_variant_iter_free (iter);
1851s # for (n = 0; invalidated_properties[n] != NULL; n++)
1851s # {
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1851s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1851s # if (info != NULL)
1851s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1851s # }
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1851s # #else
1851s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1851s # #endif
1851s #
1851s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusProxyClass *proxy_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1851s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1851s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1851s #
1851s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1851s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1851s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_signaling_iface_proxy_new (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_proxy_new_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_sync:
1851s # * @connection: A #GDBusConnection.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_proxy_new_sync (
1851s # GDBusConnection *connection,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_for_bus:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1851s # * @user_data: User data to pass to @callback.
1851s # *
1851s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1851s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1851s # *
1851s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1851s # */
1851s # void
1851s # org_project_signaling_iface_proxy_new_for_bus (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GAsyncReadyCallback callback,
1851s # gpointer user_data)
1851s # {
1851s # 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);
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1851s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_proxy_new_for_bus_finish (
1851s # GAsyncResult *res,
1851s # GError **error)
1851s # {
1851s # GObject *ret;
1851s # GObject *source_object;
1851s # source_object = g_async_result_get_source_object (res);
1851s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1851s # g_object_unref (source_object);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1851s # * @bus_type: A #GBusType.
1851s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1851s # * @name: A bus name (well-known or unique).
1851s # * @object_path: An object path.
1851s # * @cancellable: (nullable): A #GCancellable or %NULL.
1851s # * @error: Return location for error or %NULL
1851s # *
1851s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1851s # *
1851s # * The calling thread is blocked until a reply is received.
1851s # *
1851s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_proxy_new_for_bus_sync (
1851s # GBusType bus_type,
1851s # GDBusProxyFlags flags,
1851s # const gchar *name,
1851s # const gchar *object_path,
1851s # GCancellable *cancellable,
1851s # GError **error)
1851s # {
1851s # GInitable *ret;
1851s # 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);
1851s # if (ret != NULL)
1851s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1851s # else
1851s # return NULL;
1851s # }
1851s #
1851s #
1851s # /* ------------------------------------------------------------------------ */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceSkeleton:
1851s # *
1851s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1851s # */
1851s #
1851s # /**
1851s # * OrgProjectSignalingIfaceSkeletonClass:
1851s # * @parent_class: The parent class.
1851s # *
1851s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1851s # */
1851s #
1851s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1851s # {
1851s # GValue *properties;
1851s # GList *changed_properties;
1851s # GSource *changed_properties_idle_source;
1851s # GMainContext *context;
1851s # GMutex lock;
1851s # };
1851s #
1851s # static void
1851s # _org_project_signaling_iface_skeleton_handle_method_call (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name,
1851s # const gchar *method_name,
1851s # GVariant *parameters,
1851s # GDBusMethodInvocation *invocation,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1851s # _ExtendedGDBusMethodInfo *info;
1851s # GVariantIter iter;
1851s # GVariant *child;
1851s # GValue *paramv;
1851s # gsize num_params;
1851s # guint num_extra;
1851s # gsize n;
1851s # guint signal_id;
1851s # GValue return_value = G_VALUE_INIT;
1851s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1851s # g_assert (info != NULL);
1851s # num_params = g_variant_n_children (parameters);
1851s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1851s # n = 0;
1851s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1851s # g_value_set_object (¶mv[n++], skeleton);
1851s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1851s # g_value_set_object (¶mv[n++], invocation);
1851s # if (info->pass_fdlist)
1851s # {
1851s # #ifdef G_OS_UNIX
1851s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1851s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1851s # #else
1851s # g_assert_not_reached ();
1851s # #endif
1851s # }
1851s # g_variant_iter_init (&iter, parameters);
1851s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1851s # {
1851s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1851s # if (arg_info->use_gvariant)
1851s # {
1851s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1851s # g_value_set_variant (¶mv[n], child);
1851s # n++;
1851s # }
1851s # else
1851s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1851s # g_variant_unref (child);
1851s # }
1851s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1851s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1851s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1851s # if (!g_value_get_boolean (&return_value))
1851s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1851s # g_value_unset (&return_value);
1851s # for (n = 0; n < num_params + num_extra; n++)
1851s # g_value_unset (¶mv[n]);
1851s # g_free (paramv);
1851s # }
1851s #
1851s # static GVariant *
1851s # _org_project_signaling_iface_skeleton_handle_get_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # GVariant *ret;
1851s # ret = NULL;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # g_value_init (&value, pspec->value_type);
1851s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1851s # g_value_unset (&value);
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static gboolean
1851s # _org_project_signaling_iface_skeleton_handle_set_property (
1851s # GDBusConnection *connection G_GNUC_UNUSED,
1851s # const gchar *sender G_GNUC_UNUSED,
1851s # const gchar *object_path G_GNUC_UNUSED,
1851s # const gchar *interface_name G_GNUC_UNUSED,
1851s # const gchar *property_name,
1851s # GVariant *variant,
1851s # GError **error,
1851s # gpointer user_data)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1851s # GValue value = G_VALUE_INIT;
1851s # GParamSpec *pspec;
1851s # _ExtendedGDBusPropertyInfo *info;
1851s # gboolean ret;
1851s # ret = FALSE;
1851s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1851s # g_assert (info != NULL);
1851s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1851s # if (pspec == NULL)
1851s # {
1851s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1851s # }
1851s # else
1851s # {
1851s # if (info->use_gvariant)
1851s # g_value_set_variant (&value, variant);
1851s # else
1851s # g_dbus_gvariant_to_gvalue (variant, &value);
1851s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1851s # g_value_unset (&value);
1851s # ret = TRUE;
1851s # }
1851s # return ret;
1851s # }
1851s #
1851s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1851s # {
1851s # _org_project_signaling_iface_skeleton_handle_method_call,
1851s # _org_project_signaling_iface_skeleton_handle_get_property,
1851s # _org_project_signaling_iface_skeleton_handle_set_property,
1851s # {NULL}
1851s # };
1851s #
1851s # static GDBusInterfaceInfo *
1851s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return org_project_signaling_iface_interface_info ();
1851s # }
1851s #
1851s # static GDBusInterfaceVTable *
1851s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1851s # {
1851s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1851s # }
1851s #
1851s # static GVariant *
1851s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1851s #
1851s # GVariantBuilder builder;
1851s # guint n;
1851s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1851s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1851s # goto out;
1851s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1851s # {
1851s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1851s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1851s # {
1851s # GVariant *value;
1851s # 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);
1851s # if (value != NULL)
1851s # {
1851s # g_variant_take_ref (value);
1851s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1851s # g_variant_unref (value);
1851s # }
1851s # }
1851s # }
1851s # out:
1851s # return g_variant_builder_end (&builder);
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1851s # {
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_no_arg_signal (
1851s # OrgProjectSignalingIface *object)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
1851s # OrgProjectSignalingIface *object,
1851s # gboolean arg_an_b)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
1851s # arg_an_b));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
1851s # OrgProjectSignalingIface *object,
1851s # guchar arg_an_y)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
1851s # arg_an_y));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
1851s # OrgProjectSignalingIface *object,
1851s # gint16 arg_an_n)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
1851s # arg_an_n));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
1851s # OrgProjectSignalingIface *object,
1851s # guint16 arg_an_q)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
1851s # arg_an_q));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
1851s # OrgProjectSignalingIface *object,
1851s # gint arg_an_i)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
1851s # arg_an_i));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
1851s # OrgProjectSignalingIface *object,
1851s # guint arg_an_u)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
1851s # arg_an_u));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
1851s # OrgProjectSignalingIface *object,
1851s # gint64 arg_an_x)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
1851s # arg_an_x));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
1851s # OrgProjectSignalingIface *object,
1851s # guint64 arg_an_t)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
1851s # arg_an_t));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
1851s # OrgProjectSignalingIface *object,
1851s # gdouble arg_an_d)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
1851s # arg_an_d));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *arg_an_s)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
1851s # arg_an_s));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *arg_an_o)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
1851s # arg_an_o));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *arg_an_g)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
1851s # arg_an_g));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
1851s # OrgProjectSignalingIface *object,
1851s # GVariant *arg_an_h)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
1851s # arg_an_h));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *arg_an_ay)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
1851s # arg_an_ay));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *const *arg_an_as)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
1851s # arg_an_as));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *const *arg_an_ao)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
1851s # arg_an_ao));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
1851s # OrgProjectSignalingIface *object,
1851s # const gchar *const *arg_an_aay)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
1851s # arg_an_aay));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void
1851s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
1851s # OrgProjectSignalingIface *object,
1851s # GVariant *arg_an_asv)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s #
1851s # GList *connections, *l;
1851s # GVariant *signal_variant;
1851s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1851s #
1851s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
1851s # arg_an_asv));
1851s # for (l = connections; l != NULL; l = l->next)
1851s # {
1851s # GDBusConnection *connection = l->data;
1851s # g_dbus_connection_emit_signal (connection,
1851s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV",
1851s # signal_variant, NULL);
1851s # }
1851s # g_variant_unref (signal_variant);
1851s # g_list_free_full (connections, g_object_unref);
1851s # }
1851s #
1851s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1851s #
1851s # #else
1851s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1851s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1851s #
1851s # #endif
1851s # static void
1851s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1851s # {
1851s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1851s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1851s # if (skeleton->priv->changed_properties_idle_source != NULL)
1851s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1851s # g_main_context_unref (skeleton->priv->context);
1851s # g_mutex_clear (&skeleton->priv->lock);
1851s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1851s # {
1851s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1851s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1851s # #else
1851s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1851s # #endif
1851s #
1851s # g_mutex_init (&skeleton->priv->lock);
1851s # skeleton->priv->context = g_main_context_ref_thread_default ();
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1851s # {
1851s # GObjectClass *gobject_class;
1851s # GDBusInterfaceSkeletonClass *skeleton_class;
1851s #
1851s # gobject_class = G_OBJECT_CLASS (klass);
1851s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1851s #
1851s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1851s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1851s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1851s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1851s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1851s #
1851s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1851s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1851s # #endif
1851s # }
1851s #
1851s # static void
1851s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1851s # {
1851s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal;
1851s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
1851s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
1851s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
1851s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
1851s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
1851s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
1851s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
1851s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
1851s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
1851s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
1851s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
1851s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
1851s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
1851s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
1851s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
1851s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
1851s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
1851s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
1851s # }
1851s #
1851s # /**
1851s # * org_project_signaling_iface_skeleton_new:
1851s # *
1851s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1851s # *
1851s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1851s # */
1851s # OrgProjectSignalingIface *
1851s # org_project_signaling_iface_skeleton_new (void)
1851s # {
1851s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1851s # }
1851s # Executing: glib/codegen.py.test
1852s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal
1852s # tmpdir: /tmp/tmp10a31gop
1852s # codegen: /usr/bin/gdbus-codegen
1852s # /tmp/tmp10a31gop/tmpy294qj63.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp10a31gop/tmpy294qj63.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.UsefulInterface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectUsefulInterface
1852s # * @title: OrgProjectUsefulInterface
1852s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.UsefulInterface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-useful-interface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_useful_interface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_useful_interface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_useful_interface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_useful_interface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectUsefulInterface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectUsefulInterfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1852s # */
1852s #
1852s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectUsefulInterface::simple-signal:
1852s # * @object: A #OrgProjectUsefulInterface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_useful_interface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_useful_interface_emit_simple_signal:
1852s # * @object: A #OrgProjectUsefulInterface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_useful_interface_emit_simple_signal (
1852s # OrgProjectUsefulInterface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectUsefulInterfaceProxy:
1852s # *
1852s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectUsefulInterfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectUsefulInterfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_useful_interface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1852s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1852s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_useful_interface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_useful_interface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # g_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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_useful_interface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectUsefulInterface *
1852s # org_project_useful_interface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_useful_interface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectUsefulInterface *
1852s # org_project_useful_interface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_useful_interface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_useful_interface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # g_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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_useful_interface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectUsefulInterface *
1852s # org_project_useful_interface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_useful_interface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectUsefulInterface *
1852s # org_project_useful_interface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectUsefulInterfaceSkeleton:
1852s # *
1852s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectUsefulInterfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_useful_interface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_useful_interface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_useful_interface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1852s # {
1852s # _org_project_useful_interface_skeleton_handle_method_call,
1852s # _org_project_useful_interface_skeleton_handle_get_property,
1852s # _org_project_useful_interface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_useful_interface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_useful_interface_on_signal_simple_signal (
1852s # OrgProjectUsefulInterface *object)
1852s # {
1852s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_useful_interface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal;
1852s # }
1852s #
1852s # /**
1852s # * org_project_useful_interface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectUsefulInterface *
1852s # org_project_useful_interface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.OtherIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectOtherIface
1852s # * @title: OrgProjectOtherIface
1852s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.OtherIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_other_iface_signal_info_simple_signal.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.OtherIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-other-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_other_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_other_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_other_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectOtherIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.OtherIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectOtherIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.OtherIface.
1852s # */
1852s #
1852s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectOtherIface::simple-signal:
1852s # * @object: A #OrgProjectOtherIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_other_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectOtherIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_other_iface_emit_simple_signal (
1852s # OrgProjectOtherIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectOtherIfaceProxy:
1852s # *
1852s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectOtherIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectOtherIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectOtherIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_other_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_other_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_other_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_other_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_other_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_other_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectOtherIface *
1852s # org_project_other_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_OTHER_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectOtherIface *
1852s # org_project_other_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_OTHER_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_other_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_other_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectOtherIface *
1852s # org_project_other_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_OTHER_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectOtherIface *
1852s # org_project_other_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_OTHER_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectOtherIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectOtherIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectOtherIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectOtherIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_other_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_other_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_other_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable =
1852s # {
1852s # _org_project_other_iface_skeleton_handle_method_call,
1852s # _org_project_other_iface_skeleton_handle_get_property,
1852s # _org_project_other_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_other_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_other_iface_on_signal_simple_signal (
1852s # OrgProjectOtherIface *object)
1852s # {
1852s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_other_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_other_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal;
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectOtherIface *
1852s # org_project_other_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL));
1852s # }
1852s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal
1852s # tmpdir: /tmp/tmpvqrfy9o0
1852s # codegen: /usr/bin/gdbus-codegen
1852s # /tmp/tmpvqrfy9o0/tmpnyd0jmh9.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvqrfy9o0/tmpnyd0jmh9.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.OtherSignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectOtherSignalingIface
1852s # * @title: OrgProjectOtherSignalingIface
1852s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.OtherSignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-other-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_other_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_other_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectOtherSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectOtherSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectOtherSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectOtherSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_other_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectOtherSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_other_signaling_iface_emit_simple_signal (
1852s # OrgProjectOtherSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectOtherSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectOtherSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectOtherSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectOtherSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_other_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_other_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectOtherSignalingIface *
1852s # org_project_other_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectOtherSignalingIface *
1852s # org_project_other_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_other_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectOtherSignalingIface *
1852s # org_project_other_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectOtherSignalingIface *
1852s # org_project_other_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectOtherSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectOtherSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_other_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_other_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_other_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_other_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_other_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_other_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_other_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_other_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectOtherSignalingIface *object)
1852s # {
1852s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_other_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal;
1852s # }
1852s #
1852s # /**
1852s # * org_project_other_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectOtherSignalingIface *
1852s # org_project_other_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args
1852s # tmpdir: /tmp/tmptx_q1uuf
1852s # codegen: /usr/bin/gdbus-codegen
1852s # /tmp/tmptx_q1uuf/tmpjtfy9mzp.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpjtfy9mzp.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_b",
1852s # (gchar *) "b",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalB",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-b"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__BOOLEAN (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-b:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_b: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
1852s # g_signal_new ("single-arg-signal-b",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_BOOLEAN);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_b:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_b: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalB" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_b (
1852s # OrgProjectSignalingIface *object,
1852s # gboolean arg_arg_b)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
1852s # OrgProjectSignalingIface *object,
1852s # gboolean arg_arg_b)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
1852s # arg_arg_b));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s # /tmp/tmptx_q1uuf/tmprgk0cgcq.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmprgk0cgcq.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_y",
1852s # (gchar *) "y",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalY",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-y"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__UCHAR (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-y:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_y: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
1852s # g_signal_new ("single-arg-signal-y",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_UCHAR);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_y:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_y: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalY" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_y (
1852s # OrgProjectSignalingIface *object,
1852s # guchar arg_arg_y)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
1852s # OrgProjectSignalingIface *object,
1852s # guchar arg_arg_y)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
1852s # arg_arg_y));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s # /tmp/tmptx_q1uuf/tmpgsf8s54h.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpgsf8s54h.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_n",
1852s # (gchar *) "n",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalN",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-n"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__INT (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-n:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_n: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
1852s # g_signal_new ("single-arg-signal-n",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_INT);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_n:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_n: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalN" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_n (
1852s # OrgProjectSignalingIface *object,
1852s # gint16 arg_arg_n)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
1852s # OrgProjectSignalingIface *object,
1852s # gint16 arg_arg_n)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
1852s # arg_arg_n));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s # /tmp/tmptx_q1uuf/tmpmoxtcrzy.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpmoxtcrzy.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_q",
1852s # (gchar *) "q",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalQ",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-q"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__UINT (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-q:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_q: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
1852s # g_signal_new ("single-arg-signal-q",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_UINT);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_q:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_q: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalQ" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_q (
1852s # OrgProjectSignalingIface *object,
1852s # guint16 arg_arg_q)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
1852s # OrgProjectSignalingIface *object,
1852s # guint16 arg_arg_q)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
1852s # arg_arg_q));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s # /tmp/tmptx_q1uuf/tmpk2tkco6l.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpk2tkco6l.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_i",
1852s # (gchar *) "i",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalI",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-i"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__INT (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-i:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_i: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
1852s # g_signal_new ("single-arg-signal-i",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_INT);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_i:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_i: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalI" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_i (
1852s # OrgProjectSignalingIface *object,
1852s # gint arg_arg_i)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
1852s # OrgProjectSignalingIface *object,
1852s # gint arg_arg_i)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
1852s # arg_arg_i));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s # /tmp/tmptx_q1uuf/tmp4i7lxm9_.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmp4i7lxm9_.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_u",
1852s # (gchar *) "u",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalU",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-u"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__UINT (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-u:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_u: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
1852s # g_signal_new ("single-arg-signal-u",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_UINT);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_u:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_u: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalU" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_u (
1852s # OrgProjectSignalingIface *object,
1852s # guint arg_arg_u)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
1852s # OrgProjectSignalingIface *object,
1852s # guint arg_arg_u)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
1852s # arg_arg_u));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s # /tmp/tmptx_q1uuf/tmpju_dm3fe.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpju_dm3fe.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static void
1852s # _g_dbus_codegen_marshal_VOID__INT64 (
1852s # GClosure *closure,
1852s # GValue *return_value G_GNUC_UNUSED,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint G_GNUC_UNUSED,
1852s # void *marshal_data)
1852s # {
1852s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
1852s # (void *data1,
1852s # gint64 arg_arg_x,
1852s # void *data2);
1852s # _GDbusCodegenMarshalVoid_Int64Func callback;
1852s # GCClosure *cc = (GCClosure*) closure;
1852s # void *data1, *data2;
1852s #
1852s # g_return_if_fail (n_param_values == 2);
1852s #
1852s # if (G_CCLOSURE_SWAP_DATA (closure))
1852s # {
1852s # data1 = closure->data;
1852s # data2 = g_value_peek_pointer (param_values + 0);
1852s # }
1852s # else
1852s # {
1852s # data1 = g_value_peek_pointer (param_values + 0);
1852s # data2 = closure->data;
1852s # }
1852s #
1852s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
1852s # (marshal_data ? marshal_data : cc->callback);
1852s #
1852s # callback (data1,
1852s # g_marshal_value_peek_int64 (param_values + 1),
1852s # data2);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_x",
1852s # (gchar *) "x",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalX",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-x"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-x:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_x: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
1852s # g_signal_new ("single-arg-signal-x",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_INT64);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_x:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_x: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalX" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_x (
1852s # OrgProjectSignalingIface *object,
1852s # gint64 arg_arg_x)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
1852s # OrgProjectSignalingIface *object,
1852s # gint64 arg_arg_x)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
1852s # arg_arg_x));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s # /tmp/tmptx_q1uuf/tmp2w_h_qlx.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmp2w_h_qlx.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static void
1852s # _g_dbus_codegen_marshal_VOID__UINT64 (
1852s # GClosure *closure,
1852s # GValue *return_value G_GNUC_UNUSED,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint G_GNUC_UNUSED,
1852s # void *marshal_data)
1852s # {
1852s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
1852s # (void *data1,
1852s # guint64 arg_arg_t,
1852s # void *data2);
1852s # _GDbusCodegenMarshalVoid_Uint64Func callback;
1852s # GCClosure *cc = (GCClosure*) closure;
1852s # void *data1, *data2;
1852s #
1852s # g_return_if_fail (n_param_values == 2);
1852s #
1852s # if (G_CCLOSURE_SWAP_DATA (closure))
1852s # {
1852s # data1 = closure->data;
1852s # data2 = g_value_peek_pointer (param_values + 0);
1852s # }
1852s # else
1852s # {
1852s # data1 = g_value_peek_pointer (param_values + 0);
1852s # data2 = closure->data;
1852s # }
1852s #
1852s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
1852s # (marshal_data ? marshal_data : cc->callback);
1852s #
1852s # callback (data1,
1852s # g_marshal_value_peek_uint64 (param_values + 1),
1852s # data2);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_t",
1852s # (gchar *) "t",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalT",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-t"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-t:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_t: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
1852s # g_signal_new ("single-arg-signal-t",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_UINT64);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_t:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_t: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalT" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_t (
1852s # OrgProjectSignalingIface *object,
1852s # guint64 arg_arg_t)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # _ExtendedGDBusMethodInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # guint num_extra;
1852s # gsize n;
1852s # guint signal_id;
1852s # GValue return_value = G_VALUE_INIT;
1852s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1852s # g_assert (info != NULL);
1852s # num_params = g_variant_n_children (parameters);
1852s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1852s # n = 0;
1852s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[n++], skeleton);
1852s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1852s # g_value_set_object (¶mv[n++], invocation);
1852s # if (info->pass_fdlist)
1852s # {
1852s # #ifdef G_OS_UNIX
1852s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1852s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1852s # #else
1852s # g_assert_not_reached ();
1852s # #endif
1852s # }
1852s # g_variant_iter_init (&iter, parameters);
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1852s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1852s # if (!g_value_get_boolean (&return_value))
1852s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1852s # g_value_unset (&return_value);
1852s # for (n = 0; n < num_params + num_extra; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static GVariant *
1852s # _org_project_signaling_iface_skeleton_handle_get_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # GVariant *ret;
1852s # ret = NULL;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # g_value_init (&value, pspec->value_type);
1852s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1852s # g_value_unset (&value);
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _org_project_signaling_iface_skeleton_handle_set_property (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name G_GNUC_UNUSED,
1852s # const gchar *property_name,
1852s # GVariant *variant,
1852s # GError **error,
1852s # gpointer user_data)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1852s # GValue value = G_VALUE_INIT;
1852s # GParamSpec *pspec;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # gboolean ret;
1852s # ret = FALSE;
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1852s # g_assert (info != NULL);
1852s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1852s # if (pspec == NULL)
1852s # {
1852s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1852s # }
1852s # else
1852s # {
1852s # if (info->use_gvariant)
1852s # g_value_set_variant (&value, variant);
1852s # else
1852s # g_dbus_gvariant_to_gvalue (variant, &value);
1852s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1852s # g_value_unset (&value);
1852s # ret = TRUE;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1852s # {
1852s # _org_project_signaling_iface_skeleton_handle_method_call,
1852s # _org_project_signaling_iface_skeleton_handle_get_property,
1852s # _org_project_signaling_iface_skeleton_handle_set_property,
1852s # {NULL}
1852s # };
1852s #
1852s # static GDBusInterfaceInfo *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return org_project_signaling_iface_interface_info ();
1852s # }
1852s #
1852s # static GDBusInterfaceVTable *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1852s # {
1852s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1852s # }
1852s #
1852s # static GVariant *
1852s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1852s #
1852s # GVariantBuilder builder;
1852s # guint n;
1852s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1852s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1852s # goto out;
1852s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1852s # {
1852s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1852s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1852s # {
1852s # GVariant *value;
1852s # 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);
1852s # if (value != NULL)
1852s # {
1852s # g_variant_take_ref (value);
1852s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1852s # g_variant_unref (value);
1852s # }
1852s # }
1852s # }
1852s # out:
1852s # return g_variant_builder_end (&builder);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void
1852s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
1852s # OrgProjectSignalingIface *object,
1852s # guint64 arg_arg_t)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s #
1852s # GList *connections, *l;
1852s # GVariant *signal_variant;
1852s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1852s #
1852s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
1852s # arg_arg_t));
1852s # for (l = connections; l != NULL; l = l->next)
1852s # {
1852s # GDBusConnection *connection = l->data;
1852s # g_dbus_connection_emit_signal (connection,
1852s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
1852s # signal_variant, NULL);
1852s # }
1852s # g_variant_unref (signal_variant);
1852s # g_list_free_full (connections, g_object_unref);
1852s # }
1852s #
1852s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1852s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1852s # if (skeleton->priv->changed_properties_idle_source != NULL)
1852s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1852s # g_main_context_unref (skeleton->priv->context);
1852s # g_mutex_clear (&skeleton->priv->lock);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1852s # #else
1852s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1852s # #endif
1852s #
1852s # g_mutex_init (&skeleton->priv->lock);
1852s # skeleton->priv->context = g_main_context_ref_thread_default ();
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusInterfaceSkeletonClass *skeleton_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1852s #
1852s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1852s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1852s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1852s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1852s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1852s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_skeleton_new:
1852s # *
1852s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_skeleton_new (void)
1852s # {
1852s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1852s # }
1852s # /tmp/tmptx_q1uuf/tmpvqncu7ko.xml:
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s #
1852s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpvqncu7ko.xml', '--output', '-', '--body']
1852s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1852s # Output: /*
1852s # * This file is generated by gdbus-codegen, do not modify it.
1852s # *
1852s # * The license of this code is the same as for the D-Bus interface description
1852s # * it was derived from. Note that it links to GLib, so must comply with the
1852s # * LGPL linking clauses.
1852s # */
1852s #
1852s # #ifdef HAVE_CONFIG_H
1852s # # include "config.h"
1852s # #endif
1852s #
1852s # #include
1852s # #ifdef G_OS_UNIX
1852s # # include
1852s # #endif
1852s #
1852s # #ifdef G_ENABLE_DEBUG
1852s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1852s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1852s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1852s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1852s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1852s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1852s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1852s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1852s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1852s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1852s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1852s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1852s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1852s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1852s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1852s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1852s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1852s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1852s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1852s # #else /* !G_ENABLE_DEBUG */
1852s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1852s # * Do not access GValues directly in your code. Instead, use the
1852s # * g_value_get_*() functions
1852s # */
1852s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1852s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1852s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1852s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1852s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1852s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1852s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1852s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1852s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1852s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1852s # #endif /* !G_ENABLE_DEBUG */
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusArgInfo parent_struct;
1852s # gboolean use_gvariant;
1852s # } _ExtendedGDBusArgInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusMethodInfo parent_struct;
1852s # const gchar *signal_name;
1852s # gboolean pass_fdlist;
1852s # } _ExtendedGDBusMethodInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusSignalInfo parent_struct;
1852s # const gchar *signal_name;
1852s # } _ExtendedGDBusSignalInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusPropertyInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # guint use_gvariant : 1;
1852s # guint emits_changed_signal : 1;
1852s # } _ExtendedGDBusPropertyInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # GDBusInterfaceInfo parent_struct;
1852s # const gchar *hyphen_name;
1852s # } _ExtendedGDBusInterfaceInfo;
1852s #
1852s # typedef struct
1852s # {
1852s # const _ExtendedGDBusPropertyInfo *info;
1852s # guint prop_id;
1852s # GValue orig_value; /* the value before the change */
1852s # } ChangedProperty;
1852s #
1852s # static void
1852s # _changed_property_free (ChangedProperty *data)
1852s # {
1852s # g_value_unset (&data->orig_value);
1852s # g_free (data);
1852s # }
1852s #
1852s # static gboolean
1852s # _g_strv_equal0 (gchar **a, gchar **b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # guint n;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # if (g_strv_length (a) != g_strv_length (b))
1852s # goto out;
1852s # for (n = 0; a[n] != NULL; n++)
1852s # if (g_strcmp0 (a[n], b[n]) != 0)
1852s # goto out;
1852s # ret = TRUE;
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # static gboolean
1852s # _g_variant_equal0 (GVariant *a, GVariant *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # if (a == NULL && b == NULL)
1852s # {
1852s # ret = TRUE;
1852s # goto out;
1852s # }
1852s # if (a == NULL || b == NULL)
1852s # goto out;
1852s # ret = g_variant_equal (a, b);
1852s # out:
1852s # return ret;
1852s # }
1852s #
1852s # G_GNUC_UNUSED static gboolean
1852s # _g_value_equal (const GValue *a, const GValue *b)
1852s # {
1852s # gboolean ret = FALSE;
1852s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1852s # switch (G_VALUE_TYPE (a))
1852s # {
1852s # case G_TYPE_BOOLEAN:
1852s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1852s # break;
1852s # case G_TYPE_UCHAR:
1852s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1852s # break;
1852s # case G_TYPE_INT:
1852s # ret = (g_value_get_int (a) == g_value_get_int (b));
1852s # break;
1852s # case G_TYPE_UINT:
1852s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1852s # break;
1852s # case G_TYPE_INT64:
1852s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1852s # break;
1852s # case G_TYPE_UINT64:
1852s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1852s # break;
1852s # case G_TYPE_DOUBLE:
1852s # {
1852s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1852s # gdouble da = g_value_get_double (a);
1852s # gdouble db = g_value_get_double (b);
1852s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1852s # }
1852s # break;
1852s # case G_TYPE_STRING:
1852s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1852s # break;
1852s # case G_TYPE_VARIANT:
1852s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1852s # break;
1852s # default:
1852s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1852s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1852s # else
1852s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1852s # break;
1852s # }
1852s # return ret;
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------
1852s # * Code for interface org.project.SignalingIface
1852s # * ------------------------------------------------------------------------
1852s # */
1852s #
1852s # /**
1852s # * SECTION:OrgProjectSignalingIface
1852s # * @title: OrgProjectSignalingIface
1852s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1852s # *
1852s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1852s # */
1852s #
1852s # enum
1852s # {
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1852s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
1852s # };
1852s #
1852s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1852s #
1852s # /* ---- Introspection data for org.project.SignalingIface ---- */
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SimpleSignal",
1852s # NULL,
1852s # NULL
1852s # },
1852s # "simple-signal"
1852s # };
1852s #
1852s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "arg_d",
1852s # (gchar *) "d",
1852s # NULL
1852s # },
1852s # FALSE
1852s # };
1852s #
1852s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "SingleArgSignalD",
1852s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
1852s # NULL
1852s # },
1852s # "single-arg-signal-d"
1852s # };
1852s #
1852s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1852s # {
1852s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1852s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
1852s # NULL
1852s # };
1852s #
1852s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1852s # {
1852s # {
1852s # -1,
1852s # (gchar *) "org.project.SignalingIface",
1852s # NULL,
1852s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1852s # NULL,
1852s # NULL
1852s # },
1852s # "org-project-signaling-iface",
1852s # };
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_interface_info:
1852s # *
1852s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1852s # *
1852s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1852s # */
1852s # GDBusInterfaceInfo *
1852s # org_project_signaling_iface_interface_info (void)
1852s # {
1852s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_override_properties:
1852s # * @klass: The class structure for a #GObject derived class.
1852s # * @property_id_begin: The property id to assign to the first overridden property.
1852s # *
1852s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1852s # * The properties are overridden in the order they are defined.
1852s # *
1852s # * Returns: The last property id.
1852s # */
1852s # guint
1852s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1852s # {
1852s # return property_id_begin - 1;
1852s # }
1852s #
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_simple_signal (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__VOID (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s # inline static void
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
1852s # GClosure *closure,
1852s # GValue *return_value,
1852s # unsigned int n_param_values,
1852s # const GValue *param_values,
1852s # void *invocation_hint,
1852s # void *marshal_data)
1852s # {
1852s # g_cclosure_marshal_VOID__DOUBLE (closure,
1852s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1852s # }
1852s #
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface:
1852s # *
1852s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceIface:
1852s # * @parent_iface: The parent interface.
1852s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1852s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
1852s # *
1852s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1852s # */
1852s #
1852s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1852s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1852s #
1852s # static void
1852s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1852s # {
1852s # /* GObject signals for received D-Bus signals: */
1852s # /**
1852s # * OrgProjectSignalingIface::simple-signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1852s # g_signal_new ("simple-signal",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_simple_signal,
1852s # G_TYPE_NONE,
1852s # 0);
1852s #
1852s # /**
1852s # * OrgProjectSignalingIface::single-arg-signal-d:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_d: Argument.
1852s # *
1852s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
1852s # *
1852s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1852s # */
1852s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
1852s # g_signal_new ("single-arg-signal-d",
1852s # G_TYPE_FROM_INTERFACE (iface),
1852s # G_SIGNAL_RUN_LAST,
1852s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
1852s # NULL,
1852s # NULL,
1852s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
1852s # G_TYPE_NONE,
1852s # 1, G_TYPE_DOUBLE);
1852s #
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_simple_signal:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # *
1852s # * Emits the "SimpleSignal" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_simple_signal (
1852s # OrgProjectSignalingIface *object)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_emit_single_arg_signal_d:
1852s # * @object: A #OrgProjectSignalingIface.
1852s # * @arg_arg_d: Argument to pass with the signal.
1852s # *
1852s # * Emits the "SingleArgSignalD" D-Bus signal.
1852s # */
1852s # void
1852s # org_project_signaling_iface_emit_single_arg_signal_d (
1852s # OrgProjectSignalingIface *object,
1852s # gdouble arg_arg_d)
1852s # {
1852s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d);
1852s # }
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxy:
1852s # *
1852s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceProxyClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceProxy.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceProxyPrivate
1852s # {
1852s # GData *qdata;
1852s # };
1852s #
1852s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #else
1852s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1852s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1852s #
1852s # #endif
1852s # static void
1852s # org_project_signaling_iface_proxy_finalize (GObject *object)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1852s # g_datalist_clear (&proxy->priv->qdata);
1852s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1852s # guint prop_id G_GNUC_UNUSED,
1852s # const GValue *value G_GNUC_UNUSED,
1852s # GParamSpec *pspec G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1852s # const gchar *sender_name G_GNUC_UNUSED,
1852s # const gchar *signal_name,
1852s # GVariant *parameters)
1852s # {
1852s # _ExtendedGDBusSignalInfo *info;
1852s # GVariantIter iter;
1852s # GVariant *child;
1852s # GValue *paramv;
1852s # gsize num_params;
1852s # gsize n;
1852s # guint signal_id;
1852s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1852s # if (info == NULL)
1852s # return;
1852s # num_params = g_variant_n_children (parameters);
1852s # paramv = g_new0 (GValue, num_params + 1);
1852s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_value_set_object (¶mv[0], proxy);
1852s # g_variant_iter_init (&iter, parameters);
1852s # n = 1;
1852s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1852s # {
1852s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1852s # if (arg_info->use_gvariant)
1852s # {
1852s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1852s # g_value_set_variant (¶mv[n], child);
1852s # n++;
1852s # }
1852s # else
1852s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1852s # g_variant_unref (child);
1852s # }
1852s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1852s # g_signal_emitv (paramv, signal_id, 0, NULL);
1852s # for (n = 0; n < num_params + 1; n++)
1852s # g_value_unset (¶mv[n]);
1852s # g_free (paramv);
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1852s # GVariant *changed_properties,
1852s # const gchar *const *invalidated_properties)
1852s # {
1852s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1852s # guint n;
1852s # const gchar *key;
1852s # GVariantIter *iter;
1852s # _ExtendedGDBusPropertyInfo *info;
1852s # g_variant_get (changed_properties, "a{sv}", &iter);
1852s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1852s # g_datalist_remove_data (&proxy->priv->qdata, key);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # g_variant_iter_free (iter);
1852s # for (n = 0; invalidated_properties[n] != NULL; n++)
1852s # {
1852s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1852s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1852s # if (info != NULL)
1852s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1852s # }
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1852s # {
1852s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1852s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1852s # #else
1852s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1852s # #endif
1852s #
1852s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1852s # {
1852s # GObjectClass *gobject_class;
1852s # GDBusProxyClass *proxy_class;
1852s #
1852s # gobject_class = G_OBJECT_CLASS (klass);
1852s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1852s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1852s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1852s #
1852s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1852s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1852s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1852s #
1852s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1852s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1852s # #endif
1852s # }
1852s #
1852s # static void
1852s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1852s # {
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_sync:
1852s # * @connection: A #GDBusConnection.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_sync (
1852s # GDBusConnection *connection,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1852s # * @user_data: User data to pass to @callback.
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1852s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1852s # */
1852s # void
1852s # org_project_signaling_iface_proxy_new_for_bus (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GAsyncReadyCallback callback,
1852s # gpointer user_data)
1852s # {
1852s # 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);
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1852s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_finish (
1852s # GAsyncResult *res,
1852s # GError **error)
1852s # {
1852s # GObject *ret;
1852s # GObject *source_object;
1852s # source_object = g_async_result_get_source_object (res);
1852s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1852s # g_object_unref (source_object);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s # /**
1852s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1852s # * @bus_type: A #GBusType.
1852s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1852s # * @name: A bus name (well-known or unique).
1852s # * @object_path: An object path.
1852s # * @cancellable: (nullable): A #GCancellable or %NULL.
1852s # * @error: Return location for error or %NULL
1852s # *
1852s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1852s # *
1852s # * The calling thread is blocked until a reply is received.
1852s # *
1852s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1852s # *
1852s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1852s # */
1852s # OrgProjectSignalingIface *
1852s # org_project_signaling_iface_proxy_new_for_bus_sync (
1852s # GBusType bus_type,
1852s # GDBusProxyFlags flags,
1852s # const gchar *name,
1852s # const gchar *object_path,
1852s # GCancellable *cancellable,
1852s # GError **error)
1852s # {
1852s # GInitable *ret;
1852s # 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);
1852s # if (ret != NULL)
1852s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1852s # else
1852s # return NULL;
1852s # }
1852s #
1852s #
1852s # /* ------------------------------------------------------------------------ */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeleton:
1852s # *
1852s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1852s # */
1852s #
1852s # /**
1852s # * OrgProjectSignalingIfaceSkeletonClass:
1852s # * @parent_class: The parent class.
1852s # *
1852s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1852s # */
1852s #
1852s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1852s # {
1852s # GValue *properties;
1852s # GList *changed_properties;
1852s # GSource *changed_properties_idle_source;
1852s # GMainContext *context;
1852s # GMutex lock;
1852s # };
1852s #
1852s # static void
1852s # _org_project_signaling_iface_skeleton_handle_method_call (
1852s # GDBusConnection *connection G_GNUC_UNUSED,
1852s # const gchar *sender G_GNUC_UNUSED,
1852s # const gchar *object_path G_GNUC_UNUSED,
1852s # const gchar *interface_name,
1852s # const gchar *method_name,
1852s # GVariant *parameters,
1852s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
1853s # OrgProjectSignalingIface *object,
1853s # gdouble arg_arg_d)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
1853s # arg_arg_d));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmpkcwtx1e1.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpkcwtx1e1.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_s",
1853s # (gchar *) "s",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalS",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-s"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__STRING (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-s:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_s: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
1853s # g_signal_new ("single-arg-signal-s",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_STRING);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_s:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_s: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalS" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_s (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *arg_arg_s)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *arg_arg_s)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
1853s # arg_arg_s));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmpxo1e64as.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpxo1e64as.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_o",
1853s # (gchar *) "o",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalO",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-o"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__STRING (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-o:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_o: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
1853s # g_signal_new ("single-arg-signal-o",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_STRING);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_o:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_o: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalO" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_o (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *arg_arg_o)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *arg_arg_o)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
1853s # arg_arg_o));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmp_doh7kyh.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmp_doh7kyh.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_g",
1853s # (gchar *) "g",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalG",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-g"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__STRING (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-g:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_g: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
1853s # g_signal_new ("single-arg-signal-g",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_STRING);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_g:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_g: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalG" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_g (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *arg_arg_g)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *arg_arg_g)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
1853s # arg_arg_g));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmpn9v8j81a.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpn9v8j81a.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_h",
1853s # (gchar *) "h",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalH",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-h"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VARIANT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-h:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_h: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
1853s # g_signal_new ("single-arg-signal-h",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_VARIANT);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_h:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_h: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalH" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_h (
1853s # OrgProjectSignalingIface *object,
1853s # GVariant *arg_arg_h)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
1853s # OrgProjectSignalingIface *object,
1853s # GVariant *arg_arg_h)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
1853s # arg_arg_h));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmpk3068qjj.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmpk3068qjj.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_ay",
1853s # (gchar *) "ay",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalAy",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-ay"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__STRING (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-ay:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_ay: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
1853s # g_signal_new ("single-arg-signal-ay",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_STRING);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_ay:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_ay: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalAy" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_ay (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *arg_arg_ay)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *arg_arg_ay)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
1853s # arg_arg_ay));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmprspe56ws.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmprspe56ws.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_as",
1853s # (gchar *) "as",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalAs",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-as"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__BOXED (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-as:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_as: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
1853s # g_signal_new ("single-arg-signal-as",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_STRV);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_as:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_as: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalAs" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_as (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *const *arg_arg_as)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *const *arg_arg_as)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
1853s # arg_arg_as));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmp_omv5n2l.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmp_omv5n2l.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_ao",
1853s # (gchar *) "ao",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalAo",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-ao"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__BOXED (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-ao:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_ao: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
1853s # g_signal_new ("single-arg-signal-ao",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_STRV);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_ao:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_ao: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalAo" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_ao (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *const *arg_arg_ao)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *const *arg_arg_ao)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
1853s # arg_arg_ao));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmp73ieqpom.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmp73ieqpom.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_aay",
1853s # (gchar *) "aay",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalAay",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-aay"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__BOXED (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-aay:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_aay: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
1853s # g_signal_new ("single-arg-signal-aay",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_STRV);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_aay:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_aay: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalAay" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_aay (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *const *arg_arg_aay)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
1853s # OrgProjectSignalingIface *object,
1853s # const gchar *const *arg_arg_aay)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
1853s # arg_arg_aay));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s # /tmp/tmptx_q1uuf/tmp881mupfy.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx_q1uuf/tmp881mupfy.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "arg_asv",
1853s # (gchar *) "a{sv}",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SingleArgSignalAsv",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
1853s # NULL
1853s # },
1853s # "single-arg-signal-asv"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VARIANT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::single-arg-signal-asv:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_asv: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
1853s # g_signal_new ("single-arg-signal-asv",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
1853s # G_TYPE_NONE,
1853s # 1, G_TYPE_VARIANT);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_single_arg_signal_asv:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_arg_asv: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SingleArgSignalAsv" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_single_arg_signal_asv (
1853s # OrgProjectSignalingIface *object,
1853s # GVariant *arg_arg_asv)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
1853s # OrgProjectSignalingIface *object,
1853s # GVariant *arg_arg_asv)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
1853s # arg_arg_asv));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args
1853s # tmpdir: /tmp/tmptbtk0gu9
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmptbtk0gu9/tmpt_nuvxt5.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptbtk0gu9/tmpt_nuvxt5.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static void
1853s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1853s # GClosure *closure,
1853s # GValue *return_value G_GNUC_UNUSED,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint G_GNUC_UNUSED,
1853s # void *marshal_data)
1853s # {
1853s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1853s # (void *data1,
1853s # gboolean arg_an_b,
1853s # guchar arg_an_y,
1853s # gint16 arg_an_n,
1853s # guint16 arg_an_q,
1853s # gint arg_an_i,
1853s # guint arg_an_u,
1853s # gint64 arg_an_x,
1853s # guint64 arg_an_t,
1853s # gdouble arg_an_d,
1853s # const gchar *arg_an_s,
1853s # const gchar *arg_an_o,
1853s # const gchar *arg_an_g,
1853s # GVariant *arg_an_h,
1853s # const gchar *arg_an_ay,
1853s # const gchar *const *arg_an_as,
1853s # const gchar *const *arg_an_ao,
1853s # const gchar *const *arg_an_aay,
1853s # GVariant *arg_an_asv,
1853s # void *data2);
1853s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1853s # GCClosure *cc = (GCClosure*) closure;
1853s # void *data1, *data2;
1853s #
1853s # g_return_if_fail (n_param_values == 19);
1853s #
1853s # if (G_CCLOSURE_SWAP_DATA (closure))
1853s # {
1853s # data1 = closure->data;
1853s # data2 = g_value_peek_pointer (param_values + 0);
1853s # }
1853s # else
1853s # {
1853s # data1 = g_value_peek_pointer (param_values + 0);
1853s # data2 = closure->data;
1853s # }
1853s #
1853s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1853s # (marshal_data ? marshal_data : cc->callback);
1853s #
1853s # callback (data1,
1853s # g_marshal_value_peek_boolean (param_values + 1),
1853s # g_marshal_value_peek_uchar (param_values + 2),
1853s # g_marshal_value_peek_int (param_values + 3),
1853s # g_marshal_value_peek_uint (param_values + 4),
1853s # g_marshal_value_peek_int (param_values + 5),
1853s # g_marshal_value_peek_uint (param_values + 6),
1853s # g_marshal_value_peek_int64 (param_values + 7),
1853s # g_marshal_value_peek_uint64 (param_values + 8),
1853s # g_marshal_value_peek_double (param_values + 9),
1853s # g_marshal_value_peek_string (param_values + 10),
1853s # g_marshal_value_peek_string (param_values + 11),
1853s # g_marshal_value_peek_string (param_values + 12),
1853s # g_marshal_value_peek_variant (param_values + 13),
1853s # g_marshal_value_peek_string (param_values + 14),
1853s # g_marshal_value_peek_boxed (param_values + 15),
1853s # g_marshal_value_peek_boxed (param_values + 16),
1853s # g_marshal_value_peek_boxed (param_values + 17),
1853s # g_marshal_value_peek_variant (param_values + 18),
1853s # data2);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.SignalingIface
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectSignalingIface
1853s # * @title: OrgProjectSignalingIface
1853s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
1853s # };
1853s #
1853s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1853s #
1853s # /* ---- Introspection data for org.project.SignalingIface ---- */
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SimpleSignal",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "simple-signal"
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_b",
1853s # (gchar *) "b",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_y",
1853s # (gchar *) "y",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_n",
1853s # (gchar *) "n",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_q",
1853s # (gchar *) "q",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_i",
1853s # (gchar *) "i",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_u",
1853s # (gchar *) "u",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_x",
1853s # (gchar *) "x",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_t",
1853s # (gchar *) "t",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_d",
1853s # (gchar *) "d",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_s",
1853s # (gchar *) "s",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_o",
1853s # (gchar *) "o",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_g",
1853s # (gchar *) "g",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_h",
1853s # (gchar *) "h",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_ay",
1853s # (gchar *) "ay",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_as",
1853s # (gchar *) "as",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_ao",
1853s # (gchar *) "ao",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_aay",
1853s # (gchar *) "aay",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "an_asv",
1853s # (gchar *) "a{sv}",
1853s # NULL
1853s # },
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "SignalWithManyArgs",
1853s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
1853s # NULL
1853s # },
1853s # "signal-with-many-args"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1853s # {
1853s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1853s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.SignalingIface",
1853s # NULL,
1853s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-signaling-iface",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_signaling_iface_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_simple_signal (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceIface:
1853s # * @parent_iface: The parent interface.
1853s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
1853s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1853s # */
1853s #
1853s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * OrgProjectSignalingIface::simple-signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1853s # g_signal_new ("simple-signal",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_simple_signal,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /**
1853s # * OrgProjectSignalingIface::signal-with-many-args:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_an_b: Argument.
1853s # * @arg_an_y: Argument.
1853s # * @arg_an_n: Argument.
1853s # * @arg_an_q: Argument.
1853s # * @arg_an_i: Argument.
1853s # * @arg_an_u: Argument.
1853s # * @arg_an_x: Argument.
1853s # * @arg_an_t: Argument.
1853s # * @arg_an_d: Argument.
1853s # * @arg_an_s: Argument.
1853s # * @arg_an_o: Argument.
1853s # * @arg_an_g: Argument.
1853s # * @arg_an_h: Argument.
1853s # * @arg_an_ay: Argument.
1853s # * @arg_an_as: Argument.
1853s # * @arg_an_ao: Argument.
1853s # * @arg_an_aay: Argument.
1853s # * @arg_an_asv: Argument.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
1853s # g_signal_new ("signal-with-many-args",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
1853s # NULL,
1853s # NULL,
1853s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
1853s # G_TYPE_NONE,
1853s # 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);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_simple_signal:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # *
1853s # * Emits the "SimpleSignal" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_emit_signal_with_many_args:
1853s # * @object: A #OrgProjectSignalingIface.
1853s # * @arg_an_b: Argument to pass with the signal.
1853s # * @arg_an_y: Argument to pass with the signal.
1853s # * @arg_an_n: Argument to pass with the signal.
1853s # * @arg_an_q: Argument to pass with the signal.
1853s # * @arg_an_i: Argument to pass with the signal.
1853s # * @arg_an_u: Argument to pass with the signal.
1853s # * @arg_an_x: Argument to pass with the signal.
1853s # * @arg_an_t: Argument to pass with the signal.
1853s # * @arg_an_d: Argument to pass with the signal.
1853s # * @arg_an_s: Argument to pass with the signal.
1853s # * @arg_an_o: Argument to pass with the signal.
1853s # * @arg_an_g: Argument to pass with the signal.
1853s # * @arg_an_h: Argument to pass with the signal.
1853s # * @arg_an_ay: Argument to pass with the signal.
1853s # * @arg_an_as: Argument to pass with the signal.
1853s # * @arg_an_ao: Argument to pass with the signal.
1853s # * @arg_an_aay: Argument to pass with the signal.
1853s # * @arg_an_asv: Argument to pass with the signal.
1853s # *
1853s # * Emits the "SignalWithManyArgs" D-Bus signal.
1853s # */
1853s # void
1853s # org_project_signaling_iface_emit_signal_with_many_args (
1853s # OrgProjectSignalingIface *object,
1853s # gboolean arg_an_b,
1853s # guchar arg_an_y,
1853s # gint16 arg_an_n,
1853s # guint16 arg_an_q,
1853s # gint arg_an_i,
1853s # guint arg_an_u,
1853s # gint64 arg_an_x,
1853s # guint64 arg_an_t,
1853s # gdouble arg_an_d,
1853s # const gchar *arg_an_s,
1853s # const gchar *arg_an_o,
1853s # const gchar *arg_an_g,
1853s # GVariant *arg_an_h,
1853s # const gchar *arg_an_ay,
1853s # const gchar *const *arg_an_as,
1853s # const gchar *const *arg_an_ao,
1853s # const gchar *const *arg_an_aay,
1853s # GVariant *arg_an_asv)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxy:
1853s # *
1853s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceProxy.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1853s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1853s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_signaling_iface_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeleton:
1853s # *
1853s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectSignalingIfaceSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_signaling_iface_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_signaling_iface_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_signaling_iface_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1853s # {
1853s # _org_project_signaling_iface_skeleton_handle_method_call,
1853s # _org_project_signaling_iface_skeleton_handle_get_property,
1853s # _org_project_signaling_iface_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_signaling_iface_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_simple_signal (
1853s # OrgProjectSignalingIface *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void
1853s # _org_project_signaling_iface_on_signal_signal_with_many_args (
1853s # OrgProjectSignalingIface *object,
1853s # gboolean arg_an_b,
1853s # guchar arg_an_y,
1853s # gint16 arg_an_n,
1853s # guint16 arg_an_q,
1853s # gint arg_an_i,
1853s # guint arg_an_u,
1853s # gint64 arg_an_x,
1853s # guint64 arg_an_t,
1853s # gdouble arg_an_d,
1853s # const gchar *arg_an_s,
1853s # const gchar *arg_an_o,
1853s # const gchar *arg_an_g,
1853s # GVariant *arg_an_h,
1853s # const gchar *arg_an_ay,
1853s # const gchar *const *arg_an_as,
1853s # const gchar *const *arg_an_ao,
1853s # const gchar *const *arg_an_aay,
1853s # GVariant *arg_an_asv)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1853s # arg_an_b,
1853s # arg_an_y,
1853s # arg_an_n,
1853s # arg_an_q,
1853s # arg_an_i,
1853s # arg_an_u,
1853s # arg_an_x,
1853s # arg_an_t,
1853s # arg_an_d,
1853s # arg_an_s,
1853s # arg_an_o,
1853s # arg_an_g,
1853s # arg_an_h,
1853s # arg_an_ay,
1853s # arg_an_as,
1853s # arg_an_ao,
1853s # arg_an_aay,
1853s # arg_an_asv));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1853s # {
1853s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1853s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
1853s # }
1853s #
1853s # /**
1853s # * org_project_signaling_iface_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectSignalingIface *
1853s # org_project_signaling_iface_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1853s # }
1853s ok 25 __main__.TestCodegen.test_generate_valid_docbook
1853s # tmpdir: /tmp/tmpv6ltbexy
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpv6ltbexy/tmpb2za0hg3.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv6ltbexy/tmpb2za0hg3.xml', '--generate-docbook', 'test']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output:
1853s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required
1853s # tmpdir: /tmp/tmpj79b2jac
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpj79b2jac/tmpoixa_bmh.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj79b2jac/tmpoixa_bmh.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only
1853s # tmpdir: /tmp/tmpmiiyf_qm
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpmiiyf_qm/tmpspk1om43.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmiiyf_qm/tmpspk1om43.xml', '--output', '-', '--header', '--glib-max-allowed', '3']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low
1853s # tmpdir: /tmp/tmpvjw5ywjb
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpvjw5ywjb/tmp6cffvkl1.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvjw5ywjb/tmp6cffvkl1.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable
1853s # tmpdir: /tmp/tmpfruzl06x
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpfruzl06x/tmp_uuks5lg.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfruzl06x/tmp_uuks5lg.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro
1853s # tmpdir: /tmp/tmpx0u3z6cc
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpx0u3z6cc/tmpgogjuz7u.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx0u3z6cc/tmpgogjuz7u.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s ok 31 __main__.TestCodegen.test_glib_min_required_invalid
1853s # tmpdir: /tmp/tmphtnpqy4v
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmphtnpqy4v/tmppyono5n9.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphtnpqy4v/tmppyono5n9.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s ok 32 __main__.TestCodegen.test_glib_min_required_major_only
1853s # tmpdir: /tmp/tmpre9ukuwn
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpre9ukuwn/tmpcrbi262l.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpre9ukuwn/tmpcrbi262l.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s ok 33 __main__.TestCodegen.test_glib_min_required_too_low
1853s # tmpdir: /tmp/tmpdz_zof94
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpdz_zof94/tmp19syvioc.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdz_zof94/tmp19syvioc.xml', '--output', '-', '--body', '--glib-min-required', '2.6']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro
1853s # tmpdir: /tmp/tmpbf_v_32b
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpbf_v_32b/tmphie_y0x5.xml:
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbf_v_32b/tmphie_y0x5.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s ok 35 __main__.TestCodegen.test_help
1853s # tmpdir: /tmp/tmpc561sgy_
1853s # codegen: /usr/bin/gdbus-codegen
1853s # Running: ['/usr/bin/gdbus-codegen', '--help']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
1853s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
1853s # [--c-generate-autocleanup {none,objects,all}]
1853s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
1853s # [--generate-rst OUTFILES] [--pragma-once]
1853s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
1853s # [--glib-min-required VERSION]
1853s # [--glib-max-allowed VERSION]
1853s # [--symbol-decorator SYMBOL_DECORATOR]
1853s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
1853s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
1853s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body]
1853s # [--output FILE | --output-directory OUTDIR]
1853s # FILE [FILE ...]
1853s #
1853s # D-Bus code and documentation generator
1853s #
1853s # positional arguments:
1853s # FILE D-Bus introspection XML file
1853s #
1853s # options:
1853s # -h, --help show this help message and exit
1853s # --interface-prefix PREFIX
1853s # String to strip from D-Bus interface names for code
1853s # and docs
1853s # --c-namespace NAMESPACE
1853s # The namespace to use for generated C code
1853s # --c-generate-object-manager
1853s # Generate a GDBusObjectManagerClient subclass when
1853s # generating C code
1853s # --c-generate-autocleanup {none,objects,all}
1853s # Generate autocleanup support
1853s # --generate-docbook OUTFILES
1853s # Generate Docbook in OUTFILES-org.Project.IFace.xml
1853s # --generate-md OUTFILES
1853s # Generate Markdown in OUTFILES-org.Project.IFace.md
1853s # --generate-rst OUTFILES
1853s # Generate reStructuredText in OUTFILES-
1853s # org.Project.IFace.rst
1853s # --pragma-once Use "pragma once" as the inclusion guard
1853s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
1853s # Add annotation (may be used several times)
1853s # --glib-min-required VERSION
1853s # Minimum version of GLib to be supported by the
1853s # outputted code (default: 2.30)
1853s # --glib-max-allowed VERSION
1853s # Maximum version of GLib to be used by the outputted
1853s # code (default: current GLib version)
1853s # --symbol-decorator SYMBOL_DECORATOR
1853s # Macro used to decorate a symbol in the outputted
1853s # header, possibly to export symbols
1853s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER
1853s # Additional header required for decorator specified by
1853s # --symbol-decorator
1853s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
1853s # Additional define required for decorator specified by
1853s # --symbol-decorator
1853s # --generate-c-code OUTFILES
1853s # Generate C code in OUTFILES.[ch]
1853s # --header Generate C headers
1853s # --body Generate C code
1853s # --interface-info-header
1853s # Generate GDBusInterfaceInfo C header
1853s # --interface-info-body
1853s # Generate GDBusInterfaceInfo C code
1853s # --output FILE Write output into the specified file
1853s # --output-directory OUTDIR
1853s # Location to output generated files
1853s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments
1853s # tmpdir: /tmp/tmpalzh9ir7
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpalzh9ir7/tmpqdytif8x.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpalzh9ir7/tmpqdytif8x.xml', '--generate-rst', 'test']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output:
1853s # /tmp/tmpalzh9ir7/tmpyf_7vxjj.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpalzh9ir7/tmpyf_7vxjj.xml', '--generate-md', 'test']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output:
1853s # /tmp/tmpalzh9ir7/tmpjrw5vb78.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpalzh9ir7/tmpjrw5vb78.xml', '--generate-docbook', 'test']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output:
1853s ok 37 __main__.TestCodegen.test_no_args
1853s # tmpdir: /tmp/tmpkm83ydim
1853s # codegen: /usr/bin/gdbus-codegen
1853s # Running: ['/usr/bin/gdbus-codegen']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s ok 38 __main__.TestCodegen.test_reproducible
1853s # tmpdir: /tmp/tmph_apvb4s
1853s # codegen: /usr/bin/gdbus-codegen
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph_apvb4s/tmpznrvhcf41.xml', '/tmp/tmph_apvb4s/tmpy0fqc_r32.xml', '--output', '-', '--header']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s # /* Declarations for org.project.Bar.Frobnicator */
1853s #
1853s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
1853s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
1853s #
1853s # struct _OrgProjectBarFrobnicator;
1853s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
1853s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
1853s #
1853s # struct _OrgProjectBarFrobnicatorIface
1853s # {
1853s # GTypeInterface parent_iface;
1853s #
1853s # gboolean (*handle_random_method) (
1853s # OrgProjectBarFrobnicator *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # };
1853s #
1853s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
1853s #
1853s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
1853s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
1853s #
1853s #
1853s # /* D-Bus method call completion functions: */
1853s # void org_project_bar_frobnicator_complete_random_method (
1853s # OrgProjectBarFrobnicator *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s #
1853s #
1853s # /* D-Bus method calls: */
1853s # void org_project_bar_frobnicator_call_random_method (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean org_project_bar_frobnicator_call_random_method_finish (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean org_project_bar_frobnicator_call_random_method_sync (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1853s #
1853s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
1853s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
1853s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
1853s #
1853s # struct _OrgProjectBarFrobnicatorProxy
1853s # {
1853s # /*< private >*/
1853s # GDBusProxy parent_instance;
1853s # OrgProjectBarFrobnicatorProxyPrivate *priv;
1853s # };
1853s #
1853s # struct _OrgProjectBarFrobnicatorProxyClass
1853s # {
1853s # GDBusProxyClass parent_class;
1853s # };
1853s #
1853s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
1853s # #endif
1853s #
1853s # void org_project_bar_frobnicator_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void org_project_bar_frobnicator_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1853s #
1853s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
1853s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
1853s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
1853s #
1853s # struct _OrgProjectBarFrobnicatorSkeleton
1853s # {
1853s # /*< private >*/
1853s # GDBusInterfaceSkeleton parent_instance;
1853s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
1853s # };
1853s #
1853s # struct _OrgProjectBarFrobnicatorSkeletonClass
1853s # {
1853s # GDBusInterfaceSkeletonClass parent_class;
1853s # };
1853s #
1853s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
1853s # #endif
1853s #
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s # /* Declarations for com.acme.Coyote */
1853s #
1853s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
1853s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
1853s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
1853s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
1853s #
1853s # struct _ComAcmeCoyote;
1853s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
1853s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
1853s #
1853s # struct _ComAcmeCoyoteIface
1853s # {
1853s # GTypeInterface parent_iface;
1853s #
1853s #
1853s #
1853s # gboolean (*handle_attack) (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # gboolean (*handle_run) (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # gboolean (*handle_sleep) (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # const gchar * (*get_mood) (ComAcmeCoyote *object);
1853s #
1853s # void (*surprised) (
1853s # ComAcmeCoyote *object);
1853s #
1853s # };
1853s #
1853s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
1853s #
1853s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
1853s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
1853s #
1853s #
1853s # /* D-Bus method call completion functions: */
1853s # void com_acme_coyote_complete_run (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # void com_acme_coyote_complete_sleep (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # void com_acme_coyote_complete_attack (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s #
1853s #
1853s # /* D-Bus signal emissions functions: */
1853s # void com_acme_coyote_emit_surprised (
1853s # ComAcmeCoyote *object);
1853s #
1853s #
1853s #
1853s # /* D-Bus method calls: */
1853s # void com_acme_coyote_call_run (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean com_acme_coyote_call_run_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean com_acme_coyote_call_run_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void com_acme_coyote_call_sleep (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean com_acme_coyote_call_sleep_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean com_acme_coyote_call_sleep_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void com_acme_coyote_call_attack (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean com_acme_coyote_call_attack_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean com_acme_coyote_call_attack_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s #
1853s # /* D-Bus property accessors: */
1853s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
1853s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
1853s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
1853s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
1853s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1853s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1853s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
1853s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
1853s #
1853s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
1853s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
1853s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
1853s #
1853s # struct _ComAcmeCoyoteProxy
1853s # {
1853s # /*< private >*/
1853s # GDBusProxy parent_instance;
1853s # ComAcmeCoyoteProxyPrivate *priv;
1853s # };
1853s #
1853s # struct _ComAcmeCoyoteProxyClass
1853s # {
1853s # GDBusProxyClass parent_class;
1853s # };
1853s #
1853s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
1853s # #endif
1853s #
1853s # void com_acme_coyote_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void com_acme_coyote_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
1853s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
1853s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1853s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1853s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
1853s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
1853s #
1853s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
1853s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
1853s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
1853s #
1853s # struct _ComAcmeCoyoteSkeleton
1853s # {
1853s # /*< private >*/
1853s # GDBusInterfaceSkeleton parent_instance;
1853s # ComAcmeCoyoteSkeletonPrivate *priv;
1853s # };
1853s #
1853s # struct _ComAcmeCoyoteSkeletonClass
1853s # {
1853s # GDBusInterfaceSkeletonClass parent_class;
1853s # };
1853s #
1853s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
1853s # #endif
1853s #
1853s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph_apvb4s/tmpy0fqc_r32.xml', '/tmp/tmph_apvb4s/tmpznrvhcf41.xml', '--output', '-', '--header']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s # /* Declarations for org.project.Bar.Frobnicator */
1853s #
1853s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
1853s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
1853s #
1853s # struct _OrgProjectBarFrobnicator;
1853s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
1853s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
1853s #
1853s # struct _OrgProjectBarFrobnicatorIface
1853s # {
1853s # GTypeInterface parent_iface;
1853s #
1853s # gboolean (*handle_random_method) (
1853s # OrgProjectBarFrobnicator *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # };
1853s #
1853s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
1853s #
1853s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
1853s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
1853s #
1853s #
1853s # /* D-Bus method call completion functions: */
1853s # void org_project_bar_frobnicator_complete_random_method (
1853s # OrgProjectBarFrobnicator *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s #
1853s #
1853s # /* D-Bus method calls: */
1853s # void org_project_bar_frobnicator_call_random_method (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean org_project_bar_frobnicator_call_random_method_finish (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean org_project_bar_frobnicator_call_random_method_sync (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1853s #
1853s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
1853s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
1853s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
1853s #
1853s # struct _OrgProjectBarFrobnicatorProxy
1853s # {
1853s # /*< private >*/
1853s # GDBusProxy parent_instance;
1853s # OrgProjectBarFrobnicatorProxyPrivate *priv;
1853s # };
1853s #
1853s # struct _OrgProjectBarFrobnicatorProxyClass
1853s # {
1853s # GDBusProxyClass parent_class;
1853s # };
1853s #
1853s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
1853s # #endif
1853s #
1853s # void org_project_bar_frobnicator_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void org_project_bar_frobnicator_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1853s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1853s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1853s #
1853s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
1853s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
1853s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
1853s #
1853s # struct _OrgProjectBarFrobnicatorSkeleton
1853s # {
1853s # /*< private >*/
1853s # GDBusInterfaceSkeleton parent_instance;
1853s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
1853s # };
1853s #
1853s # struct _OrgProjectBarFrobnicatorSkeletonClass
1853s # {
1853s # GDBusInterfaceSkeletonClass parent_class;
1853s # };
1853s #
1853s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
1853s # #endif
1853s #
1853s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s # /* Declarations for com.acme.Coyote */
1853s #
1853s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
1853s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
1853s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
1853s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
1853s #
1853s # struct _ComAcmeCoyote;
1853s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
1853s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
1853s #
1853s # struct _ComAcmeCoyoteIface
1853s # {
1853s # GTypeInterface parent_iface;
1853s #
1853s #
1853s #
1853s # gboolean (*handle_attack) (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # gboolean (*handle_run) (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # gboolean (*handle_sleep) (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # const gchar * (*get_mood) (ComAcmeCoyote *object);
1853s #
1853s # void (*surprised) (
1853s # ComAcmeCoyote *object);
1853s #
1853s # };
1853s #
1853s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
1853s #
1853s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
1853s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
1853s #
1853s #
1853s # /* D-Bus method call completion functions: */
1853s # void com_acme_coyote_complete_run (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # void com_acme_coyote_complete_sleep (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s # void com_acme_coyote_complete_attack (
1853s # ComAcmeCoyote *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s #
1853s #
1853s # /* D-Bus signal emissions functions: */
1853s # void com_acme_coyote_emit_surprised (
1853s # ComAcmeCoyote *object);
1853s #
1853s #
1853s #
1853s # /* D-Bus method calls: */
1853s # void com_acme_coyote_call_run (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean com_acme_coyote_call_run_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean com_acme_coyote_call_run_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void com_acme_coyote_call_sleep (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean com_acme_coyote_call_sleep_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean com_acme_coyote_call_sleep_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void com_acme_coyote_call_attack (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean com_acme_coyote_call_attack_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean com_acme_coyote_call_attack_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s #
1853s # /* D-Bus property accessors: */
1853s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
1853s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
1853s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
1853s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
1853s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1853s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1853s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
1853s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
1853s #
1853s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
1853s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
1853s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
1853s #
1853s # struct _ComAcmeCoyoteProxy
1853s # {
1853s # /*< private >*/
1853s # GDBusProxy parent_instance;
1853s # ComAcmeCoyoteProxyPrivate *priv;
1853s # };
1853s #
1853s # struct _ComAcmeCoyoteProxyClass
1853s # {
1853s # GDBusProxyClass parent_class;
1853s # };
1853s #
1853s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
1853s # #endif
1853s #
1853s # void com_acme_coyote_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void com_acme_coyote_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
1853s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
1853s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1853s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1853s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
1853s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
1853s #
1853s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
1853s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
1853s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
1853s #
1853s # struct _ComAcmeCoyoteSkeleton
1853s # {
1853s # /*< private >*/
1853s # GDBusInterfaceSkeleton parent_instance;
1853s # ComAcmeCoyoteSkeletonPrivate *priv;
1853s # };
1853s #
1853s # struct _ComAcmeCoyoteSkeletonClass
1853s # {
1853s # GDBusInterfaceSkeletonClass parent_class;
1853s # };
1853s #
1853s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
1853s # #endif
1853s #
1853s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph_apvb4s/tmpznrvhcf41.xml', '/tmp/tmph_apvb4s/tmpy0fqc_r32.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static void
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint G_GNUC_UNUSED,
1853s # void *marshal_data)
1853s # {
1853s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1853s # (void *data1,
1853s # GDBusMethodInvocation *arg_method_invocation,
1853s # void *data2);
1853s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1853s # GCClosure *cc = (GCClosure*) closure;
1853s # void *data1, *data2;
1853s # gboolean v_return;
1853s #
1853s # g_return_if_fail (return_value != NULL);
1853s # g_return_if_fail (n_param_values == 2);
1853s #
1853s # if (G_CCLOSURE_SWAP_DATA (closure))
1853s # {
1853s # data1 = closure->data;
1853s # data2 = g_value_peek_pointer (param_values + 0);
1853s # }
1853s # else
1853s # {
1853s # data1 = g_value_peek_pointer (param_values + 0);
1853s # data2 = closure->data;
1853s # }
1853s #
1853s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1853s # (marshal_data ? marshal_data : cc->callback);
1853s #
1853s # v_return =
1853s # callback (data1,
1853s # g_marshal_value_peek_object (param_values + 1),
1853s # data2);
1853s #
1853s # g_value_set_boolean (return_value, v_return);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.Bar.Frobnicator
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectBarFrobnicator
1853s # * @title: OrgProjectBarFrobnicator
1853s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
1853s # */
1853s #
1853s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
1853s #
1853s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "RandomMethod",
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "handle-random-method",
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
1853s # {
1853s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.Bar.Frobnicator",
1853s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-bar-frobnicator",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_bar_frobnicator_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_bar_frobnicator_method_marshal_random_method (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicator:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorIface:
1853s # * @parent_iface: The parent interface.
1853s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
1853s # */
1853s #
1853s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
1853s # {
1853s # /* GObject signals for incoming D-Bus method calls: */
1853s # /**
1853s # * OrgProjectBarFrobnicator::handle-random-method:
1853s # * @object: A #OrgProjectBarFrobnicator.
1853s # * @invocation: A #GDBusMethodInvocation.
1853s # *
1853s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # g_signal_new ("handle-random-method",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
1853s # g_signal_accumulator_true_handled,
1853s # NULL,
1853s # org_project_bar_frobnicator_method_marshal_random_method,
1853s # G_TYPE_BOOLEAN,
1853s # 1,
1853s # G_TYPE_DBUS_METHOD_INVOCATION);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_call_random_method:
1853s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
1853s # */
1853s # void
1853s # org_project_bar_frobnicator_call_random_method (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1853s # "RandomMethod",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # callback,
1853s # user_data);
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_call_random_method_finish:
1853s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # org_project_bar_frobnicator_call_random_method_finish (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_call_random_method_sync:
1853s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # org_project_bar_frobnicator_call_random_method_sync (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1853s # "RandomMethod",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_complete_random_method:
1853s # * @object: A #OrgProjectBarFrobnicator.
1853s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1853s # *
1853s # * 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.
1853s # *
1853s # * This method will free @invocation, you cannot use it afterwards.
1853s # */
1853s # void
1853s # org_project_bar_frobnicator_complete_random_method (
1853s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
1853s # GDBusMethodInvocation *invocation)
1853s # {
1853s # g_dbus_method_invocation_return_value (invocation,
1853s # g_variant_new ("()"));
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorProxy:
1853s # *
1853s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectBarFrobnicatorProxy.
1853s # */
1853s #
1853s # struct _OrgProjectBarFrobnicatorProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
1853s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
1853s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_bar_frobnicator_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_bar_frobnicator_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorSkeleton:
1853s # *
1853s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_bar_frobnicator_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_bar_frobnicator_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_bar_frobnicator_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
1853s # {
1853s # _org_project_bar_frobnicator_skeleton_handle_method_call,
1853s # _org_project_bar_frobnicator_skeleton_handle_get_property,
1853s # _org_project_bar_frobnicator_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_bar_frobnicator_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface com.acme.Coyote
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:ComAcmeCoyote
1853s # * @title: ComAcmeCoyote
1853s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
1853s # *
1853s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _COM_ACME_COYOTE_SURPRISED,
1853s # };
1853s #
1853s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
1853s #
1853s # /* ---- Introspection data for com.acme.Coyote ---- */
1853s #
1853s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Run",
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "handle-run",
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Sleep",
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "handle-sleep",
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Attack",
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "handle-attack",
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
1853s # {
1853s # &_com_acme_coyote_method_info_run.parent_struct,
1853s # &_com_acme_coyote_method_info_sleep.parent_struct,
1853s # &_com_acme_coyote_method_info_attack.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Surprised",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "surprised"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
1853s # {
1853s # &_com_acme_coyote_signal_info_surprised.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Mood",
1853s # (gchar *) "s",
1853s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1853s # NULL
1853s # },
1853s # "mood",
1853s # FALSE,
1853s # TRUE
1853s # };
1853s #
1853s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
1853s # {
1853s # &_com_acme_coyote_property_info_mood.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "com.acme.Coyote",
1853s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
1853s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
1853s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
1853s # NULL
1853s # },
1853s # "com-acme-coyote",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * com_acme_coyote_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # com_acme_coyote_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
1853s # {
1853s # g_object_class_override_property (klass, property_id_begin++, "mood");
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # com_acme_coyote_signal_marshal_surprised (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # com_acme_coyote_method_marshal_run (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # com_acme_coyote_method_marshal_sleep (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # com_acme_coyote_method_marshal_attack (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * ComAcmeCoyote:
1853s # *
1853s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
1853s # */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteIface:
1853s # * @parent_iface: The parent interface.
1853s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
1853s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
1853s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
1853s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
1853s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
1853s # *
1853s # * Virtual table for the D-Bus interface com.acme.Coyote.
1853s # */
1853s #
1853s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
1853s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
1853s # {
1853s # /* GObject signals for incoming D-Bus method calls: */
1853s # /**
1853s # * ComAcmeCoyote::handle-run:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: A #GDBusMethodInvocation.
1853s # *
1853s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # g_signal_new ("handle-run",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
1853s # g_signal_accumulator_true_handled,
1853s # NULL,
1853s # com_acme_coyote_method_marshal_run,
1853s # G_TYPE_BOOLEAN,
1853s # 1,
1853s # G_TYPE_DBUS_METHOD_INVOCATION);
1853s #
1853s # /**
1853s # * ComAcmeCoyote::handle-sleep:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: A #GDBusMethodInvocation.
1853s # *
1853s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # g_signal_new ("handle-sleep",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
1853s # g_signal_accumulator_true_handled,
1853s # NULL,
1853s # com_acme_coyote_method_marshal_sleep,
1853s # G_TYPE_BOOLEAN,
1853s # 1,
1853s # G_TYPE_DBUS_METHOD_INVOCATION);
1853s #
1853s # /**
1853s # * ComAcmeCoyote::handle-attack:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: A #GDBusMethodInvocation.
1853s # *
1853s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # g_signal_new ("handle-attack",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
1853s # g_signal_accumulator_true_handled,
1853s # NULL,
1853s # com_acme_coyote_method_marshal_attack,
1853s # G_TYPE_BOOLEAN,
1853s # 1,
1853s # G_TYPE_DBUS_METHOD_INVOCATION);
1853s #
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * ComAcmeCoyote::surprised:
1853s # * @object: A #ComAcmeCoyote.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
1853s # g_signal_new ("surprised",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
1853s # NULL,
1853s # NULL,
1853s # com_acme_coyote_signal_marshal_surprised,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /* GObject properties for D-Bus properties: */
1853s # /**
1853s # * ComAcmeCoyote:mood:
1853s # *
1853s # * Represents the D-Bus property "Mood".
1853s # *
1853s # * 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.
1853s # */
1853s # g_object_interface_install_property (iface,
1853s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_get_mood: (skip)
1853s # * @object: A #ComAcmeCoyote.
1853s # *
1853s # * Gets the value of the "Mood" D-Bus property.
1853s # *
1853s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # const gchar *
1853s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
1853s # {
1853s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
1853s #
1853s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_dup_mood: (skip)
1853s # * @object: A #ComAcmeCoyote.
1853s # *
1853s # * Gets a copy of the "Mood" D-Bus property.
1853s # *
1853s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1853s # *
1853s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
1853s # */
1853s # gchar *
1853s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
1853s # {
1853s # gchar *value;
1853s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
1853s # return value;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_set_mood: (skip)
1853s # * @object: A #ComAcmeCoyote.
1853s # * @value: The value to set.
1853s # *
1853s # * Sets the "Mood" D-Bus property to @value.
1853s # *
1853s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1853s # */
1853s # void
1853s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
1853s # {
1853s # g_object_set (G_OBJECT (object), "mood", value, NULL);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_emit_surprised:
1853s # * @object: A #ComAcmeCoyote.
1853s # *
1853s # * Emits the "Surprised" D-Bus signal.
1853s # */
1853s # void
1853s # com_acme_coyote_emit_surprised (
1853s # ComAcmeCoyote *object)
1853s # {
1853s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_run:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously invokes the Run() D-Bus method on @proxy.
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
1853s # */
1853s # void
1853s # com_acme_coyote_call_run (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1853s # "Run",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # callback,
1853s # user_data);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_run_finish:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_call_run().
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_run_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_run_sync:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_run_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1853s # "Run",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_sleep:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
1853s # */
1853s # void
1853s # com_acme_coyote_call_sleep (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1853s # "Sleep",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # callback,
1853s # user_data);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_sleep_finish:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_call_sleep().
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_sleep_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_sleep_sync:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_sleep_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1853s # "Sleep",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_attack:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
1853s # */
1853s # void
1853s # com_acme_coyote_call_attack (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1853s # "Attack",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # callback,
1853s # user_data);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_attack_finish:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_call_attack().
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_attack_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_attack_sync:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_attack_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1853s # "Attack",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_complete_run:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1853s # *
1853s # * 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.
1853s # *
1853s # * This method will free @invocation, you cannot use it afterwards.
1853s # */
1853s # void
1853s # com_acme_coyote_complete_run (
1853s # ComAcmeCoyote *object G_GNUC_UNUSED,
1853s # GDBusMethodInvocation *invocation)
1853s # {
1853s # g_dbus_method_invocation_return_value (invocation,
1853s # g_variant_new ("()"));
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_complete_sleep:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1853s # *
1853s # * 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.
1853s # *
1853s # * This method will free @invocation, you cannot use it afterwards.
1853s # */
1853s # void
1853s # com_acme_coyote_complete_sleep (
1853s # ComAcmeCoyote *object G_GNUC_UNUSED,
1853s # GDBusMethodInvocation *invocation)
1853s # {
1853s # g_dbus_method_invocation_return_value (invocation,
1853s # g_variant_new ("()"));
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_complete_attack:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1853s # *
1853s # * 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.
1853s # *
1853s # * This method will free @invocation, you cannot use it afterwards.
1853s # */
1853s # void
1853s # com_acme_coyote_complete_attack (
1853s # ComAcmeCoyote *object G_GNUC_UNUSED,
1853s # GDBusMethodInvocation *invocation)
1853s # {
1853s # g_dbus_method_invocation_return_value (invocation,
1853s # g_variant_new ("()"));
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteProxy:
1853s # *
1853s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #ComAcmeCoyoteProxy.
1853s # */
1853s #
1853s # struct _ComAcmeCoyoteProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # com_acme_coyote_proxy_finalize (GObject *object)
1853s # {
1853s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_get_property (GObject *object,
1853s # guint prop_id,
1853s # GValue *value,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *variant;
1853s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1853s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1853s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1853s # if (info->use_gvariant)
1853s # {
1853s # g_value_set_variant (value, variant);
1853s # }
1853s # else
1853s # {
1853s # if (variant != NULL)
1853s # g_dbus_gvariant_to_gvalue (variant, value);
1853s # }
1853s # if (variant != NULL)
1853s # g_variant_unref (variant);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
1853s # GAsyncResult *res,
1853s # gpointer user_data)
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info = user_data;
1853s # GError *error;
1853s # GVariant *_ret;
1853s # error = NULL;
1853s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1853s # if (!_ret)
1853s # {
1853s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
1853s # info->parent_struct.name,
1853s # error->message, g_quark_to_string (error->domain), error->code);
1853s # g_error_free (error);
1853s # }
1853s # else
1853s # {
1853s # g_variant_unref (_ret);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_set_property (GObject *object,
1853s # guint prop_id,
1853s # const GValue *value,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *variant;
1853s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1853s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1853s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1853s # "org.freedesktop.DBus.Properties.Set",
1853s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1853s # g_variant_unref (variant);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static const gchar *
1853s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
1853s # {
1853s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1853s # GVariant *variant;
1853s # const gchar *value = NULL;
1853s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
1853s # if (variant != NULL)
1853s # {
1853s # value = g_variant_get_string (variant, NULL);
1853s # g_variant_unref (variant);
1853s # }
1853s # return value;
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
1853s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
1853s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
1853s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
1853s #
1853s # com_acme_coyote_override_properties (gobject_class, 1);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
1853s # {
1853s # iface->get_mood = com_acme_coyote_proxy_get_mood;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # com_acme_coyote_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return COM_ACME_COYOTE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return COM_ACME_COYOTE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # com_acme_coyote_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return COM_ACME_COYOTE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return COM_ACME_COYOTE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteSkeleton:
1853s # *
1853s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #ComAcmeCoyoteSkeleton.
1853s # */
1853s #
1853s # struct _ComAcmeCoyoteSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _com_acme_coyote_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _com_acme_coyote_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _com_acme_coyote_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
1853s # {
1853s # _com_acme_coyote_skeleton_handle_method_call,
1853s # _com_acme_coyote_skeleton_handle_get_property,
1853s # _com_acme_coyote_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return com_acme_coyote_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1853s # gboolean emit_changed = FALSE;
1853s #
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # {
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # skeleton->priv->changed_properties_idle_source = NULL;
1853s # emit_changed = TRUE;
1853s # }
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s #
1853s # if (emit_changed)
1853s # _com_acme_coyote_emit_changed (skeleton);
1853s # }
1853s #
1853s # static void
1853s # _com_acme_coyote_on_signal_surprised (
1853s # ComAcmeCoyote *object)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # com_acme_coyote_skeleton_finalize (GObject *object)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # guint n;
1853s # for (n = 0; n < 1; n++)
1853s # g_value_unset (&skeleton->priv->properties[n]);
1853s # g_free (skeleton->priv->properties);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_get_property (GObject *object,
1853s # guint prop_id,
1853s # GValue *value,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # }
1853s #
1853s # static gboolean
1853s # _com_acme_coyote_emit_changed (gpointer user_data)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1853s # GList *l;
1853s # GVariantBuilder builder;
1853s # GVariantBuilder invalidated_builder;
1853s # guint num_changes;
1853s #
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1853s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1853s # {
1853s # ChangedProperty *cp = l->data;
1853s # GVariant *variant;
1853s # const GValue *cur_value;
1853s #
1853s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1853s # if (!_g_value_equal (cur_value, &cp->orig_value))
1853s # {
1853s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1853s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1853s # g_variant_unref (variant);
1853s # num_changes++;
1853s # }
1853s # }
1853s # if (num_changes > 0)
1853s # {
1853s # GList *connections, *ll;
1853s # GVariant *signal_variant;
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
1853s # &builder, &invalidated_builder));
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s # for (ll = connections; ll != NULL; ll = ll->next)
1853s # {
1853s # GDBusConnection *connection = ll->data;
1853s #
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1853s # "org.freedesktop.DBus.Properties",
1853s # "PropertiesChanged",
1853s # signal_variant,
1853s # NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s # else
1853s # {
1853s # g_variant_builder_clear (&builder);
1853s # g_variant_builder_clear (&invalidated_builder);
1853s # }
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # skeleton->priv->changed_properties = NULL;
1853s # skeleton->priv->changed_properties_idle_source = NULL;
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # return FALSE;
1853s # }
1853s #
1853s # static void
1853s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1853s # {
1853s # ChangedProperty *cp;
1853s # GList *l;
1853s # cp = NULL;
1853s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1853s # {
1853s # ChangedProperty *i_cp = l->data;
1853s # if (i_cp->info == info)
1853s # {
1853s # cp = i_cp;
1853s # break;
1853s # }
1853s # }
1853s # if (cp == NULL)
1853s # {
1853s # cp = g_new0 (ChangedProperty, 1);
1853s # cp->prop_id = prop_id;
1853s # cp->info = info;
1853s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1853s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1853s # g_value_copy (orig_value, &cp->orig_value);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_notify (GObject *object,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # if (skeleton->priv->changed_properties != NULL &&
1853s # skeleton->priv->changed_properties_idle_source == NULL)
1853s # {
1853s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1853s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1853s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1853s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
1853s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1853s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1853s # }
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_set_property (GObject *object,
1853s # guint prop_id,
1853s # const GValue *value,
1853s # GParamSpec *pspec)
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1853s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # g_object_freeze_notify (object);
1853s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1853s # {
1853s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1853s # info->emits_changed_signal)
1853s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1853s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1853s # g_object_notify_by_pspec (object, pspec);
1853s # }
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # g_object_thaw_notify (object);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # skeleton->priv->properties = g_new0 (GValue, 1);
1853s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
1853s # }
1853s #
1853s # static const gchar *
1853s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # const gchar *value;
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # return value;
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
1853s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
1853s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
1853s # gobject_class->notify = com_acme_coyote_skeleton_notify;
1853s #
1853s #
1853s # com_acme_coyote_override_properties (gobject_class, 1);
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
1853s # {
1853s # iface->surprised = _com_acme_coyote_on_signal_surprised;
1853s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_skeleton_new (void)
1853s # {
1853s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
1853s # }
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph_apvb4s/tmpy0fqc_r32.xml', '/tmp/tmph_apvb4s/tmpznrvhcf41.xml', '--output', '-', '--body']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifdef HAVE_CONFIG_H
1853s # # include "config.h"
1853s # #endif
1853s #
1853s # #include
1853s # #ifdef G_OS_UNIX
1853s # # include
1853s # #endif
1853s #
1853s # #ifdef G_ENABLE_DEBUG
1853s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1853s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1853s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1853s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1853s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1853s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1853s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1853s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1853s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1853s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1853s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1853s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1853s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1853s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1853s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1853s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1853s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1853s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1853s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1853s # #else /* !G_ENABLE_DEBUG */
1853s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1853s # * Do not access GValues directly in your code. Instead, use the
1853s # * g_value_get_*() functions
1853s # */
1853s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1853s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1853s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1853s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1853s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1853s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1853s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1853s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1853s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1853s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1853s # #endif /* !G_ENABLE_DEBUG */
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusArgInfo parent_struct;
1853s # gboolean use_gvariant;
1853s # } _ExtendedGDBusArgInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusMethodInfo parent_struct;
1853s # const gchar *signal_name;
1853s # gboolean pass_fdlist;
1853s # } _ExtendedGDBusMethodInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusSignalInfo parent_struct;
1853s # const gchar *signal_name;
1853s # } _ExtendedGDBusSignalInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusPropertyInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # guint use_gvariant : 1;
1853s # guint emits_changed_signal : 1;
1853s # } _ExtendedGDBusPropertyInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # GDBusInterfaceInfo parent_struct;
1853s # const gchar *hyphen_name;
1853s # } _ExtendedGDBusInterfaceInfo;
1853s #
1853s # typedef struct
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # guint prop_id;
1853s # GValue orig_value; /* the value before the change */
1853s # } ChangedProperty;
1853s #
1853s # static void
1853s # _changed_property_free (ChangedProperty *data)
1853s # {
1853s # g_value_unset (&data->orig_value);
1853s # g_free (data);
1853s # }
1853s #
1853s # static gboolean
1853s # _g_strv_equal0 (gchar **a, gchar **b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # guint n;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # if (g_strv_length (a) != g_strv_length (b))
1853s # goto out;
1853s # for (n = 0; a[n] != NULL; n++)
1853s # if (g_strcmp0 (a[n], b[n]) != 0)
1853s # goto out;
1853s # ret = TRUE;
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _g_variant_equal0 (GVariant *a, GVariant *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # if (a == NULL && b == NULL)
1853s # {
1853s # ret = TRUE;
1853s # goto out;
1853s # }
1853s # if (a == NULL || b == NULL)
1853s # goto out;
1853s # ret = g_variant_equal (a, b);
1853s # out:
1853s # return ret;
1853s # }
1853s #
1853s # G_GNUC_UNUSED static gboolean
1853s # _g_value_equal (const GValue *a, const GValue *b)
1853s # {
1853s # gboolean ret = FALSE;
1853s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1853s # switch (G_VALUE_TYPE (a))
1853s # {
1853s # case G_TYPE_BOOLEAN:
1853s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1853s # break;
1853s # case G_TYPE_UCHAR:
1853s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1853s # break;
1853s # case G_TYPE_INT:
1853s # ret = (g_value_get_int (a) == g_value_get_int (b));
1853s # break;
1853s # case G_TYPE_UINT:
1853s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1853s # break;
1853s # case G_TYPE_INT64:
1853s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1853s # break;
1853s # case G_TYPE_UINT64:
1853s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1853s # break;
1853s # case G_TYPE_DOUBLE:
1853s # {
1853s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1853s # gdouble da = g_value_get_double (a);
1853s # gdouble db = g_value_get_double (b);
1853s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1853s # }
1853s # break;
1853s # case G_TYPE_STRING:
1853s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1853s # break;
1853s # case G_TYPE_VARIANT:
1853s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1853s # break;
1853s # default:
1853s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1853s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1853s # else
1853s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1853s # break;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static void
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint G_GNUC_UNUSED,
1853s # void *marshal_data)
1853s # {
1853s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1853s # (void *data1,
1853s # GDBusMethodInvocation *arg_method_invocation,
1853s # void *data2);
1853s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1853s # GCClosure *cc = (GCClosure*) closure;
1853s # void *data1, *data2;
1853s # gboolean v_return;
1853s #
1853s # g_return_if_fail (return_value != NULL);
1853s # g_return_if_fail (n_param_values == 2);
1853s #
1853s # if (G_CCLOSURE_SWAP_DATA (closure))
1853s # {
1853s # data1 = closure->data;
1853s # data2 = g_value_peek_pointer (param_values + 0);
1853s # }
1853s # else
1853s # {
1853s # data1 = g_value_peek_pointer (param_values + 0);
1853s # data2 = closure->data;
1853s # }
1853s #
1853s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1853s # (marshal_data ? marshal_data : cc->callback);
1853s #
1853s # v_return =
1853s # callback (data1,
1853s # g_marshal_value_peek_object (param_values + 1),
1853s # data2);
1853s #
1853s # g_value_set_boolean (return_value, v_return);
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface org.project.Bar.Frobnicator
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:OrgProjectBarFrobnicator
1853s # * @title: OrgProjectBarFrobnicator
1853s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
1853s # *
1853s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
1853s # */
1853s #
1853s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
1853s #
1853s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "RandomMethod",
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "handle-random-method",
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
1853s # {
1853s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "org.project.Bar.Frobnicator",
1853s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "org-project-bar-frobnicator",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # org_project_bar_frobnicator_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1853s # {
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # org_project_bar_frobnicator_method_marshal_random_method (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicator:
1853s # *
1853s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorIface:
1853s # * @parent_iface: The parent interface.
1853s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
1853s # *
1853s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
1853s # */
1853s #
1853s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
1853s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
1853s # {
1853s # /* GObject signals for incoming D-Bus method calls: */
1853s # /**
1853s # * OrgProjectBarFrobnicator::handle-random-method:
1853s # * @object: A #OrgProjectBarFrobnicator.
1853s # * @invocation: A #GDBusMethodInvocation.
1853s # *
1853s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # g_signal_new ("handle-random-method",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
1853s # g_signal_accumulator_true_handled,
1853s # NULL,
1853s # org_project_bar_frobnicator_method_marshal_random_method,
1853s # G_TYPE_BOOLEAN,
1853s # 1,
1853s # G_TYPE_DBUS_METHOD_INVOCATION);
1853s #
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_call_random_method:
1853s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
1853s # */
1853s # void
1853s # org_project_bar_frobnicator_call_random_method (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1853s # "RandomMethod",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # callback,
1853s # user_data);
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_call_random_method_finish:
1853s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # org_project_bar_frobnicator_call_random_method_finish (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_call_random_method_sync:
1853s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # org_project_bar_frobnicator_call_random_method_sync (
1853s # OrgProjectBarFrobnicator *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1853s # "RandomMethod",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_complete_random_method:
1853s # * @object: A #OrgProjectBarFrobnicator.
1853s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1853s # *
1853s # * 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.
1853s # *
1853s # * This method will free @invocation, you cannot use it afterwards.
1853s # */
1853s # void
1853s # org_project_bar_frobnicator_complete_random_method (
1853s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
1853s # GDBusMethodInvocation *invocation)
1853s # {
1853s # g_dbus_method_invocation_return_value (invocation,
1853s # g_variant_new ("()"));
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorProxy:
1853s # *
1853s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectBarFrobnicatorProxy.
1853s # */
1853s #
1853s # struct _OrgProjectBarFrobnicatorProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
1853s # {
1853s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
1853s # guint prop_id G_GNUC_UNUSED,
1853s # const GValue *value G_GNUC_UNUSED,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
1853s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
1853s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
1853s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_bar_frobnicator_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # org_project_bar_frobnicator_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorSkeleton:
1853s # *
1853s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * OrgProjectBarFrobnicatorSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
1853s # */
1853s #
1853s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _org_project_bar_frobnicator_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _org_project_bar_frobnicator_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _org_project_bar_frobnicator_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
1853s # {
1853s # _org_project_bar_frobnicator_skeleton_handle_method_call,
1853s # _org_project_bar_frobnicator_skeleton_handle_get_property,
1853s # _org_project_bar_frobnicator_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return org_project_bar_frobnicator_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
1853s # {
1853s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1853s # {
1853s # }
1853s #
1853s # /**
1853s # * org_project_bar_frobnicator_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
1853s # *
1853s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
1853s # */
1853s # OrgProjectBarFrobnicator *
1853s # org_project_bar_frobnicator_skeleton_new (void)
1853s # {
1853s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------
1853s # * Code for interface com.acme.Coyote
1853s # * ------------------------------------------------------------------------
1853s # */
1853s #
1853s # /**
1853s # * SECTION:ComAcmeCoyote
1853s # * @title: ComAcmeCoyote
1853s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
1853s # *
1853s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
1853s # */
1853s #
1853s # enum
1853s # {
1853s # _COM_ACME_COYOTE_SURPRISED,
1853s # };
1853s #
1853s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
1853s #
1853s # /* ---- Introspection data for com.acme.Coyote ---- */
1853s #
1853s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Run",
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "handle-run",
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Sleep",
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "handle-sleep",
1853s # FALSE
1853s # };
1853s #
1853s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Attack",
1853s # NULL,
1853s # NULL,
1853s # NULL
1853s # },
1853s # "handle-attack",
1853s # FALSE
1853s # };
1853s #
1853s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
1853s # {
1853s # &_com_acme_coyote_method_info_run.parent_struct,
1853s # &_com_acme_coyote_method_info_sleep.parent_struct,
1853s # &_com_acme_coyote_method_info_attack.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Surprised",
1853s # NULL,
1853s # NULL
1853s # },
1853s # "surprised"
1853s # };
1853s #
1853s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
1853s # {
1853s # &_com_acme_coyote_signal_info_surprised.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "Mood",
1853s # (gchar *) "s",
1853s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1853s # NULL
1853s # },
1853s # "mood",
1853s # FALSE,
1853s # TRUE
1853s # };
1853s #
1853s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
1853s # {
1853s # &_com_acme_coyote_property_info_mood.parent_struct,
1853s # NULL
1853s # };
1853s #
1853s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
1853s # {
1853s # {
1853s # -1,
1853s # (gchar *) "com.acme.Coyote",
1853s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
1853s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
1853s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
1853s # NULL
1853s # },
1853s # "com-acme-coyote",
1853s # };
1853s #
1853s #
1853s # /**
1853s # * com_acme_coyote_interface_info:
1853s # *
1853s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
1853s # *
1853s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1853s # */
1853s # GDBusInterfaceInfo *
1853s # com_acme_coyote_interface_info (void)
1853s # {
1853s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_override_properties:
1853s # * @klass: The class structure for a #GObject derived class.
1853s # * @property_id_begin: The property id to assign to the first overridden property.
1853s # *
1853s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
1853s # * The properties are overridden in the order they are defined.
1853s # *
1853s # * Returns: The last property id.
1853s # */
1853s # guint
1853s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
1853s # {
1853s # g_object_class_override_property (klass, property_id_begin++, "mood");
1853s # return property_id_begin - 1;
1853s # }
1853s #
1853s #
1853s # inline static void
1853s # com_acme_coyote_signal_marshal_surprised (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # g_cclosure_marshal_VOID__VOID (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # com_acme_coyote_method_marshal_run (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # com_acme_coyote_method_marshal_sleep (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s # inline static void
1853s # com_acme_coyote_method_marshal_attack (
1853s # GClosure *closure,
1853s # GValue *return_value,
1853s # unsigned int n_param_values,
1853s # const GValue *param_values,
1853s # void *invocation_hint,
1853s # void *marshal_data)
1853s # {
1853s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1853s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1853s # }
1853s #
1853s #
1853s # /**
1853s # * ComAcmeCoyote:
1853s # *
1853s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
1853s # */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteIface:
1853s # * @parent_iface: The parent interface.
1853s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
1853s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
1853s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
1853s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
1853s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
1853s # *
1853s # * Virtual table for the D-Bus interface com.acme.Coyote.
1853s # */
1853s #
1853s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
1853s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
1853s #
1853s # static void
1853s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
1853s # {
1853s # /* GObject signals for incoming D-Bus method calls: */
1853s # /**
1853s # * ComAcmeCoyote::handle-run:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: A #GDBusMethodInvocation.
1853s # *
1853s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # g_signal_new ("handle-run",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
1853s # g_signal_accumulator_true_handled,
1853s # NULL,
1853s # com_acme_coyote_method_marshal_run,
1853s # G_TYPE_BOOLEAN,
1853s # 1,
1853s # G_TYPE_DBUS_METHOD_INVOCATION);
1853s #
1853s # /**
1853s # * ComAcmeCoyote::handle-sleep:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: A #GDBusMethodInvocation.
1853s # *
1853s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # g_signal_new ("handle-sleep",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
1853s # g_signal_accumulator_true_handled,
1853s # NULL,
1853s # com_acme_coyote_method_marshal_sleep,
1853s # G_TYPE_BOOLEAN,
1853s # 1,
1853s # G_TYPE_DBUS_METHOD_INVOCATION);
1853s #
1853s # /**
1853s # * ComAcmeCoyote::handle-attack:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: A #GDBusMethodInvocation.
1853s # *
1853s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # g_signal_new ("handle-attack",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
1853s # g_signal_accumulator_true_handled,
1853s # NULL,
1853s # com_acme_coyote_method_marshal_attack,
1853s # G_TYPE_BOOLEAN,
1853s # 1,
1853s # G_TYPE_DBUS_METHOD_INVOCATION);
1853s #
1853s # /* GObject signals for received D-Bus signals: */
1853s # /**
1853s # * ComAcmeCoyote::surprised:
1853s # * @object: A #ComAcmeCoyote.
1853s # *
1853s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
1853s # *
1853s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1853s # */
1853s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
1853s # g_signal_new ("surprised",
1853s # G_TYPE_FROM_INTERFACE (iface),
1853s # G_SIGNAL_RUN_LAST,
1853s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
1853s # NULL,
1853s # NULL,
1853s # com_acme_coyote_signal_marshal_surprised,
1853s # G_TYPE_NONE,
1853s # 0);
1853s #
1853s # /* GObject properties for D-Bus properties: */
1853s # /**
1853s # * ComAcmeCoyote:mood:
1853s # *
1853s # * Represents the D-Bus property "Mood".
1853s # *
1853s # * 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.
1853s # */
1853s # g_object_interface_install_property (iface,
1853s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_get_mood: (skip)
1853s # * @object: A #ComAcmeCoyote.
1853s # *
1853s # * Gets the value of the "Mood" D-Bus property.
1853s # *
1853s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1853s # *
1853s # * 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.
1853s # *
1853s # * 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.
1853s # */
1853s # const gchar *
1853s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
1853s # {
1853s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
1853s #
1853s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_dup_mood: (skip)
1853s # * @object: A #ComAcmeCoyote.
1853s # *
1853s # * Gets a copy of the "Mood" D-Bus property.
1853s # *
1853s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1853s # *
1853s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
1853s # */
1853s # gchar *
1853s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
1853s # {
1853s # gchar *value;
1853s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
1853s # return value;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_set_mood: (skip)
1853s # * @object: A #ComAcmeCoyote.
1853s # * @value: The value to set.
1853s # *
1853s # * Sets the "Mood" D-Bus property to @value.
1853s # *
1853s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1853s # */
1853s # void
1853s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
1853s # {
1853s # g_object_set (G_OBJECT (object), "mood", value, NULL);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_emit_surprised:
1853s # * @object: A #ComAcmeCoyote.
1853s # *
1853s # * Emits the "Surprised" D-Bus signal.
1853s # */
1853s # void
1853s # com_acme_coyote_emit_surprised (
1853s # ComAcmeCoyote *object)
1853s # {
1853s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_run:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously invokes the Run() D-Bus method on @proxy.
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
1853s # */
1853s # void
1853s # com_acme_coyote_call_run (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1853s # "Run",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # callback,
1853s # user_data);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_run_finish:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_call_run().
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_run_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_run_sync:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_run_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1853s # "Run",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_sleep:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
1853s # */
1853s # void
1853s # com_acme_coyote_call_sleep (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1853s # "Sleep",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # callback,
1853s # user_data);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_sleep_finish:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_call_sleep().
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_sleep_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_sleep_sync:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_sleep_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1853s # "Sleep",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_attack:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
1853s # */
1853s # void
1853s # com_acme_coyote_call_attack (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1853s # "Attack",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # callback,
1853s # user_data);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_attack_finish:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_call_attack().
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_attack_finish (
1853s # ComAcmeCoyote *proxy,
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_call_attack_sync:
1853s # * @proxy: A #ComAcmeCoyoteProxy.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL.
1853s # *
1853s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
1853s # *
1853s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1853s # */
1853s # gboolean
1853s # com_acme_coyote_call_attack_sync (
1853s # ComAcmeCoyote *proxy,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GVariant *_ret;
1853s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1853s # "Attack",
1853s # g_variant_new ("()"),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # cancellable,
1853s # error);
1853s # if (_ret == NULL)
1853s # goto _out;
1853s # g_variant_get (_ret,
1853s # "()");
1853s # g_variant_unref (_ret);
1853s # _out:
1853s # return _ret != NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_complete_run:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1853s # *
1853s # * 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.
1853s # *
1853s # * This method will free @invocation, you cannot use it afterwards.
1853s # */
1853s # void
1853s # com_acme_coyote_complete_run (
1853s # ComAcmeCoyote *object G_GNUC_UNUSED,
1853s # GDBusMethodInvocation *invocation)
1853s # {
1853s # g_dbus_method_invocation_return_value (invocation,
1853s # g_variant_new ("()"));
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_complete_sleep:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1853s # *
1853s # * 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.
1853s # *
1853s # * This method will free @invocation, you cannot use it afterwards.
1853s # */
1853s # void
1853s # com_acme_coyote_complete_sleep (
1853s # ComAcmeCoyote *object G_GNUC_UNUSED,
1853s # GDBusMethodInvocation *invocation)
1853s # {
1853s # g_dbus_method_invocation_return_value (invocation,
1853s # g_variant_new ("()"));
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_complete_attack:
1853s # * @object: A #ComAcmeCoyote.
1853s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1853s # *
1853s # * 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.
1853s # *
1853s # * This method will free @invocation, you cannot use it afterwards.
1853s # */
1853s # void
1853s # com_acme_coyote_complete_attack (
1853s # ComAcmeCoyote *object G_GNUC_UNUSED,
1853s # GDBusMethodInvocation *invocation)
1853s # {
1853s # g_dbus_method_invocation_return_value (invocation,
1853s # g_variant_new ("()"));
1853s # }
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteProxy:
1853s # *
1853s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteProxyClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #ComAcmeCoyoteProxy.
1853s # */
1853s #
1853s # struct _ComAcmeCoyoteProxyPrivate
1853s # {
1853s # GData *qdata;
1853s # };
1853s #
1853s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1853s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
1853s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1853s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # com_acme_coyote_proxy_finalize (GObject *object)
1853s # {
1853s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1853s # g_datalist_clear (&proxy->priv->qdata);
1853s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_get_property (GObject *object,
1853s # guint prop_id,
1853s # GValue *value,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *variant;
1853s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1853s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1853s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1853s # if (info->use_gvariant)
1853s # {
1853s # g_value_set_variant (value, variant);
1853s # }
1853s # else
1853s # {
1853s # if (variant != NULL)
1853s # g_dbus_gvariant_to_gvalue (variant, value);
1853s # }
1853s # if (variant != NULL)
1853s # g_variant_unref (variant);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
1853s # GAsyncResult *res,
1853s # gpointer user_data)
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info = user_data;
1853s # GError *error;
1853s # GVariant *_ret;
1853s # error = NULL;
1853s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1853s # if (!_ret)
1853s # {
1853s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
1853s # info->parent_struct.name,
1853s # error->message, g_quark_to_string (error->domain), error->code);
1853s # g_error_free (error);
1853s # }
1853s # else
1853s # {
1853s # g_variant_unref (_ret);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_set_property (GObject *object,
1853s # guint prop_id,
1853s # const GValue *value,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *variant;
1853s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1853s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1853s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1853s # "org.freedesktop.DBus.Properties.Set",
1853s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
1853s # G_DBUS_CALL_FLAGS_NONE,
1853s # -1,
1853s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1853s # g_variant_unref (variant);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
1853s # const gchar *sender_name G_GNUC_UNUSED,
1853s # const gchar *signal_name,
1853s # GVariant *parameters)
1853s # {
1853s # _ExtendedGDBusSignalInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # gsize n;
1853s # guint signal_id;
1853s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
1853s # if (info == NULL)
1853s # return;
1853s # num_params = g_variant_n_children (parameters);
1853s # paramv = g_new0 (GValue, num_params + 1);
1853s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
1853s # g_value_set_object (¶mv[0], proxy);
1853s # g_variant_iter_init (&iter, parameters);
1853s # n = 1;
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1853s # g_signal_emitv (paramv, signal_id, 0, NULL);
1853s # for (n = 0; n < num_params + 1; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
1853s # GVariant *changed_properties,
1853s # const gchar *const *invalidated_properties)
1853s # {
1853s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
1853s # guint n;
1853s # const gchar *key;
1853s # GVariantIter *iter;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # g_variant_get (changed_properties, "a{sv}", &iter);
1853s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
1853s # g_datalist_remove_data (&proxy->priv->qdata, key);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # g_variant_iter_free (iter);
1853s # for (n = 0; invalidated_properties[n] != NULL; n++)
1853s # {
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
1853s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1853s # if (info != NULL)
1853s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1853s # }
1853s # }
1853s #
1853s # static const gchar *
1853s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
1853s # {
1853s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1853s # GVariant *variant;
1853s # const gchar *value = NULL;
1853s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
1853s # if (variant != NULL)
1853s # {
1853s # value = g_variant_get_string (variant, NULL);
1853s # g_variant_unref (variant);
1853s # }
1853s # return value;
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
1853s # #else
1853s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
1853s # #endif
1853s #
1853s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusProxyClass *proxy_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
1853s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
1853s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
1853s #
1853s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1853s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
1853s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
1853s #
1853s # com_acme_coyote_override_properties (gobject_class, 1);
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
1853s # {
1853s # iface->get_mood = com_acme_coyote_proxy_get_mood;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # com_acme_coyote_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_proxy_new().
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return COM_ACME_COYOTE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_sync:
1853s # * @connection: A #GDBusConnection.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return COM_ACME_COYOTE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_for_bus:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1853s # * @user_data: User data to pass to @callback.
1853s # *
1853s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1853s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
1853s # *
1853s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1853s # */
1853s # void
1853s # com_acme_coyote_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data)
1853s # {
1853s # 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);
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_for_bus_finish:
1853s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error)
1853s # {
1853s # GObject *ret;
1853s # GObject *source_object;
1853s # source_object = g_async_result_get_source_object (res);
1853s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1853s # g_object_unref (source_object);
1853s # if (ret != NULL)
1853s # return COM_ACME_COYOTE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_proxy_new_for_bus_sync:
1853s # * @bus_type: A #GBusType.
1853s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1853s # * @name: A bus name (well-known or unique).
1853s # * @object_path: An object path.
1853s # * @cancellable: (nullable): A #GCancellable or %NULL.
1853s # * @error: Return location for error or %NULL
1853s # *
1853s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1853s # *
1853s # * The calling thread is blocked until a reply is received.
1853s # *
1853s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error)
1853s # {
1853s # GInitable *ret;
1853s # 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);
1853s # if (ret != NULL)
1853s # return COM_ACME_COYOTE (ret);
1853s # else
1853s # return NULL;
1853s # }
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteSkeleton:
1853s # *
1853s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
1853s # */
1853s #
1853s # /**
1853s # * ComAcmeCoyoteSkeletonClass:
1853s # * @parent_class: The parent class.
1853s # *
1853s # * Class structure for #ComAcmeCoyoteSkeleton.
1853s # */
1853s #
1853s # struct _ComAcmeCoyoteSkeletonPrivate
1853s # {
1853s # GValue *properties;
1853s # GList *changed_properties;
1853s # GSource *changed_properties_idle_source;
1853s # GMainContext *context;
1853s # GMutex lock;
1853s # };
1853s #
1853s # static void
1853s # _com_acme_coyote_skeleton_handle_method_call (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name,
1853s # const gchar *method_name,
1853s # GVariant *parameters,
1853s # GDBusMethodInvocation *invocation,
1853s # gpointer user_data)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1853s # _ExtendedGDBusMethodInfo *info;
1853s # GVariantIter iter;
1853s # GVariant *child;
1853s # GValue *paramv;
1853s # gsize num_params;
1853s # guint num_extra;
1853s # gsize n;
1853s # guint signal_id;
1853s # GValue return_value = G_VALUE_INIT;
1853s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1853s # g_assert (info != NULL);
1853s # num_params = g_variant_n_children (parameters);
1853s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1853s # n = 0;
1853s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
1853s # g_value_set_object (¶mv[n++], skeleton);
1853s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1853s # g_value_set_object (¶mv[n++], invocation);
1853s # if (info->pass_fdlist)
1853s # {
1853s # #ifdef G_OS_UNIX
1853s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1853s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1853s # #else
1853s # g_assert_not_reached ();
1853s # #endif
1853s # }
1853s # g_variant_iter_init (&iter, parameters);
1853s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1853s # {
1853s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1853s # if (arg_info->use_gvariant)
1853s # {
1853s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1853s # g_value_set_variant (¶mv[n], child);
1853s # n++;
1853s # }
1853s # else
1853s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1853s # g_variant_unref (child);
1853s # }
1853s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1853s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1853s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1853s # if (!g_value_get_boolean (&return_value))
1853s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1853s # g_value_unset (&return_value);
1853s # for (n = 0; n < num_params + num_extra; n++)
1853s # g_value_unset (¶mv[n]);
1853s # g_free (paramv);
1853s # }
1853s #
1853s # static GVariant *
1853s # _com_acme_coyote_skeleton_handle_get_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # GVariant *ret;
1853s # ret = NULL;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # g_value_init (&value, pspec->value_type);
1853s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1853s # g_value_unset (&value);
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static gboolean
1853s # _com_acme_coyote_skeleton_handle_set_property (
1853s # GDBusConnection *connection G_GNUC_UNUSED,
1853s # const gchar *sender G_GNUC_UNUSED,
1853s # const gchar *object_path G_GNUC_UNUSED,
1853s # const gchar *interface_name G_GNUC_UNUSED,
1853s # const gchar *property_name,
1853s # GVariant *variant,
1853s # GError **error,
1853s # gpointer user_data)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1853s # GValue value = G_VALUE_INIT;
1853s # GParamSpec *pspec;
1853s # _ExtendedGDBusPropertyInfo *info;
1853s # gboolean ret;
1853s # ret = FALSE;
1853s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1853s # g_assert (info != NULL);
1853s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1853s # if (pspec == NULL)
1853s # {
1853s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1853s # }
1853s # else
1853s # {
1853s # if (info->use_gvariant)
1853s # g_value_set_variant (&value, variant);
1853s # else
1853s # g_dbus_gvariant_to_gvalue (variant, &value);
1853s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1853s # g_value_unset (&value);
1853s # ret = TRUE;
1853s # }
1853s # return ret;
1853s # }
1853s #
1853s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
1853s # {
1853s # _com_acme_coyote_skeleton_handle_method_call,
1853s # _com_acme_coyote_skeleton_handle_get_property,
1853s # _com_acme_coyote_skeleton_handle_set_property,
1853s # {NULL}
1853s # };
1853s #
1853s # static GDBusInterfaceInfo *
1853s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return com_acme_coyote_interface_info ();
1853s # }
1853s #
1853s # static GDBusInterfaceVTable *
1853s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1853s # {
1853s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
1853s # }
1853s #
1853s # static GVariant *
1853s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1853s #
1853s # GVariantBuilder builder;
1853s # guint n;
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
1853s # goto out;
1853s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
1853s # {
1853s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
1853s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1853s # {
1853s # GVariant *value;
1853s # 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);
1853s # if (value != NULL)
1853s # {
1853s # g_variant_take_ref (value);
1853s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1853s # g_variant_unref (value);
1853s # }
1853s # }
1853s # }
1853s # out:
1853s # return g_variant_builder_end (&builder);
1853s # }
1853s #
1853s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1853s # gboolean emit_changed = FALSE;
1853s #
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # {
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # skeleton->priv->changed_properties_idle_source = NULL;
1853s # emit_changed = TRUE;
1853s # }
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s #
1853s # if (emit_changed)
1853s # _com_acme_coyote_emit_changed (skeleton);
1853s # }
1853s #
1853s # static void
1853s # _com_acme_coyote_on_signal_surprised (
1853s # ComAcmeCoyote *object)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s #
1853s # GList *connections, *l;
1853s # GVariant *signal_variant;
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s #
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1853s # for (l = connections; l != NULL; l = l->next)
1853s # {
1853s # GDBusConnection *connection = l->data;
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
1853s # signal_variant, NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s #
1853s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
1853s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1853s #
1853s # #else
1853s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1853s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1853s #
1853s # #endif
1853s # static void
1853s # com_acme_coyote_skeleton_finalize (GObject *object)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # guint n;
1853s # for (n = 0; n < 1; n++)
1853s # g_value_unset (&skeleton->priv->properties[n]);
1853s # g_free (skeleton->priv->properties);
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # if (skeleton->priv->changed_properties_idle_source != NULL)
1853s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1853s # g_main_context_unref (skeleton->priv->context);
1853s # g_mutex_clear (&skeleton->priv->lock);
1853s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_get_property (GObject *object,
1853s # guint prop_id,
1853s # GValue *value,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # }
1853s #
1853s # static gboolean
1853s # _com_acme_coyote_emit_changed (gpointer user_data)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1853s # GList *l;
1853s # GVariantBuilder builder;
1853s # GVariantBuilder invalidated_builder;
1853s # guint num_changes;
1853s #
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1853s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1853s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1853s # {
1853s # ChangedProperty *cp = l->data;
1853s # GVariant *variant;
1853s # const GValue *cur_value;
1853s #
1853s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1853s # if (!_g_value_equal (cur_value, &cp->orig_value))
1853s # {
1853s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1853s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1853s # g_variant_unref (variant);
1853s # num_changes++;
1853s # }
1853s # }
1853s # if (num_changes > 0)
1853s # {
1853s # GList *connections, *ll;
1853s # GVariant *signal_variant;
1853s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
1853s # &builder, &invalidated_builder));
1853s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1853s # for (ll = connections; ll != NULL; ll = ll->next)
1853s # {
1853s # GDBusConnection *connection = ll->data;
1853s #
1853s # g_dbus_connection_emit_signal (connection,
1853s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1853s # "org.freedesktop.DBus.Properties",
1853s # "PropertiesChanged",
1853s # signal_variant,
1853s # NULL);
1853s # }
1853s # g_variant_unref (signal_variant);
1853s # g_list_free_full (connections, g_object_unref);
1853s # }
1853s # else
1853s # {
1853s # g_variant_builder_clear (&builder);
1853s # g_variant_builder_clear (&invalidated_builder);
1853s # }
1853s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1853s # skeleton->priv->changed_properties = NULL;
1853s # skeleton->priv->changed_properties_idle_source = NULL;
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # return FALSE;
1853s # }
1853s #
1853s # static void
1853s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1853s # {
1853s # ChangedProperty *cp;
1853s # GList *l;
1853s # cp = NULL;
1853s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1853s # {
1853s # ChangedProperty *i_cp = l->data;
1853s # if (i_cp->info == info)
1853s # {
1853s # cp = i_cp;
1853s # break;
1853s # }
1853s # }
1853s # if (cp == NULL)
1853s # {
1853s # cp = g_new0 (ChangedProperty, 1);
1853s # cp->prop_id = prop_id;
1853s # cp->info = info;
1853s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1853s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1853s # g_value_copy (orig_value, &cp->orig_value);
1853s # }
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_notify (GObject *object,
1853s # GParamSpec *pspec G_GNUC_UNUSED)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # if (skeleton->priv->changed_properties != NULL &&
1853s # skeleton->priv->changed_properties_idle_source == NULL)
1853s # {
1853s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1853s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1853s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1853s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
1853s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1853s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1853s # }
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_set_property (GObject *object,
1853s # guint prop_id,
1853s # const GValue *value,
1853s # GParamSpec *pspec)
1853s # {
1853s # const _ExtendedGDBusPropertyInfo *info;
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1853s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # g_object_freeze_notify (object);
1853s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1853s # {
1853s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1853s # info->emits_changed_signal)
1853s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1853s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1853s # g_object_notify_by_pspec (object, pspec);
1853s # }
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # g_object_thaw_notify (object);
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
1853s # {
1853s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1853s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
1853s # #else
1853s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
1853s # #endif
1853s #
1853s # g_mutex_init (&skeleton->priv->lock);
1853s # skeleton->priv->context = g_main_context_ref_thread_default ();
1853s # skeleton->priv->properties = g_new0 (GValue, 1);
1853s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
1853s # }
1853s #
1853s # static const gchar *
1853s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
1853s # {
1853s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1853s # const gchar *value;
1853s # g_mutex_lock (&skeleton->priv->lock);
1853s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
1853s # g_mutex_unlock (&skeleton->priv->lock);
1853s # return value;
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
1853s # {
1853s # GObjectClass *gobject_class;
1853s # GDBusInterfaceSkeletonClass *skeleton_class;
1853s #
1853s # gobject_class = G_OBJECT_CLASS (klass);
1853s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
1853s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
1853s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
1853s # gobject_class->notify = com_acme_coyote_skeleton_notify;
1853s #
1853s #
1853s # com_acme_coyote_override_properties (gobject_class, 1);
1853s #
1853s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1853s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
1853s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
1853s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
1853s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
1853s #
1853s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1853s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
1853s # #endif
1853s # }
1853s #
1853s # static void
1853s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
1853s # {
1853s # iface->surprised = _com_acme_coyote_on_signal_surprised;
1853s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
1853s # }
1853s #
1853s # /**
1853s # * com_acme_coyote_skeleton_new:
1853s # *
1853s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
1853s # *
1853s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
1853s # */
1853s # ComAcmeCoyote *
1853s # com_acme_coyote_skeleton_new (void)
1853s # {
1853s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
1853s # }
1853s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations
1853s # tmpdir: /tmp/tmpuedm4ci5
1853s # codegen: /usr/bin/gdbus-codegen
1853s # /tmp/tmpuedm4ci5/tmpebii18be.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuedm4ci5/tmpebii18be.xml', '--output', '-', '--header']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s # /* Declarations for FDPassing */
1853s #
1853s # #define TYPE_FDPASSING (fdpassing_get_type ())
1853s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1853s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1853s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1853s #
1853s # struct _FDPassing;
1853s # typedef struct _FDPassing FDPassing;
1853s # typedef struct _FDPassingIface FDPassingIface;
1853s #
1853s # struct _FDPassingIface
1853s # {
1853s # GTypeInterface parent_iface;
1853s #
1853s # gboolean (*handle_hello_fd) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # const gchar *arg_greeting);
1853s #
1853s # gboolean (*handle_no_annotation) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale);
1853s #
1853s # gboolean (*handle_no_annotation_nested) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GVariant *arg_files);
1853s #
1853s # };
1853s #
1853s # GType fdpassing_get_type (void) G_GNUC_CONST;
1853s #
1853s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1853s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1853s #
1853s #
1853s # /* D-Bus method call completion functions: */
1853s # void fdpassing_complete_hello_fd (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # const gchar *response);
1853s #
1853s # void fdpassing_complete_no_annotation (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GVariant *response,
1853s # const gchar *response_locale);
1853s #
1853s # void fdpassing_complete_no_annotation_nested (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s #
1853s #
1853s # /* D-Bus method calls: */
1853s # void fdpassing_call_hello_fd (
1853s # FDPassing *proxy,
1853s # const gchar *arg_greeting,
1853s # GUnixFDList *fd_list,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_hello_fd_finish (
1853s # FDPassing *proxy,
1853s # gchar **out_response,
1853s # GUnixFDList **out_fd_list,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_hello_fd_sync (
1853s # FDPassing *proxy,
1853s # const gchar *arg_greeting,
1853s # GUnixFDList *fd_list,
1853s # gchar **out_response,
1853s # GUnixFDList **out_fd_list,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_call_no_annotation (
1853s # FDPassing *proxy,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_no_annotation_finish (
1853s # FDPassing *proxy,
1853s # GVariant **out_response,
1853s # gchar **out_response_locale,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_no_annotation_sync (
1853s # FDPassing *proxy,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale,
1853s # GVariant **out_response,
1853s # gchar **out_response_locale,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_call_no_annotation_nested (
1853s # FDPassing *proxy,
1853s # GVariant *arg_files,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_no_annotation_nested_finish (
1853s # FDPassing *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_no_annotation_nested_sync (
1853s # FDPassing *proxy,
1853s # GVariant *arg_files,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1853s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1853s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1853s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1853s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1853s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1853s #
1853s # typedef struct _FDPassingProxy FDPassingProxy;
1853s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1853s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1853s #
1853s # struct _FDPassingProxy
1853s # {
1853s # /*< private >*/
1853s # GDBusProxy parent_instance;
1853s # FDPassingProxyPrivate *priv;
1853s # };
1853s #
1853s # struct _FDPassingProxyClass
1853s # {
1853s # GDBusProxyClass parent_class;
1853s # };
1853s #
1853s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1853s # #endif
1853s #
1853s # void fdpassing_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # FDPassing *fdpassing_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # FDPassing *fdpassing_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1853s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1853s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1853s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1853s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1853s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1853s #
1853s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1853s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1853s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1853s #
1853s # struct _FDPassingSkeleton
1853s # {
1853s # /*< private >*/
1853s # GDBusInterfaceSkeleton parent_instance;
1853s # FDPassingSkeletonPrivate *priv;
1853s # };
1853s #
1853s # struct _FDPassingSkeletonClass
1853s # {
1853s # GDBusInterfaceSkeletonClass parent_class;
1853s # };
1853s #
1853s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1853s # #endif
1853s #
1853s # FDPassing *fdpassing_skeleton_new (void);
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s # /tmp/tmpuedm4ci5/tmpde_wxxv2.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuedm4ci5/tmpde_wxxv2.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s # /* Declarations for FDPassing */
1853s #
1853s # #define TYPE_FDPASSING (fdpassing_get_type ())
1853s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1853s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1853s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1853s #
1853s # struct _FDPassing;
1853s # typedef struct _FDPassing FDPassing;
1853s # typedef struct _FDPassingIface FDPassingIface;
1853s #
1853s # struct _FDPassingIface
1853s # {
1853s # GTypeInterface parent_iface;
1853s #
1853s # gboolean (*handle_hello_fd) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # const gchar *arg_greeting);
1853s #
1853s # gboolean (*handle_no_annotation) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale);
1853s #
1853s # gboolean (*handle_no_annotation_nested) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GVariant *arg_files);
1853s #
1853s # };
1853s #
1853s # GType fdpassing_get_type (void) G_GNUC_CONST;
1853s #
1853s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1853s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1853s #
1853s #
1853s # /* D-Bus method call completion functions: */
1853s # void fdpassing_complete_hello_fd (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # const gchar *response);
1853s #
1853s # void fdpassing_complete_no_annotation (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GVariant *response,
1853s # const gchar *response_locale);
1853s #
1853s # void fdpassing_complete_no_annotation_nested (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation);
1853s #
1853s #
1853s #
1853s # /* D-Bus method calls: */
1853s # void fdpassing_call_hello_fd (
1853s # FDPassing *proxy,
1853s # const gchar *arg_greeting,
1853s # GUnixFDList *fd_list,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_hello_fd_finish (
1853s # FDPassing *proxy,
1853s # gchar **out_response,
1853s # GUnixFDList **out_fd_list,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_hello_fd_sync (
1853s # FDPassing *proxy,
1853s # const gchar *arg_greeting,
1853s # GUnixFDList *fd_list,
1853s # gchar **out_response,
1853s # GUnixFDList **out_fd_list,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_call_no_annotation (
1853s # FDPassing *proxy,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_no_annotation_finish (
1853s # FDPassing *proxy,
1853s # GVariant **out_response,
1853s # gchar **out_response_locale,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_no_annotation_sync (
1853s # FDPassing *proxy,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale,
1853s # GVariant **out_response,
1853s # gchar **out_response_locale,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_call_no_annotation_nested (
1853s # FDPassing *proxy,
1853s # GVariant *arg_files,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_no_annotation_nested_finish (
1853s # FDPassing *proxy,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_no_annotation_nested_sync (
1853s # FDPassing *proxy,
1853s # GVariant *arg_files,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1853s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1853s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1853s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1853s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1853s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1853s #
1853s # typedef struct _FDPassingProxy FDPassingProxy;
1853s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1853s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1853s #
1853s # struct _FDPassingProxy
1853s # {
1853s # /*< private >*/
1853s # GDBusProxy parent_instance;
1853s # FDPassingProxyPrivate *priv;
1853s # };
1853s #
1853s # struct _FDPassingProxyClass
1853s # {
1853s # GDBusProxyClass parent_class;
1853s # };
1853s #
1853s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1853s # #endif
1853s #
1853s # void fdpassing_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # FDPassing *fdpassing_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # FDPassing *fdpassing_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1853s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1853s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1853s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1853s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1853s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1853s #
1853s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1853s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1853s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1853s #
1853s # struct _FDPassingSkeleton
1853s # {
1853s # /*< private >*/
1853s # GDBusInterfaceSkeleton parent_instance;
1853s # FDPassingSkeletonPrivate *priv;
1853s # };
1853s #
1853s # struct _FDPassingSkeletonClass
1853s # {
1853s # GDBusInterfaceSkeletonClass parent_class;
1853s # };
1853s #
1853s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1853s # #endif
1853s #
1853s # FDPassing *fdpassing_skeleton_new (void);
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s # /tmp/tmpuedm4ci5/tmpke0fix20.xml:
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s #
1853s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuedm4ci5/tmpke0fix20.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
1853s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
1853s # Output: /*
1853s # * This file is generated by gdbus-codegen, do not modify it.
1853s # *
1853s # * The license of this code is the same as for the D-Bus interface description
1853s # * it was derived from. Note that it links to GLib, so must comply with the
1853s # * LGPL linking clauses.
1853s # */
1853s #
1853s # #ifndef __STDOUT__
1853s # #define __STDOUT__
1853s #
1853s # #include
1853s #
1853s # G_BEGIN_DECLS
1853s #
1853s #
1853s # /* ------------------------------------------------------------------------ */
1853s # /* Declarations for FDPassing */
1853s #
1853s # #define TYPE_FDPASSING (fdpassing_get_type ())
1853s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1853s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1853s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1853s #
1853s # struct _FDPassing;
1853s # typedef struct _FDPassing FDPassing;
1853s # typedef struct _FDPassingIface FDPassingIface;
1853s #
1853s # struct _FDPassingIface
1853s # {
1853s # GTypeInterface parent_iface;
1853s #
1853s # gboolean (*handle_hello_fd) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # const gchar *arg_greeting);
1853s #
1853s # gboolean (*handle_no_annotation) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale);
1853s #
1853s # gboolean (*handle_no_annotation_nested) (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # GVariant *arg_files);
1853s #
1853s # };
1853s #
1853s # GType fdpassing_get_type (void) G_GNUC_CONST;
1853s #
1853s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1853s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1853s #
1853s #
1853s # /* D-Bus method call completion functions: */
1853s # void fdpassing_complete_hello_fd (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # const gchar *response);
1853s #
1853s # void fdpassing_complete_no_annotation (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list,
1853s # GVariant *response,
1853s # const gchar *response_locale);
1853s #
1853s # void fdpassing_complete_no_annotation_nested (
1853s # FDPassing *object,
1853s # GDBusMethodInvocation *invocation,
1853s # GUnixFDList *fd_list);
1853s #
1853s #
1853s #
1853s # /* D-Bus method calls: */
1853s # void fdpassing_call_hello_fd (
1853s # FDPassing *proxy,
1853s # const gchar *arg_greeting,
1853s # GDBusCallFlags call_flags,
1853s # gint timeout_msec,
1853s # GUnixFDList *fd_list,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_hello_fd_finish (
1853s # FDPassing *proxy,
1853s # gchar **out_response,
1853s # GUnixFDList **out_fd_list,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_hello_fd_sync (
1853s # FDPassing *proxy,
1853s # const gchar *arg_greeting,
1853s # GDBusCallFlags call_flags,
1853s # gint timeout_msec,
1853s # GUnixFDList *fd_list,
1853s # gchar **out_response,
1853s # GUnixFDList **out_fd_list,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_call_no_annotation (
1853s # FDPassing *proxy,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale,
1853s # GDBusCallFlags call_flags,
1853s # gint timeout_msec,
1853s # GUnixFDList *fd_list,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_no_annotation_finish (
1853s # FDPassing *proxy,
1853s # GVariant **out_response,
1853s # gchar **out_response_locale,
1853s # GUnixFDList **out_fd_list,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_no_annotation_sync (
1853s # FDPassing *proxy,
1853s # GVariant *arg_greeting,
1853s # const gchar *arg_greeting_locale,
1853s # GDBusCallFlags call_flags,
1853s # gint timeout_msec,
1853s # GUnixFDList *fd_list,
1853s # GVariant **out_response,
1853s # gchar **out_response_locale,
1853s # GUnixFDList **out_fd_list,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_call_no_annotation_nested (
1853s # FDPassing *proxy,
1853s # GVariant *arg_files,
1853s # GDBusCallFlags call_flags,
1853s # gint timeout_msec,
1853s # GUnixFDList *fd_list,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s #
1853s # gboolean fdpassing_call_no_annotation_nested_finish (
1853s # FDPassing *proxy,
1853s # GUnixFDList **out_fd_list,
1853s # GAsyncResult *res,
1853s # GError **error);
1853s #
1853s # gboolean fdpassing_call_no_annotation_nested_sync (
1853s # FDPassing *proxy,
1853s # GVariant *arg_files,
1853s # GDBusCallFlags call_flags,
1853s # gint timeout_msec,
1853s # GUnixFDList *fd_list,
1853s # GUnixFDList **out_fd_list,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1853s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1853s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1853s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1853s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1853s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1853s #
1853s # typedef struct _FDPassingProxy FDPassingProxy;
1853s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1853s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1853s #
1853s # struct _FDPassingProxy
1853s # {
1853s # /*< private >*/
1853s # GDBusProxy parent_instance;
1853s # FDPassingProxyPrivate *priv;
1853s # };
1853s #
1853s # struct _FDPassingProxyClass
1853s # {
1853s # GDBusProxyClass parent_class;
1853s # };
1853s #
1853s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1853s # #endif
1853s #
1853s # void fdpassing_proxy_new (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # FDPassing *fdpassing_proxy_new_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # FDPassing *fdpassing_proxy_new_sync (
1853s # GDBusConnection *connection,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s # void fdpassing_proxy_new_for_bus (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GAsyncReadyCallback callback,
1853s # gpointer user_data);
1853s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1853s # GAsyncResult *res,
1853s # GError **error);
1853s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1853s # GBusType bus_type,
1853s # GDBusProxyFlags flags,
1853s # const gchar *name,
1853s # const gchar *object_path,
1853s # GCancellable *cancellable,
1853s # GError **error);
1853s #
1853s #
1853s # /* ---- */
1853s #
1853s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1853s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1853s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1853s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1853s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1853s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1853s #
1853s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1853s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1853s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1853s #
1853s # struct _FDPassingSkeleton
1853s # {
1853s # /*< private >*/
1853s # GDBusInterfaceSkeleton parent_instance;
1853s # FDPassingSkeletonPrivate *priv;
1853s # };
1853s #
1853s # struct _FDPassingSkeletonClass
1853s # {
1853s # GDBusInterfaceSkeletonClass parent_class;
1853s # };
1853s #
1853s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1853s #
1853s # #if GLIB_CHECK_VERSION(2, 44, 0)
1853s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1853s # #endif
1853s #
1853s # FDPassing *fdpassing_skeleton_new (void);
1853s #
1853s #
1853s # G_END_DECLS
1853s #
1853s # #endif /* __STDOUT__ */
1853s 1..39
1853s ok - glib/codegen.py.test
1853s # Running test: glib/gdbus-export.test
1853s TAP version 14
1853s # random seed: R02S6031a6223bb9fcb70ed5f1e82c099c9c
1853s 1..6
1853s # Start of gdbus tests
1853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/home
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/cache
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/system-config2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/config
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/system-data2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/data
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/state
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration/.dirs/runtime
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s ok 1 /gdbus/object-registration
1853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/home
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/cache
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/system-config2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/config
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/system-data2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/data
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/state
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AJHPX2/gdbus/object-registration-with-closures/.dirs/runtime
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s ok 2 /gdbus/object-registration-with-closures
1853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/home
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/cache
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/system-config2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/config
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/system-data2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/data
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/state
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AJHPX2/gdbus/registered-interfaces/.dirs/runtime
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s ok 3 /gdbus/registered-interfaces
1853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/home
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/cache
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/system-config2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/config
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/system-data2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/data
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/state
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AJHPX2/gdbus/async-properties/.dirs/runtime
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s ok 4 /gdbus/async-properties
1853s # Start of threaded-unregistration tests
1853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/home
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/cache
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/system-config2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/config
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/system-data2
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/data
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/state
1853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/object/.dirs/runtime
1853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
1853s # /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
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test
1855s # slow test /gdbus/threaded-unregistration/object executed in 1.17 secs
1855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/home
1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/cache
1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/system-config2
1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/config
1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/system-data2
1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/data
1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/state
1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_AJHPX2/gdbus/threaded-unregistration/subtree/.dirs/runtime
1855s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
1855s # /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
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1855s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1856s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test
1856s # slow test /gdbus/threaded-unregistration/subtree executed in 1.13 secs
1856s # End of threaded-unregistration tests
1856s # End of gdbus tests
1856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1856s ok - glib/gdbus-export.test
1856s # Running test: glib/tls-database.test
1856s TAP version 14
1856s # random seed: R02S1d79668f5c58cad298034893e3348d17
1856s 1..1
1856s # Start of tls-backend tests
1856s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
1856s ok 1 /tls-backend/set-default-database
1856s # End of tls-backend tests
1856s ok - glib/tls-database.test
1856s # Running test: glib/data-input-stream.test
1856s TAP version 14
1856s # random seed: R02S02e962c72bcbca7cfd9a331c9cf1d5fb
1856s 1..10
1856s # Start of data-input-stream tests
1856s ok 1 /data-input-stream/basic
1856s ok 2 /data-input-stream/read-lines-LF
1856s ok 3 /data-input-stream/read-lines-LF-valid-utf8
1856s ok 4 /data-input-stream/read-lines-LF-invalid-utf8
1856s ok 5 /data-input-stream/read-lines-CR
1856s ok 6 /data-input-stream/read-lines-CR-LF
1856s ok 7 /data-input-stream/read-lines-any
1856s ok 8 /data-input-stream/read-until
1856s ok 9 /data-input-stream/read-upto
1856s ok 10 /data-input-stream/read-int
1856s # End of data-input-stream tests
1856s ok - glib/data-input-stream.test
1856s # Running test: glib/signals-refcount2.test
1856s TAP version 14
1856s # random seed: R02Sf4fe923dc1706b269b70f9636271c60a
1856s 1..1
1856s # Start of gobject tests
1856s # Start of refcount tests
1856s # init 0xe2c0a58
1856s #
1856s # init 0xe2c0bb0
1856s #
1856s # Executing: glib/signals-refcount2.test
1861s # dispose 0xe2c0a58!
1861s #
1861s # dispose 0xe2c0bb0!
1861s #
1861s ok 1 /gobject/refcount/signals
1861s # slow test /gobject/refcount/signals executed in 5.00 secs
1861s # End of refcount tests
1861s # End of gobject tests
1861s ok - glib/signals-refcount2.test
1861s # Running test: glib/unix-streams.test
1861s TAP version 14
1861s # random seed: R02Sdd098643f2566a4bb244f0746c865d97
1861s 1..9
1861s # Start of unix-streams tests
1861s ok 1 /unix-streams/basic
1861s ok 2 /unix-streams/pipe-io-test
1861s # slow test /unix-streams/pipe-io-test executed in 0.50 secs
1861s # Executing: glib/unix-streams.test
1862s ok 3 /unix-streams/nonblocking-io-test
1862s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs
1862s ok 4 /unix-streams/read_write
1862s ok 5 /unix-streams/read_writev
1862s ok 6 /unix-streams/write-wouldblock
1862s ok 7 /unix-streams/writev-wouldblock
1862s ok 8 /unix-streams/write-async-wouldblock
1862s ok 9 /unix-streams/writev-async-wouldblock
1862s # End of unix-streams tests
1862s ok - glib/unix-streams.test
1862s # Running test: glib/debugcontroller.test
1862s TAP version 14
1862s # random seed: R02S4c89714542086ea7af5248030113b995
1862s 1..3
1862s # Start of debug-controller tests
1862s # Start of dbus tests
1862s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
1862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1862s # GLib-GIO-DEBUG: Debug output enabled
1862s # GLib-GIO-DEBUG: Debug output disabled
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s ok 1 /debug-controller/dbus/basic
1862s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1862s ok 2 /debug-controller/dbus/duplicate
1862s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
1862s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102
1862s # End of dbus tests
1862s # End of debug-controller tests
1862s ok - glib/debugcontroller.test
1862s # Running test: glib/performance.test
1862s Running test simple-construction
1866s # Executing: glib/performance.test
1871s simple-construction: Millions of constructed objects per second: 10.330
1871s Running test simple-construction1
1871s # Executing: glib/performance.test
1874s simple-construction1: Millions of constructed objects per second: 68.370
1874s Running test complex-construction
1876s # Executing: glib/performance.test
1878s complex-construction: Millions of constructed objects per second: 4.368
1878s Running test complex-construction1
1881s # Executing: glib/performance.test
1883s complex-construction1: Millions of constructed objects per second: 6.675
1883s Running test complex-construction2
1886s # Executing: glib/performance.test
1889s complex-construction2: Millions of constructed objects per second: 7.451
1889s Running test finalization
1890s finalization: Millions of finalized objects per second: 1.723
1890s Running test type-check
1891s type-check: Million type checks per second: 39.66
1891s Running test emit-unhandled
1891s # Executing: glib/performance.test
1892s emit-unhandled: Emissions per second: 2556084
1892s Running test emit-unhandled-empty
1893s emit-unhandled-empty: Emissions per second: 23570845
1893s Running test emit-unhandled-generic
1894s emit-unhandled-generic: Emissions per second: 3685568
1894s Running test emit-unhandled-generic-empty
1895s emit-unhandled-generic-empty: Emissions per second: 23720260
1895s Running test emit-unhandled-args
1896s emit-unhandled-args: Emissions per second: 2205849
1896s Running test emit-handled
1896s # Executing: glib/performance.test
1897s emit-handled: Emissions per second: 1686522
1897s Running test emit-handled-empty
1898s emit-handled-empty: Emissions per second: 1769260
1898s Running test emit-handled-generic
1899s emit-handled-generic: Emissions per second: 1743763
1899s Running test emit-handled-generic-empty
1900s emit-handled-generic-empty: Emissions per second: 2980595
1900s Running test emit-handled-args
1901s emit-handled-args: Emissions per second: 1578579
1901s Running test notify-unhandled
1901s # Executing: glib/performance.test
1902s notify-unhandled: Notify (unhandled) per second: 10738842
1902s Running test notify-by-pspec-unhandled
1903s notify-by-pspec-unhandled: Notify (unhandled) per second: 75552023
1903s Running test notify-handled
1904s notify-handled: Notify per second: 1033070
1904s Running test notify-by-pspec-handled
1905s notify-by-pspec-handled: Notify per second: 1112759
1905s Running test property-set
1906s property-set: Property set per second: 9835354
1906s Running test property-get
1906s # Executing: glib/performance.test
1907s property-get: Property get per second: 9538837
1907s Running test refcount
1909s refcount: Million refs+unref per second: 16.89
1909s Running test refcount-1
1910s refcount-1: Million refs+unref per second: 40.98
1910s Running test refcount-toggle
1911s refcount-toggle: Million refs+unref per second: 24.23
1911s ok - glib/performance.test
1911s # Running test: glib/deprecated-properties.test
1911s TAP version 14
1911s # random seed: R02S26e10fe5393d87d00cae4256aec08262
1911s 1..3
1911s # Start of deprecated-properties tests
1911s ok 1 /deprecated-properties/construct
1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
1911s ok 2 /deprecated-properties/default-construct
1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
1911s ok 3 /deprecated-properties/set
1911s # End of deprecated-properties tests
1911s ok - glib/deprecated-properties.test
1911s # Running test: glib/tls-bindings.test
1911s TAP version 14
1911s # random seed: R02S40b18b3e8803caacebe0c410943c4b75
1911s 1..2
1911s # Start of tls-connection tests
1911s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
1911s ok 1 /tls-connection/get-tls-channel-binding
1911s ok 2 /tls-connection/get-dtls-channel-binding
1911s # End of tls-connection tests
1911s ok - glib/tls-bindings.test
1911s # Running test: glib/dir.test
1911s TAP version 14
1911s # random seed: R02S73891586f54e29503fb7cf7f60d9800f
1911s 1..3
1911s # Start of dir tests
1911s ok 1 /dir/read
1911s ok 2 /dir/nonexisting
1911s # /dir/refcounting summary: Test refcounting interactions with g_dir_close()
1911s ok 3 /dir/refcounting
1911s # End of dir tests
1911s ok - glib/dir.test
1911s # Running test: glib/test-printf.test
1911s TAP version 14
1911s # random seed: R02S97a0deee525b0a51ff507b7545b1181d
1911s 1..22
1911s # Start of snprintf tests
1911s ok 1 /snprintf/retval-and-trunc
1911s ok 2 /snprintf/%d
1911s ok 3 /snprintf/%d-invalid
1911s ok 4 /snprintf/%o
1911s ok 5 /snprintf/%u
1911s ok 6 /snprintf/%x
1911s ok 7 /snprintf/%X
1911s ok 8 /snprintf/%f
1911s ok 9 /snprintf/%e
1911s ok 10 /snprintf/%c
1911s ok 11 /snprintf/%s
1911s ok 12 /snprintf/%n
1911s ok 13 /snprintf/test-percent
1911s ok 14 /snprintf/test-positional-params
1911s ok 15 /snprintf/test-64bit
1911s # End of snprintf tests
1911s # Start of printf tests
1911s ok 16 /printf/test-percent
1911s ok 17 /printf/test-positional-params
1911s ok 18 /printf/test-64bit
1911s # Start of test-64bit tests
1911s # Start of subprocess tests
1911s # End of subprocess tests
1911s # End of test-64bit tests
1911s # End of printf tests
1911s # Start of sprintf tests
1911s ok 19 /sprintf/test-positional-params
1911s ok 20 /sprintf/upper-bound
1911s # End of sprintf tests
1911s # Start of vasprintf tests
1911s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf()
1911s ok 21 /vasprintf/invalid-format-placeholder
1911s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf()
1911s ok 22 /vasprintf/invalid-wide-string
1911s # End of vasprintf tests
1911s ok - glib/test-printf.test
1911s # Running test: glib/resolver-parsing.test
1911s TAP version 14
1911s # random seed: R02Sf3448f5a3cf9e1c748273f62f66e7c3f
1911s 1..21
1911s # Start of gresolver tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/invalid-header/.dirs/runtime
1911s ok 1 /gresolver/invalid-header
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/record-ownership/.dirs/runtime
1911s ok 2 /gresolver/record-ownership
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/unknown-record-type/.dirs/runtime
1911s # GLib-GIO-DEBUG: Unrecognized DNS record type 20
1911s ok 3 /gresolver/unknown-record-type
1911s # Start of mx tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/valid/.dirs/runtime
1911s ok 4 /gresolver/mx/valid
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/.dirs/runtime
1911s ok 5 /gresolver/mx/invalid
1911s # Start of invalid tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short/.dirs/runtime
1911s ok 6 /gresolver/mx/invalid/too-short
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/mx/invalid/too-short2/.dirs/runtime
1911s ok 7 /gresolver/mx/invalid/too-short2
1911s # End of invalid tests
1911s # End of mx tests
1911s # Start of ns tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/valid/.dirs/runtime
1911s ok 8 /gresolver/ns/valid
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/ns/invalid/.dirs/runtime
1911s ok 9 /gresolver/ns/invalid
1911s # End of ns tests
1911s # Start of soa tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/valid/.dirs/runtime
1911s ok 10 /gresolver/soa/valid
1911s # Start of invalid tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/mname/.dirs/runtime
1911s ok 11 /gresolver/soa/invalid/mname
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/rname/.dirs/runtime
1911s ok 12 /gresolver/soa/invalid/rname
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/soa/invalid/too-short/.dirs/runtime
1911s ok 13 /gresolver/soa/invalid/too-short
1911s # End of invalid tests
1911s # End of soa tests
1911s # Start of srv tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/valid/.dirs/runtime
1911s ok 14 /gresolver/srv/valid
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/.dirs/runtime
1911s ok 15 /gresolver/srv/invalid
1911s # Start of invalid tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short/.dirs/runtime
1911s ok 16 /gresolver/srv/invalid/too-short
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/srv/invalid/too-short2/.dirs/runtime
1911s ok 17 /gresolver/srv/invalid/too-short2
1911s # End of invalid tests
1911s # End of srv tests
1911s # Start of txt tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/.dirs/runtime
1911s ok 18 /gresolver/txt/valid
1911s # Start of valid tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/valid/multiple-strings/.dirs/runtime
1911s ok 19 /gresolver/txt/valid/multiple-strings
1911s # End of valid tests
1911s # Start of invalid tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/empty/.dirs/runtime
1911s ok 20 /gresolver/txt/invalid/empty
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LA2ZX2/gresolver/txt/invalid/overflow/.dirs/runtime
1911s ok 21 /gresolver/txt/invalid/overflow
1911s # End of invalid tests
1911s # End of txt tests
1911s # End of gresolver tests
1911s ok - glib/resolver-parsing.test
1911s # Running test: glib/error.test
1911s TAP version 14
1911s # random seed: R02Sd25e8f242d2f0be067284624ad689d44
1911s 1..3
1911s # Start of error tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_VU5YX2/error/from-errno/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_VU5YX2/error/from-errno/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_VU5YX2/error/from-errno/.dirs/system-config1:/tmp/test_error_VU5YX2/error/from-errno/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_VU5YX2/error/from-errno/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_VU5YX2/error/from-errno/.dirs/system-data1:/tmp/test_error_VU5YX2/error/from-errno/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_VU5YX2/error/from-errno/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_VU5YX2/error/from-errno/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_VU5YX2/error/from-errno/.dirs/runtime
1911s ok 1 /error/from-errno
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_VU5YX2/error/from-file-error/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_VU5YX2/error/from-file-error/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_VU5YX2/error/from-file-error/.dirs/system-config1:/tmp/test_error_VU5YX2/error/from-file-error/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_VU5YX2/error/from-file-error/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_VU5YX2/error/from-file-error/.dirs/system-data1:/tmp/test_error_VU5YX2/error/from-file-error/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_VU5YX2/error/from-file-error/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_VU5YX2/error/from-file-error/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_VU5YX2/error/from-file-error/.dirs/runtime
1911s ok 2 /error/from-file-error
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_VU5YX2/error/from-win32-error/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_VU5YX2/error/from-win32-error/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_VU5YX2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_VU5YX2/error/from-win32-error/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_VU5YX2/error/from-win32-error/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_VU5YX2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_VU5YX2/error/from-win32-error/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_VU5YX2/error/from-win32-error/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_VU5YX2/error/from-win32-error/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_VU5YX2/error/from-win32-error/.dirs/runtime
1911s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows
1911s # End of error tests
1911s ok - glib/error.test
1911s # Running test: glib/mimeapps.test
1911s TAP version 14
1911s # random seed: R02S98ef4eace330d127f8b297b786044184
1911s 1..7
1911s # Start of appinfo tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/runtime
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/system-data1/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/system-data1/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications/myapp.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications/myapp2.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications/myapp3.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications/myapp4.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications/myapp5.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications/nosuchapp.desktop'
1911s # removing '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/data/applications/mimeinfo.cache'
1911s ok 1 /appinfo/all
1911s # Start of mime tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/runtime
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/system-data1/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications/myapp.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop'
1911s # removing '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache'
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config
1911s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HMOZX2/appinfo/all/.dirs/config to /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config
1911s ok 2 /appinfo/mime/api
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/runtime
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/system-data1/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications/myapp.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop'
1911s # removing '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache'
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/config
1911s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HMOZX2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/config
1911s ok 3 /appinfo/mime/default
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/runtime
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/system-data1/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications/myapp.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop'
1911s # removing '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache'
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config
1911s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HMOZX2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config
1911s ok 4 /appinfo/mime/file
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/runtime
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop'
1911s # removing '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache'
1911s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HMOZX2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/config
1911s ok 5 /appinfo/mime/scheme-handler
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/runtime
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/system-data1/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop'
1911s # removing '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache'
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config
1911s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HMOZX2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config
1911s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config
1911s ok 6 /appinfo/mime/default-last-used
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/runtime
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop'
1911s # removing '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list'
1911s # creating '/tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache'
1911s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_HMOZX2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_HMOZX2/appinfo/mime/ignore-nonexisting/.dirs/config
1911s ok 7 /appinfo/mime/ignore-nonexisting
1911s # End of mime tests
1911s # End of appinfo tests
1911s ok - glib/mimeapps.test
1911s # Running test: glib/array-test.test
1911s TAP version 14
1911s # random seed: R02Sdb5547f55bd0410d00c57c0651193083
1911s 1..113
1911s # Start of array tests
1911s ok 1 /array/ref-count
1911s ok 2 /array/steal
1911s ok 3 /array/clear-func
1911s ok 4 /array/binary-search
1911s # /array/copy-sized summary: Test that copying a newly-allocated sized array works.
1911s ok 5 /array/copy-sized
1911s ok 6 /array/overflow-append-vals
1911s ok 7 /array/overflow-set-size
1911s # Start of new tests
1911s ok 8 /array/new/zero-terminated
1911s ok 9 /array/new/take
1911s ok 10 /array/new/take-zero-terminated
1911s # Start of take tests
1911s ok 11 /array/new/take/empty
1911s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
1911s # End of take tests
1911s # End of new tests
1911s # Start of set-size tests
1911s ok 13 /array/set-size/non-zero-terminated-no-clear
1911s ok 14 /array/set-size/non-zero-terminated-clear
1911s ok 15 /array/set-size/zero-terminated-no-clear
1911s ok 16 /array/set-size/zero-terminated-clear
1911s # Start of sized tests
1911s ok 17 /array/set-size/sized/non-zero-terminated-no-clear
1911s ok 18 /array/set-size/sized/non-zero-terminated-clear
1911s ok 19 /array/set-size/sized/zero-terminated-no-clear
1911s ok 20 /array/set-size/sized/zero-terminated-clear
1911s # End of sized tests
1911s # End of set-size tests
1911s # Start of append-val tests
1911s ok 21 /array/append-val/non-zero-terminated-no-clear
1911s ok 22 /array/append-val/non-zero-terminated-clear
1911s ok 23 /array/append-val/zero-terminated-no-clear
1911s ok 24 /array/append-val/zero-terminated-clear
1911s # End of append-val tests
1911s # Start of prepend-val tests
1911s ok 25 /array/prepend-val/non-zero-terminated-no-clear
1911s ok 26 /array/prepend-val/non-zero-terminated-clear
1911s ok 27 /array/prepend-val/zero-terminated-no-clear
1911s ok 28 /array/prepend-val/zero-terminated-clear
1911s # End of prepend-val tests
1911s # Start of prepend-vals tests
1911s ok 29 /array/prepend-vals/non-zero-terminated-no-clear
1911s ok 30 /array/prepend-vals/non-zero-terminated-clear
1911s ok 31 /array/prepend-vals/zero-terminated-no-clear
1911s ok 32 /array/prepend-vals/zero-terminated-clear
1911s # End of prepend-vals tests
1911s # Start of insert-vals tests
1911s ok 33 /array/insert-vals/non-zero-terminated-no-clear
1911s ok 34 /array/insert-vals/non-zero-terminated-clear
1911s ok 35 /array/insert-vals/zero-terminated-no-clear
1911s ok 36 /array/insert-vals/zero-terminated-clear
1911s # End of insert-vals tests
1911s # Start of remove-index tests
1911s ok 37 /array/remove-index/non-zero-terminated-no-clear
1911s ok 38 /array/remove-index/non-zero-terminated-clear
1911s ok 39 /array/remove-index/zero-terminated-no-clear
1911s ok 40 /array/remove-index/zero-terminated-clear
1911s # End of remove-index tests
1911s # Start of remove-index-fast tests
1911s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear
1911s ok 42 /array/remove-index-fast/non-zero-terminated-clear
1911s ok 43 /array/remove-index-fast/zero-terminated-no-clear
1911s ok 44 /array/remove-index-fast/zero-terminated-clear
1911s # End of remove-index-fast tests
1911s # Start of remove-range tests
1911s ok 45 /array/remove-range/non-zero-terminated-no-clear
1911s ok 46 /array/remove-range/non-zero-terminated-clear
1911s ok 47 /array/remove-range/zero-terminated-no-clear
1911s ok 48 /array/remove-range/zero-terminated-clear
1911s # End of remove-range tests
1911s # Start of copy tests
1911s ok 49 /array/copy/non-zero-terminated-no-clear
1911s ok 50 /array/copy/non-zero-terminated-clear
1911s ok 51 /array/copy/zero-terminated-no-clear
1911s ok 52 /array/copy/zero-terminated-clear
1911s # End of copy tests
1911s # Start of sort tests
1911s ok 53 /array/sort/non-zero-terminated-no-clear
1911s ok 54 /array/sort/non-zero-terminated-clear
1911s ok 55 /array/sort/zero-terminated-no-clear
1911s ok 56 /array/sort/zero-terminated-clear
1911s # End of sort tests
1911s # Start of sort-with-data tests
1911s ok 57 /array/sort-with-data/non-zero-terminated-no-clear
1911s ok 58 /array/sort-with-data/non-zero-terminated-clear
1911s ok 59 /array/sort-with-data/zero-terminated-no-clear
1911s ok 60 /array/sort-with-data/zero-terminated-clear
1911s # End of sort-with-data tests
1911s # End of array tests
1911s # Start of pointerarray tests
1911s ok 61 /pointerarray/add
1911s ok 62 /pointerarray/insert
1911s ok 63 /pointerarray/new-take
1911s ok 64 /pointerarray/new-take-null-terminated
1911s ok 65 /pointerarray/new-from-array
1911s ok 66 /pointerarray/new-from-null-terminated-array
1911s ok 67 /pointerarray/free-func
1911s ok 68 /pointerarray/array_extend_and_steal
1911s ok 69 /pointerarray/sort
1911s ok 70 /pointerarray/sort-with-data
1911s ok 71 /pointerarray/sort-values
1911s ok 72 /pointerarray/sort-values-with-data
1911s ok 73 /pointerarray/remove-range
1911s ok 74 /pointerarray/steal
1911s # Start of free tests
1911s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array
1911s ok 75 /pointerarray/free/null-terminated
1911s # End of free tests
1911s # Start of new-take tests
1911s ok 76 /pointerarray/new-take/empty
1911s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
1911s ok 78 /pointerarray/new-take/with-free-func
1911s # End of new-take tests
1911s # Start of new-take-null-terminated tests
1911s ok 79 /pointerarray/new-take-null-terminated/empty
1911s ok 80 /pointerarray/new-take-null-terminated/with-free-func
1911s ok 81 /pointerarray/new-take-null-terminated/from-gstrv
1911s # End of new-take-null-terminated tests
1911s # Start of new-from-array tests
1911s ok 82 /pointerarray/new-from-array/empty
1911s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
1911s ok 84 /pointerarray/new-from-array/with-copy-and-free-func
1911s # End of new-from-array tests
1911s # Start of new-from-null-terminated-array tests
1911s ok 85 /pointerarray/new-from-null-terminated-array/empty
1911s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func
1911s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv
1911s # End of new-from-null-terminated-array tests
1911s # Start of ref-count tests
1911s ok 88 /pointerarray/ref-count/not-null-terminated
1911s ok 89 /pointerarray/ref-count/null-terminated
1911s # End of ref-count tests
1911s # Start of array_copy tests
1911s # /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
1911s ok 90 /pointerarray/array_copy/not-null-terminated
1911s # /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
1911s ok 91 /pointerarray/array_copy/null-terminated
1911s # End of array_copy tests
1911s # Start of array_extend tests
1911s ok 92 /pointerarray/array_extend/not-null-terminated
1911s ok 93 /pointerarray/array_extend/null-terminated
1911s # End of array_extend tests
1911s # Start of sort tests
1911s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct
1911s ok 94 /pointerarray/sort/example
1911s # End of sort tests
1911s # Start of sort-with-data tests
1911s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct
1911s ok 95 /pointerarray/sort-with-data/example
1911s # End of sort-with-data tests
1911s # Start of sort-values tests
1911s ok 96 /pointerarray/sort-values/example
1911s # End of sort-values tests
1911s # Start of sort-values-with-data tests
1911s ok 97 /pointerarray/sort-values-with-data/example
1911s # End of sort-values-with-data tests
1911s # Start of find tests
1911s ok 98 /pointerarray/find/empty
1911s ok 99 /pointerarray/find/non-empty
1911s # End of find tests
1911s # Start of steal_index tests
1911s ok 100 /pointerarray/steal_index/not-null-terminated
1911s ok 101 /pointerarray/steal_index/null-terminated
1911s # End of steal_index tests
1911s # End of pointerarray tests
1911s # Start of bytearray tests
1911s ok 102 /bytearray/steal
1911s ok 103 /bytearray/append
1911s ok 104 /bytearray/prepend
1911s ok 105 /bytearray/remove
1911s ok 106 /bytearray/remove-fast
1911s ok 107 /bytearray/remove-range
1911s ok 108 /bytearray/ref-count
1911s ok 109 /bytearray/sort
1911s ok 110 /bytearray/sort-with-data
1911s ok 111 /bytearray/new-take
1911s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT.
1911s ok 113 /bytearray/free-to-bytes
1911s # End of bytearray tests
1911s ok - glib/array-test.test
1911s # Running test: glib/portal-support-snap.test
1911s TAP version 14
1911s # random seed: R02S79a97e0ab729747ee18dba63b56cc111
1911s 1..7
1911s # Start of portal-support tests
1911s # Start of snap tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl/.dirs/runtime
1911s # Created snap.yaml in /tmp/test_portal-support-snap_71QWX2/meta/snap.yaml
1911s Unable to clean up temporary directory /tmp/test_portal-support-snap_71QWX2/portal-support/snap/no-snapctl: No such file or directory
1911s ok 1 /portal-support/snap/no-snapctl
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/runtime
1911s # Created snap.yaml in /tmp/test_portal-support-snap_71QWX2/meta/snap.yaml
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none/.dirs/runtime/snapctl
1911s Unable to clean up temporary directory /tmp/test_portal-support-snap_71QWX2/portal-support/snap/none: No such file or directory
1911s ok 2 /portal-support/snap/none
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/runtime
1911s # Created snap.yaml in /tmp/test_portal-support-snap_71QWX2/meta/snap.yaml
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all/.dirs/runtime/snapctl
1911s Unable to clean up temporary directory /tmp/test_portal-support-snap_71QWX2/portal-support/snap/all: No such file or directory
1911s ok 3 /portal-support/snap/all
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/runtime
1911s # Created snap.yaml in /tmp/test_portal-support-snap_71QWX2/meta/snap.yaml
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only/.dirs/runtime/snapctl
1911s Unable to clean up temporary directory /tmp/test_portal-support-snap_71QWX2/portal-support/snap/desktop-only: No such file or directory
1911s ok 4 /portal-support/snap/desktop-only
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/runtime
1911s # Created snap.yaml in /tmp/test_portal-support-snap_71QWX2/meta/snap.yaml
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only/.dirs/runtime/snapctl
1911s Unable to clean up temporary directory /tmp/test_portal-support-snap_71QWX2/portal-support/snap/network-only: No such file or directory
1911s ok 5 /portal-support/snap/network-only
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/runtime
1911s # Created snap.yaml in /tmp/test_portal-support-snap_71QWX2/meta/snap.yaml
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl
1911s Unable to clean up temporary directory /tmp/test_portal-support-snap_71QWX2/portal-support/snap/gsettings-only: No such file or directory
1911s ok 6 /portal-support/snap/gsettings-only
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/runtime
1911s # Created snap.yaml in /tmp/test_portal-support-snap_71QWX2/meta/snap.yaml
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1911s # Created snapctl in /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1911s Unable to clean up temporary directory /tmp/test_portal-support-snap_71QWX2/portal-support/snap/updates-dynamically: No such file or directory
1911s ok 7 /portal-support/snap/updates-dynamically
1911s # End of snap tests
1911s # End of portal-support tests
1911s Unable to clean up temporary directory /tmp/test_portal-support-snap_71QWX2: No such file or directory
1911s ok - glib/portal-support-snap.test
1911s # Running test: glib/cxx-03.test
1911s TAP version 14
1911s # random seed: R02S1680f615b0d9179b170c9761f7bc1789
1911s 1..2
1911s # Start of gtask tests
1911s # 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.
1911s ok 1 /gtask/name
1911s # Start of name tests
1911s # 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.
1911s ok 2 /gtask/name/macro-wrapper
1911s # End of name tests
1911s # End of gtask tests
1911s ok - glib/cxx-03.test
1911s # Running test: glib/thread.test
1911s TAP version 14
1911s # random seed: R02Saf9fa11400d0436004fb25e6b4be9219
1911s 1..7
1911s # Start of thread tests
1911s ok 1 /thread/thread1
1911s ok 2 /thread/thread2
1911s ok 3 /thread/thread3
1911s ok 4 /thread/thread4
1911s ok 5 /thread/thread5
1911s ok 6 /thread/thread6
1911s ok 7 /thread/thread7
1911s # End of thread tests
1911s ok - glib/thread.test
1911s # Running test: glib/appmonitor.test
1911s TAP version 14
1911s # random seed: R02S568422400a6926bcb0e589aed88251c9
1911s 1..1
1911s # Start of monitor tests
1911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/home
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/cache
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/system-config2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/config
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/system-data2
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/data
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/state
1911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/runtime
1911s # Using data directory: /tmp/test_appmonitor_UBJUX2/monitor/app/.dirs/data
1911s ok 1 /monitor/app
1911s # End of monitor tests
1911s ok - glib/appmonitor.test
1911s # Running test: glib/dbus-appinfo.test
1911s TAP version 14
1911s # random seed: R02S264290707f97d570c0bddb2759a702c4
1911s 1..3
1911s # Start of appinfo tests
1911s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1911s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1911s ok 1 /appinfo/dbusappinfo
1911s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
1911s dbus-daemon[5004]: [session uid=1000 pid=5004] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=5003 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined")
1911s # Acquired a message bus connection
1911s dbus-daemon[5004]: [session uid=1000 pid=5004] Successfully activated service 'org.freedesktop.portal.Documents'
1911s # Acquired the name org.freedesktop.portal.Documents
1911s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop'
1911s ok 2 /appinfo/flatpak-doc-export
1911s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
1911s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1911s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop'
1911s ok 3 /appinfo/flatpak-missing-doc-export
1911s # End of appinfo tests
1911s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1911s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1911s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1911s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1911s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1911s # Lost the name org.freedesktop.portal.Documents
1911s ok - glib/dbus-appinfo.test
1911s # Running test: glib/slist.test
1911s TAP version 14
1911s # random seed: R02S354b0f7ce5659210c9cc75fb9c4cbb64
1911s 1..14
1911s # Start of slist tests
1911s ok 1 /slist/sort
1911s ok 2 /slist/sort-with-data
1911s ok 3 /slist/insert-sorted
1911s ok 4 /slist/insert-sorted-with-data
1911s ok 5 /slist/reverse
1911s ok 6 /slist/nth
1911s ok 7 /slist/remove
1911s ok 8 /slist/remove-all
1911s ok 9 /slist/insert
1911s ok 10 /slist/position
1911s ok 11 /slist/concat
1911s ok 12 /slist/copy
1911s # Start of sort tests
1911s ok 13 /slist/sort/stable
1911s # End of sort tests
1911s # Start of copy tests
1911s ok 14 /slist/copy/deep
1911s # End of copy tests
1911s # End of slist tests
1911s ok - glib/slist.test
1911s # Running test: glib/properties-refcount3.test
1911s TAP version 14
1911s # random seed: R02S44e7cdbb2888d26d2027b5510cc8084e
1911s 1..1
1911s # Start of gobject tests
1911s # Start of refcount tests
1911s # Executing: glib/properties-refcount3.test
1916s # Executing: glib/properties-refcount3.test
1921s # Executing: glib/properties-refcount3.test
1926s # Executing: glib/properties-refcount3.test
1932s # Executing: glib/properties-refcount3.test
1936s # Executing: glib/properties-refcount3.test
1941s #
1941s # stopping
1941s #
1941s # stopped
1941s #
1941s # 13126772 721952
1941s #
1941s ok 1 /gobject/refcount/properties-3
1941s # slow test /gobject/refcount/properties-3 executed in 30.00 secs
1941s # End of refcount tests
1941s # End of gobject tests
1941s ok - glib/properties-refcount3.test
1941s # Running test: glib/qdata.test
1941s TAP version 14
1941s # random seed: R02Sd8a411a0ee3e6b3a1f3d7e39ab9bcc85
1941s 1..2
1941s # Start of qdata tests
1941s # Executing: glib/qdata.test
1942s ok 1 /qdata/threaded
1942s ok 2 /qdata/dup
1942s # End of qdata tests
1942s ok - glib/qdata.test
1942s # Running test: glib/srvtarget.test
1942s TAP version 14
1942s # random seed: R02S94dc1e6f0b9c98fd5f3fa95b9c838cd5
1942s 1..1
1942s # Start of srvtarget tests
1942s ok 1 /srvtarget/srv-target-ordering
1942s # slow test /srvtarget/srv-target-ordering executed in 0.59 secs
1942s # End of srvtarget tests
1942s ok - glib/srvtarget.test
1942s # Running test: glib/glistmodel.test
1942s TAP version 14
1942s # random seed: R02S6e3c458f7d1566073af2c669eea0a3dd
1942s 1..18
1942s # Start of glistmodel tests
1942s # Start of store tests
1942s ok 1 /glistmodel/store/properties
1942s ok 2 /glistmodel/store/non-gobjects
1942s ok 3 /glistmodel/store/boundaries
1942s ok 4 /glistmodel/store/refcounts
1942s ok 5 /glistmodel/store/sorted
1942s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
1942s ok 6 /glistmodel/store/splice-replace-middle
1942s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
1942s ok 7 /glistmodel/store/splice-replace-all
1942s ok 8 /glistmodel/store/splice-noop
1942s ok 9 /glistmodel/store/splice-remove-multiple
1942s ok 10 /glistmodel/store/splice-add-multiple
1942s ok 11 /glistmodel/store/splice-wrong-type
1942s ok 12 /glistmodel/store/item-type
1942s ok 13 /glistmodel/store/remove-all
1942s ok 14 /glistmodel/store/sort
1942s ok 15 /glistmodel/store/get-item-cache
1942s ok 16 /glistmodel/store/items-changed
1942s ok 17 /glistmodel/store/past-end
1942s ok 18 /glistmodel/store/find
1942s # End of store tests
1942s # End of glistmodel tests
1942s ok - glib/glistmodel.test
1942s # Running test: glib/win32-appinfo.test
1942s TAP version 14
1942s # random seed: R02S9a57fc2cd115761c43dd9020669c1944
1942s 1..5
1942s # Start of appinfo tests
1942s ok 1 /appinfo/utf16-strfuncs
1942s ok 2 /appinfo/win32-extract-executable
1942s ok 3 /appinfo/win32-rundll32-fixup
1942s ok 4 /appinfo/win32-parse-filename
1942s ok 5 /appinfo/win32-utf16-conversion-fail
1942s # Start of subprocess tests
1942s # End of subprocess tests
1942s # End of appinfo tests
1942s ok - glib/win32-appinfo.test
1942s # Running test: glib/module-test-library.test
1942s TAP version 14
1942s # random seed: R02S6eedf27d49ee11d3f2a4cdbda02208dd
1942s 1..3
1942s # Start of module tests
1942s ok 1 /module/basics
1942s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
1942s ok 2 /module/invalid-libtool-archive
1942s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
1942s ok 3 /module/local-binding
1942s # End of module tests
1942s ok - glib/module-test-library.test
1942s # Running test: glib/cache.test
1942s TAP version 14
1942s # random seed: R02S955d092871df567daa5c46d209b55f5c
1942s 1..1
1942s # Start of cache tests
1942s ok 1 /cache/basic
1942s # End of cache tests
1942s ok - glib/cache.test
1942s # Running test: glib/basics-gobject.test
1942s TAP version 14
1942s # random seed: R02Sceadf9d1343499eb7707473a854cc37b
1942s 1..1
1942s # Start of gobject tests
1942s # private data during initialization: 54321 == 54321
1942s # MAIN: emit test-signal:
1942s # ::test_signal default_handler called
1942s # ::test_signal default_handler called
1942s # ::test_signal default_handler called
1942s # signal return: ""
1942s # MAIN: call iface print-string on test and derived object:
1942s # Iface-FOO: "iface-string-from-test-type" from 0xe557c50
1942s # Iface-BAR: "iface-string-from-derived-type" from 0xe557b30
1942s # chaining:
1942s # Iface-FOO: "iface-string-from-derived-type" from 0xe557b30
1942s # private data after initialization: 54321 == 54321
1942s ok 1 /gobject/basics
1942s # End of gobject tests
1942s ok - glib/basics-gobject.test
1942s # Running test: glib/macros-c-11.test
1942s TAP version 14
1942s # random seed: R02S32fc54406fd0cb00b5cf630e5987e5fa
1942s 1..4
1942s # Start of C tests
1942s ok 1 /C/standard-11
1942s # End of C tests
1942s # Start of alignof tests
1942s ok 2 /alignof/fallback
1942s # End of alignof tests
1942s # Start of assert tests
1942s ok 3 /assert/static
1942s # End of assert tests
1942s # Start of struct tests
1942s ok 4 /struct/sizeof_member
1942s # End of struct tests
1942s ok - glib/macros-c-11.test
1942s # Running test: glib/giomodule.test
1942s TAP version 14
1942s # random seed: R02S43e94ce21722d70119404cfdd4b3acab
1942s 1..3
1942s # Start of giomodule tests
1942s ok 1 /giomodule/extension-point
1942s ok 2 /giomodule/module-scan-all
1942s ok 3 /giomodule/module-scan-all-with-scope
1942s # End of giomodule tests
1942s ok - glib/giomodule.test
1942s # Running test: glib/autoptr-girepository.test
1942s TAP version 14
1942s # random seed: R02S2b3f90a3c3fbd2352cd43ddb20811a28
1942s 1..24
1942s # Start of autoptr tests
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/repository/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 1 /autoptr/repository
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/typelib/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 2 /autoptr/typelib
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/base-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 3 /autoptr/base-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/arg-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 4 /autoptr/arg-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callable-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 5 /autoptr/callable-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/callback-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 6 /autoptr/callback-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/constant-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 7 /autoptr/constant-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/enum-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 8 /autoptr/enum-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/field-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 9 /autoptr/field-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/flags-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 10 /autoptr/flags-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/function-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 11 /autoptr/function-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/interface-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 12 /autoptr/interface-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/object-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 13 /autoptr/object-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/property-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 14 /autoptr/property-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/registered-type-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 15 /autoptr/registered-type-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/signal-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 16 /autoptr/signal-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/struct-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 17 /autoptr/struct-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/type-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 18 /autoptr/type-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/union-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 19 /autoptr/union-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/value-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 20 /autoptr/value-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/autoptr/vfunc-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 21 /autoptr/vfunc-info
1942s # End of autoptr tests
1942s # Start of auto tests
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/auto/arg-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 22 /auto/arg-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/auto/type-info/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 23 /auto/type-info
1942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/home
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/cache
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/system-config2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/config
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/system-data2
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/data
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/state
1942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_LLCVX2/auto/function-invoker/.dirs/runtime
1942s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1942s ok 24 /auto/function-invoker
1942s # End of auto tests
1942s ok - glib/autoptr-girepository.test
1942s # Running test: glib/readwrite.test
1942s TAP version 14
1942s # random seed: R02Scb43f71927d2712d80533af1999983c6
1942s 1..3
1942s # Start of readwrite tests
1942s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1942s ok 1 /readwrite/test_g_file_open_readwrite
1942s ok 2 /readwrite/test_g_file_create_readwrite
1942s ok 3 /readwrite/test_g_file_replace_readwrite
1942s # End of readwrite tests
1942s ok - glib/readwrite.test
1942s # Running test: glib/thread-pool-slow.test
1942s TAP version 14
1942s # random seed: R02Sfbd2901e1389842216c278ae7a69bb4a
1942s 1..7
1942s # Start of threadpool tests
1942s ok 1 /threadpool/functions
1943s ok 2 /threadpool/stop-unused
1943s # slow test /threadpool/stop-unused executed in 0.51 secs
1943s ok 3 /threadpool/pools
1943s # [unsorted] ===> pushed new thread with id:28, number of threads:1, unprocessed:1
1943s # [unsorted] ===> pushed new thread with id:19, number of threads:2, unprocessed:2
1943s # [unsorted] ===> pushed new thread with id:90, number of threads:3, unprocessed:3
1943s # [unsorted] ===> pushed new thread with id:57, number of threads:4, unprocessed:4
1943s # [unsorted] ===> pushed new thread with id:92, number of threads:5, unprocessed:5
1943s # [unsorted] ===> pushed new thread with id:14, number of threads:6, unprocessed:6
1943s # [unsorted] ===> pushed new thread with id:38, number of threads:7, unprocessed:7
1943s # [unsorted] ===> pushed new thread with id:51, number of threads:8, unprocessed:8
1943s # [unsorted] ===> pushed new thread with id:29, number of threads:9, unprocessed:9
1943s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:9
1943s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:10
1943s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:11
1943s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:12
1943s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:13
1943s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:14
1943s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:15
1943s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:15
1943s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:15
1943s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:16
1943s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:17
1943s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:18
1943s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:19
1943s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:20
1943s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:21
1943s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:22
1943s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:23
1943s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:24
1943s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:25
1943s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:19
1943s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:20
1943s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:21
1943s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:22
1943s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:23
1943s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:24
1943s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:25
1943s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:26
1943s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:27
1943s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:28
1943s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:29
1943s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:30
1943s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:31
1943s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:32
1943s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:33
1943s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:34
1943s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:35
1943s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:36
1943s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:37
1943s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:38
1943s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:39
1943s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:40
1943s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:41
1943s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:42
1943s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:43
1943s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:44
1943s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:45
1943s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:46
1943s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:47
1943s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:48
1943s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:49
1943s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:50
1943s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:51
1943s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:52
1943s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:53
1943s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:54
1943s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:55
1943s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:56
1943s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:57
1943s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:58
1943s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:59
1943s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:60
1943s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:61
1943s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:62
1943s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:63
1943s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:64
1943s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:65
1943s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:66
1943s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:67
1943s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:68
1943s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:69
1943s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:70
1943s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:71
1943s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:72
1943s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:73
1943s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:74
1943s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:75
1943s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:76
1943s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:77
1943s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:78
1943s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:79
1943s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:80
1943s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:81
1943s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:82
1943s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:83
1943s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:84
1943s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:85
1943s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:86
1943s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:87
1943s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:88
1943s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:89
1943s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:90
1943s ok 4 /threadpool/no-sort
1943s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:1
1943s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:2
1943s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:3
1943s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:4
1943s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:5
1943s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:6
1943s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:7
1943s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:8
1943s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:9
1943s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:10
1943s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:11
1943s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:12
1943s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:13
1943s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:14
1943s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:15
1943s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:16
1943s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:17
1943s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:18
1943s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:19
1943s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:20
1943s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:21
1943s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:22
1943s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:23
1943s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:24
1943s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:25
1943s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:26
1943s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:27
1943s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:28
1943s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:29
1943s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:30
1943s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:31
1943s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:32
1943s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:33
1943s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:34
1943s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:35
1943s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:36
1943s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:37
1943s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:38
1943s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:39
1943s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:40
1943s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:41
1943s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:42
1943s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:43
1943s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:44
1943s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:45
1943s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:46
1943s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:47
1943s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:48
1943s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:49
1943s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:50
1943s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:51
1943s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:52
1943s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:53
1943s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:54
1943s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:55
1943s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:56
1943s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:57
1943s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:58
1943s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:59
1943s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:60
1943s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:61
1943s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:62
1943s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:63
1943s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:64
1943s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:65
1943s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:66
1943s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:67
1943s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:68
1943s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:69
1943s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:70
1943s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:71
1943s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:72
1943s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:73
1943s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:74
1943s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:75
1943s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:76
1943s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:77
1943s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:78
1943s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:79
1943s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:80
1943s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:81
1943s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:82
1943s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:83
1943s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:84
1943s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:85
1943s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:86
1943s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:87
1943s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:88
1943s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:89
1943s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:90
1943s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:91
1943s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:92
1943s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:93
1943s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:94
1943s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:95
1943s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:96
1943s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:97
1943s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:98
1943s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:99
1943s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:100
1943s # Starting thread pool processing
1943s ok 5 /threadpool/sort
1943s ok 6 /threadpool/stop-unused-multiple
1943s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs
1943s # Pool idle thread count: 0, unprocessed jobs: 40
1944s # Pool idle thread count: 0, unprocessed jobs: 0
1944s # Pool idle thread count: 0, unprocessed jobs: 0
1944s # Pool idle thread count: 10, unprocessed jobs: 0
1944s # Pool idle thread count: 10, unprocessed jobs: 0
1945s # Pool idle thread count: 10, unprocessed jobs: 0
1945s # Pool idle thread count: 10, unprocessed jobs: 0
1945s # Pool idle thread count: 10, unprocessed jobs: 0
1945s # Pool idle thread count: 10, unprocessed jobs: 0
1946s # Pool idle thread count: 10, unprocessed jobs: 0
1946s # Pool idle thread count: 10, unprocessed jobs: 0
1946s # Pool idle thread count: 10, unprocessed jobs: 0
1946s # Pool idle thread count: 10, unprocessed jobs: 0
1946s # Executing: glib/thread-pool-slow.test
1947s # Pool idle thread count: 10, unprocessed jobs: 0
1947s # Pool idle thread count: 10, unprocessed jobs: 0
1947s # Pool idle thread count: 10, unprocessed jobs: 0
1947s # Pool idle thread count: 10, unprocessed jobs: 0
1948s # Pool idle thread count: 10, unprocessed jobs: 0
1948s # Pool idle thread count: 10, unprocessed jobs: 0
1948s # Pool idle thread count: 10, unprocessed jobs: 0
1948s # Pool idle thread count: 10, unprocessed jobs: 0
1949s # Pool idle thread count: 10, unprocessed jobs: 0
1949s # Pool idle thread count: 10, unprocessed jobs: 0
1949s # Pool idle thread count: 10, unprocessed jobs: 0
1949s # Pool idle thread count: 10, unprocessed jobs: 0
1950s # Pool idle thread count: 10, unprocessed jobs: 0
1950s # Pool idle thread count: 10, unprocessed jobs: 0
1950s # Pool idle thread count: 10, unprocessed jobs: 0
1950s # Pool idle thread count: 10, unprocessed jobs: 0
1951s # Pool idle thread count: 10, unprocessed jobs: 0
1951s # Pool idle thread count: 10, unprocessed jobs: 0
1951s # Pool idle thread count: 10, unprocessed jobs: 0
1951s # Pool idle thread count: 10, unprocessed jobs: 0
1951s # Executing: glib/thread-pool-slow.test
1952s # Pool idle thread count: 10, unprocessed jobs: 0
1952s # Pool idle thread count: 10, unprocessed jobs: 0
1952s # Pool idle thread count: 10, unprocessed jobs: 2
1952s # Pool idle thread count: 8, unprocessed jobs: 0
1952s # Pool idle thread count: 8, unprocessed jobs: 0
1952s # Pool idle thread count: 8, unprocessed jobs: 0
1953s # Pool idle thread count: 10, unprocessed jobs: 0
1953s # Pool idle thread count: 10, unprocessed jobs: 0
1953s # Pool idle thread count: 10, unprocessed jobs: 0
1953s # Pool idle thread count: 10, unprocessed jobs: 0
1954s # Pool idle thread count: 10, unprocessed jobs: 0
1954s # Pool idle thread count: 10, unprocessed jobs: 0
1954s # Pool idle thread count: 2, unprocessed jobs: 0
1954s # Pool idle thread count: 2, unprocessed jobs: 0
1955s # Pool idle thread count: 2, unprocessed jobs: 0
1955s # Pool idle thread count: 2, unprocessed jobs: 0
1955s # Pool idle thread count: 2, unprocessed jobs: 0
1955s # Pool idle thread count: 2, unprocessed jobs: 0
1956s # Pool idle thread count: 2, unprocessed jobs: 0
1956s # Pool idle thread count: 2, unprocessed jobs: 0
1956s # Pool idle thread count: 2, unprocessed jobs: 0
1956s # Pool idle thread count: 2, unprocessed jobs: 0
1956s # Executing: glib/thread-pool-slow.test
1957s # Pool idle thread count: 2, unprocessed jobs: 0
1957s # Pool idle thread count: 2, unprocessed jobs: 0
1957s # Pool idle thread count: 2, unprocessed jobs: 0
1957s # Pool idle thread count: 2, unprocessed jobs: 0
1958s # Pool idle thread count: 2, unprocessed jobs: 0
1958s # Pool idle thread count: 2, unprocessed jobs: 0
1958s # Pool idle thread count: 2, unprocessed jobs: 0
1958s # Pool idle thread count: 2, unprocessed jobs: 0
1959s # Pool idle thread count: 2, unprocessed jobs: 0
1959s # Pool idle thread count: 2, unprocessed jobs: 0
1959s # Pool idle thread count: 2, unprocessed jobs: 0
1959s # Pool idle thread count: 2, unprocessed jobs: 0
1960s # Pool idle thread count: 2, unprocessed jobs: 0
1960s # Pool idle thread count: 2, unprocessed jobs: 0
1960s # Pool idle thread count: 2, unprocessed jobs: 0
1960s # Pool idle thread count: 2, unprocessed jobs: 0
1961s # Pool idle thread count: 2, unprocessed jobs: 0
1961s # Pool idle thread count: 2, unprocessed jobs: 0
1961s # Pool idle thread count: 2, unprocessed jobs: 0
1961s # Pool idle thread count: 2, unprocessed jobs: 0
1961s # Executing: glib/thread-pool-slow.test
1962s # Pool idle thread count: 2, unprocessed jobs: 0
1962s # Pool idle thread count: 2, unprocessed jobs: 0
1962s # Pool idle thread count: 2, unprocessed jobs: 0
1962s # Pool idle thread count: 2, unprocessed jobs: 0
1963s ok 7 /threadpool/idle-time
1963s # slow test /threadpool/idle-time executed in 19.52 secs
1963s # End of threadpool tests
1963s ok - glib/thread-pool-slow.test
1963s # Running test: glib/socket-address.test
1963s TAP version 14
1963s # random seed: R02S3dcd2098596b75e155ba9c7aa20ff4a4
1963s 1..2
1963s # Start of socket tests
1963s # Start of address tests
1963s # Start of unix tests
1963s ok 1 /socket/address/unix/construct
1963s ok 2 /socket/address/unix/to-string
1963s # End of unix tests
1963s # End of address tests
1963s # End of socket tests
1963s ok - glib/socket-address.test
1963s # Running test: glib/io-stream.test
1963s TAP version 14
1963s # random seed: R02Sb1a22a14a6fff46beb4a8a86d001a359
1963s 1..3
1963s # Start of io-stream tests
1963s ok 1 /io-stream/copy-chunks
1963s # Start of close tests
1963s # Start of async tests
1963s ok 2 /io-stream/close/async/memory
1963s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1963s ok 3 /io-stream/close/async/file
1963s # End of async tests
1963s # End of close tests
1963s # End of io-stream tests
1963s ok - glib/io-stream.test
1963s # Running test: glib/power-profile-monitor-dbus.test
1963s TAP version 13
1963s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled
1963s 1..1
1963s ok - glib/power-profile-monitor-dbus.test
1963s # Running test: glib/thread-deprecated.test
1963s TAP version 14
1963s # random seed: R02Sb68dd85e70ee2c90ea1c262396c25a42
1963s 1..6
1963s # Start of thread tests
1963s ok 1 /thread/mutex
1964s ok 2 /thread/static-rec-mutex
1966s # Executing: glib/thread-deprecated.test
1968s ok 3 /thread/static-private
1968s # slow test /thread/static-private executed in 4.40 secs
1971s # Executing: glib/thread-deprecated.test
1973s ok 4 /thread/static-rw-lock
1973s # slow test /thread/static-rw-lock executed in 5.00 secs
1973s ok 5 /thread/once
1976s # Executing: glib/thread-deprecated.test
1981s # Executing: glib/thread-deprecated.test
1983s ok 6 /thread/rerun-all
1983s # slow test /thread/rerun-all executed in 10.03 secs
1983s # End of thread tests
1983s ok - glib/thread-deprecated.test
1983s # Running test: glib/notify-init2.test
1983s TAP version 14
1983s # random seed: R02S7647542eb8a132910a562a6ac3b5ec2a
1983s 1..1
1983s # Start of properties tests
1983s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works
1983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
1983s ok 1 /properties/notify-in-init2
1983s # End of properties tests
1983s ok - glib/notify-init2.test
1983s # Running test: glib/g-icon.test
1983s TAP version 14
1983s # random seed: R02Scc7d54adbab981a24846a72cb6cdd32c
1983s 1..6
1983s # Start of icons tests
1983s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1983s ok 1 /icons/to-string
1983s ok 2 /icons/serialize
1983s ok 3 /icons/themed
1983s ok 4 /icons/emblemed
1983s ok 5 /icons/file
1983s ok 6 /icons/bytes
1983s # End of icons tests
1983s ok - glib/g-icon.test
1983s # Running test: glib/defaultiface.test
1983s TAP version 14
1983s # random seed: R02S1d1e15a5a13d98001ed8b8ca95b04bb4
1983s 1..2
1983s # Start of gobject tests
1983s ok 1 /gobject/static-iface
1983s ok 2 /gobject/dynamic-iface
1983s # End of gobject tests
1983s ok - glib/defaultiface.test
1983s # Running test: glib/threadtests.test
1983s TAP version 14
1983s # random seed: R02S3e4f3fb5c677e19a50c5bdcecbd481d2
1983s 1..5
1983s # Start of GObject tests
1983s ok 1 /GObject/threaded-object-init
1984s ok 2 /GObject/threaded-weak-ref
1984s # slow test /GObject/threaded-weak-ref executed in 0.72 secs
1984s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM
1984s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
1984s # Start of threaded-weak-ref tests
1984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1984s # /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.
1984s ok 5 /GObject/threaded-weak-ref/on-finalization
1984s # End of threaded-weak-ref tests
1984s # End of GObject tests
1984s ok - glib/threadtests.test
1984s # Running test: glib/signals-refcount4.test
1984s TAP version 14
1984s # random seed: R02Sa3301460bcc3d16f4e6350321678f76b
1984s 1..1
1984s # Start of gobject tests
1984s # Start of refcount tests
1984s # init 0xb7a8a58
1984s #
1984s # init 0xb7a8bb0
1984s #
1986s # Executing: glib/signals-refcount4.test
1989s # dispose 0xb7a8a58!
1989s #
1989s # dispose 0xb7a8bb0!
1989s #
1989s ok 1 /gobject/refcount/signals
1989s # slow test /gobject/refcount/signals executed in 5.00 secs
1989s # End of refcount tests
1989s # End of gobject tests
1989s ok - glib/signals-refcount4.test
1989s # Running test: glib/bytes.test
1989s TAP version 14
1989s # random seed: R02Scd4bb5024278f66e677fe820cca2df6c
1989s 1..21
1989s # Start of bytes tests
1989s ok 1 /bytes/new
1989s ok 2 /bytes/new-take
1989s ok 3 /bytes/new-static
1989s ok 4 /bytes/new-with-free-func
1989s ok 5 /bytes/new-from-bytes
1989s ok 6 /bytes/new-from-bytes-slice
1989s ok 7 /bytes/new-from-bytes-shared-ref
1989s ok 8 /bytes/hash
1989s ok 9 /bytes/equal
1989s ok 10 /bytes/compare
1989s ok 11 /bytes/null
1989s ok 12 /bytes/get-region
1989s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op
1989s ok 13 /bytes/unref-null
1989s # Start of to-data tests
1989s ok 14 /bytes/to-data/transferred
1989s ok 15 /bytes/to-data/two-refs
1989s ok 16 /bytes/to-data/non-malloc
1989s ok 17 /bytes/to-data/different-free-func
1989s # End of to-data tests
1989s # Start of to-array tests
1989s ok 18 /bytes/to-array/transferred
1989s ok 19 /bytes/to-array/two-refs
1989s ok 20 /bytes/to-array/non-malloc
1989s # Start of transferred tests
1989s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected
1989s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize
1989s # End of transferred tests
1989s # End of to-array tests
1989s # End of bytes tests
1989s ok - glib/bytes.test
1989s # Running test: glib/struct-info.test
1989s TAP version 14
1989s # random seed: R02S5e516dfa7ee191617d1d15bfb8d24811
1989s 1..4
1989s # Start of struct-info tests
1989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/home
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/cache
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/system-config2
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/config
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/system-data2
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/data
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/state
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YQKWX2/struct-info/field-iterators/.dirs/runtime
1989s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1989s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field()
1989s ok 1 /struct-info/field-iterators
1989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/home
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/cache
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/system-config2
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/config
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/system-data2
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/data
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/state
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YQKWX2/struct-info/sizeof-gvalue/.dirs/runtime
1989s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1989s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue
1989s ok 2 /struct-info/sizeof-gvalue
1989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/home
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/config
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/data
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/state
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YQKWX2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime
1989s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1989s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer()
1989s ok 3 /struct-info/is-pointer-for-struct-method-arg
1989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/home
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/cache
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/system-config2
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/config
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/system-data2
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/data
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/state
1989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YQKWX2/struct-info/boxed/.dirs/runtime
1989s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1989s # /struct-info/boxed summary: Test that a boxed struct is recognised as such
1989s ok 4 /struct-info/boxed
1989s # End of struct-info tests
1989s ok - glib/struct-info.test
1989s # Running test: glib/tree.test
1989s TAP version 14
1989s # random seed: R02Scd8a14e238ed44d8c167c69101759552
1989s 1..7
1989s # Start of tree tests
1989s ok 1 /tree/search
1989s ok 2 /tree/remove
1989s ok 3 /tree/destroy
1989s ok 4 /tree/traverse
1989s ok 5 /tree/insert
1989s ok 6 /tree/bounds
1989s ok 7 /tree/remove-all
1989s # End of tree tests
1989s ok - glib/tree.test
1989s # Running test: glib/cmph-bdz.test
1989s TAP version 14
1989s # random seed: R02Sd211b079297953f9f6bd835cac3713ee
1989s 1..2
1989s # Start of cmph-bdz tests
1989s ok 1 /cmph-bdz/search
1989s ok 2 /cmph-bdz/search-packed
1989s # End of cmph-bdz tests
1989s ok - glib/cmph-bdz.test
1989s # Running test: glib/collate.test
1989s TAP version 14
1989s # random seed: R02S56776e5ae2761e55cd46e2a33b268637
1989s 1..9
1989s # Start of unicode tests
1989s # Start of collate tests
1989s ok 1 /unicode/collate/0
1989s ok 2 /unicode/collate/1
1989s ok 3 /unicode/collate/2
1989s # End of collate tests
1989s # Start of collate-key tests
1989s ok 4 /unicode/collate-key/0
1989s ok 5 /unicode/collate-key/1
1989s ok 6 /unicode/collate-key/2
1989s # End of collate-key tests
1989s # Start of collate-filename tests
1989s ok 7 /unicode/collate-filename/0
1989s ok 8 /unicode/collate-filename/1
1989s ok 9 /unicode/collate-filename/2
1989s # End of collate-filename tests
1989s # End of unicode tests
1989s ok - glib/collate.test
1989s # Running test: glib/strvbuilder.test
1989s TAP version 14
1989s # random seed: R02Saca9e255596eac6ced32db90980a5778
1989s 1..7
1989s # Start of strvbuilder tests
1989s ok 1 /strvbuilder/empty
1989s ok 2 /strvbuilder/add
1989s ok 3 /strvbuilder/addv
1989s ok 4 /strvbuilder/add_many
1989s ok 5 /strvbuilder/take
1989s ok 6 /strvbuilder/ref
1989s ok 7 /strvbuilder/unref_to_strv
1989s # End of strvbuilder tests
1989s ok - glib/strvbuilder.test
1989s # Running test: glib/gsocketclient-slow.test
1989s TAP version 14
1989s # random seed: R02Sb2484f76ab83f6683e1c036b6911fda2
1989s 1..4
1989s # Start of socket-client tests
1989s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184
1989s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1989s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x18c1540 and GSocketClientAsyncConnectData 0x18bd1f0
1989s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1989s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1989s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x18c29f8 for GSocketClientAsyncConnectData 0x18bd1f0
1989s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1990s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
1990s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1990s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
1990s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1990s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1990s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x18c3a38 for GSocketClientAsyncConnectData 0x18bd1f0
1990s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1990s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
1990s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
1990s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused
1990s ok 1 /socket-client/connection-fail
1990s # slow test /socket-client/connection-fail executed in 1.20 secs
1990s # Start of happy-eyeballs tests
1990s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x18c4920 and GSocketClientAsyncConnectData 0x18bd1f0
1990s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1990s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1990s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x18c4f58 for GSocketClientAsyncConnectData 0x18bd1f0
1990s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1991s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
1991s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1991s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1991s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1991s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1991s ok 2 /socket-client/happy-eyeballs/slow
1991s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs
1991s # Start of cancellation tests
1991s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x18c5560 and GSocketClientAsyncConnectData 0x18c4c88
1991s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1991s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled
1991s ok 3 /socket-client/happy-eyeballs/cancellation/instant
1991s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x18c5ba0 and GSocketClientAsyncConnectData 0x18c5710
1991s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1991s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1991s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x18c6210 for GSocketClientAsyncConnectData 0x18c5710
1991s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1991s # Executing: glib/gsocketclient-slow.test
1992s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
1992s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1992s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1992s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1992s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled!
1992s ok 4 /socket-client/happy-eyeballs/cancellation/delayed
1992s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs
1992s # End of cancellation tests
1992s # End of happy-eyeballs tests
1992s # End of socket-client tests
1992s ok - glib/gsocketclient-slow.test
1992s # Running test: glib/gdbus-server-auth.test
1992s TAP version 14
1992s # random seed: R02Sd88d9c37e6afe08f376d6c129069077d
1992s 1..9
1992s # Start of gdbus tests
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/.dirs/runtime
1992s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-YDL8X2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
1992s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-YDL8X2/dbus-N5KDdrbB
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10362
1992s ok 1 /gdbus/server-auth
1992s # Start of server-auth tests
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/abstract/.dirs/runtime
1992s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-YOJ7X2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
1992s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-YOJ7X2/dbus-lbkPssNo
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1992s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1992s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10362
1992s ok 2 /gdbus/server-auth/abstract
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/tcp/.dirs/runtime
1992s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
1992s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/.dirs/runtime
1992s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-C5U7X2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
1992s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-C5U7X2/dbus-NNB90j02
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10362
1992s ok 4 /gdbus/server-auth/anonymous
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/.dirs/runtime
1992s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-7H96X2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1992s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-7H96X2/dbus-tD72AmmB
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10362
1992s ok 5 /gdbus/server-auth/external
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/.dirs/runtime
1992s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-2JD6X2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
1992s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1992s # Start of anonymous tests
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/anonymous/tcp/.dirs/runtime
1992s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
1992s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1992s # End of anonymous tests
1992s # Start of external tests
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/external/require-same-user/.dirs/runtime
1992s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-B6C6X2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1992s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZCN8X2/gdbus-server-auth-B6C6X2/dbus-mc3BVlKm
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10362
1992s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1992s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1992s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1992s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10362,uid=1000,gid=1000
1992s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10362
1992s ok 8 /gdbus/server-auth/external/require-same-user
1992s # End of external tests
1992s # Start of sha1 tests
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZCN8X2/gdbus/server-auth/sha1/tcp/.dirs/runtime
1992s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
1992s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1992s # End of sha1 tests
1992s # End of server-auth tests
1992s # End of gdbus tests
1992s ok - glib/gdbus-server-auth.test
1992s # Running test: glib/vfs.test
1992s TAP version 14
1992s # random seed: R02S9af91aed7bc65545626da5a103e7761b
1992s 1..3
1992s # Start of gvfs tests
1992s ok 1 /gvfs/local
1992s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1992s ok 2 /gvfs/register-scheme
1992s # Start of resource tests
1992s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090
1992s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI
1992s ok 3 /gvfs/resource/malformed-escaping
1992s # End of resource tests
1992s # End of gvfs tests
1992s ok - glib/vfs.test
1992s # Running test: glib/portal-support-none.test
1992s TAP version 14
1992s # random seed: R02S34cbdf6a775ad54e274849f401f015f0
1992s 1..1
1992s # Start of portal-support tests
1992s ok 1 /portal-support/none
1992s # End of portal-support tests
1992s ok - glib/portal-support-none.test
1992s # Running test: glib/socket-service.test
1992s TAP version 14
1992s # random seed: R02S1923a936e69294975174cd15105ac569
1992s 1..4
1992s # Start of socket-service tests
1992s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1992s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x93c1dd0 and GSocketClientAsyncConnectData 0x93bd660
1992s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1992s ok 1 /socket-service/start-stop
1992s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x93c3068 and GSocketClientAsyncConnectData 0x93c2ee0
1992s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1992s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1992s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x93c3438 for GSocketClientAsyncConnectData 0x93bd660
1992s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1992s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1992s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1992s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1992s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1992s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x93c2458 for GSocketClientAsyncConnectData 0x93c2ee0
1992s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1992s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1992s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1992s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1992s ok 2 /socket-service/read_write_async
1992s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x93c2e78 and GSocketClientAsyncConnectData 0x93c5410
1992s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1992s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1992s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x93c3ed0 for GSocketClientAsyncConnectData 0x93c5410
1992s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1992s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1992s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1992s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1992s ok 3 /socket-service/read_writev_async
1992s # Start of threaded tests
1992s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570
1992s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x93c5bd8 and GSocketClientAsyncConnectData 0x93c1dc8
1992s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1992s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1992s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x93c5b50 for GSocketClientAsyncConnectData 0x93c1dc8
1992s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1992s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1992s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1992s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1992s ok 4 /socket-service/threaded/712570
1992s # End of threaded tests
1992s # End of socket-service tests
1992s ok - glib/socket-service.test
1992s # Running test: glib/unix-fd.test
1992s TAP version 14
1992s # random seed: R02S569b14ba15157bb461648326434b2988
1992s 1..2
1992s # Start of unix-fd tests
1992s ok 1 /unix-fd/fd-list
1992s ok 2 /unix-fd/scm
1992s # End of unix-fd tests
1992s ok - glib/unix-fd.test
1992s # Running test: glib/atomic-c-17.test
1992s TAP version 14
1992s # random seed: R02S6f26c0976154d75f3ad2c61253a3c064
1992s 1..2
1992s # Start of atomic tests
1992s ok 1 /atomic/types
1992s ok 2 /atomic/threaded
1992s # End of atomic tests
1992s ok - glib/atomic-c-17.test
1992s # Running test: glib/checksum.test
1992s TAP version 14
1992s # random seed: R02S1ed901a7f5f9874fabe1cd04a23a9540
1992s 1..1851
1992s # Start of checksum tests
1992s ok 1 /checksum/unsupported
1992s # Start of MD5 tests
1992s ok 2 /checksum/MD5/0
1992s ok 3 /checksum/MD5/1
1992s ok 4 /checksum/MD5/2
1992s ok 5 /checksum/MD5/3
1992s ok 6 /checksum/MD5/4
1992s ok 7 /checksum/MD5/5
1992s ok 8 /checksum/MD5/6
1992s ok 9 /checksum/MD5/7
1992s ok 10 /checksum/MD5/8
1992s ok 11 /checksum/MD5/9
1992s ok 12 /checksum/MD5/10
1992s ok 13 /checksum/MD5/11
1992s ok 14 /checksum/MD5/12
1992s ok 15 /checksum/MD5/13
1992s ok 16 /checksum/MD5/14
1992s ok 17 /checksum/MD5/15
1992s ok 18 /checksum/MD5/16
1992s ok 19 /checksum/MD5/17
1992s ok 20 /checksum/MD5/18
1992s ok 21 /checksum/MD5/19
1992s ok 22 /checksum/MD5/20
1992s ok 23 /checksum/MD5/21
1992s ok 24 /checksum/MD5/22
1992s ok 25 /checksum/MD5/23
1992s ok 26 /checksum/MD5/24
1992s ok 27 /checksum/MD5/25
1992s ok 28 /checksum/MD5/26
1992s ok 29 /checksum/MD5/27
1992s ok 30 /checksum/MD5/28
1992s ok 31 /checksum/MD5/29
1992s ok 32 /checksum/MD5/30
1992s ok 33 /checksum/MD5/31
1992s ok 34 /checksum/MD5/32
1992s ok 35 /checksum/MD5/33
1992s ok 36 /checksum/MD5/34
1992s ok 37 /checksum/MD5/35
1992s ok 38 /checksum/MD5/36
1992s ok 39 /checksum/MD5/37
1992s ok 40 /checksum/MD5/38
1992s ok 41 /checksum/MD5/39
1992s ok 42 /checksum/MD5/40
1992s ok 43 /checksum/MD5/41
1992s ok 44 /checksum/MD5/42
1992s ok 45 /checksum/MD5/43
1992s ok 46 /checksum/MD5/44
1992s ok 47 /checksum/MD5/45
1992s ok 48 /checksum/MD5/46
1992s ok 49 /checksum/MD5/47
1992s ok 50 /checksum/MD5/48
1992s ok 51 /checksum/MD5/49
1992s ok 52 /checksum/MD5/50
1992s ok 53 /checksum/MD5/51
1992s ok 54 /checksum/MD5/52
1992s ok 55 /checksum/MD5/53
1992s ok 56 /checksum/MD5/54
1992s ok 57 /checksum/MD5/55
1992s ok 58 /checksum/MD5/56
1992s ok 59 /checksum/MD5/57
1992s ok 60 /checksum/MD5/58
1992s ok 61 /checksum/MD5/59
1992s ok 62 /checksum/MD5/60
1992s ok 63 /checksum/MD5/61
1992s ok 64 /checksum/MD5/62
1992s ok 65 /checksum/MD5/63
1992s ok 66 /checksum/MD5/64
1992s ok 67 /checksum/MD5/65
1992s ok 68 /checksum/MD5/66
1992s ok 69 /checksum/MD5/67
1992s ok 70 /checksum/MD5/68
1992s ok 71 /checksum/MD5/69
1992s ok 72 /checksum/MD5/70
1992s ok 73 /checksum/MD5/71
1992s ok 74 /checksum/MD5/72
1992s ok 75 /checksum/MD5/73
1992s ok 76 /checksum/MD5/74
1992s ok 77 /checksum/MD5/75
1992s ok 78 /checksum/MD5/76
1992s ok 79 /checksum/MD5/77
1992s ok 80 /checksum/MD5/78
1992s ok 81 /checksum/MD5/79
1992s ok 82 /checksum/MD5/80
1992s ok 83 /checksum/MD5/81
1992s ok 84 /checksum/MD5/82
1992s ok 85 /checksum/MD5/83
1992s ok 86 /checksum/MD5/84
1992s ok 87 /checksum/MD5/85
1992s ok 88 /checksum/MD5/86
1992s ok 89 /checksum/MD5/87
1992s ok 90 /checksum/MD5/88
1992s ok 91 /checksum/MD5/89
1992s ok 92 /checksum/MD5/90
1992s ok 93 /checksum/MD5/91
1992s ok 94 /checksum/MD5/92
1992s ok 95 /checksum/MD5/93
1992s ok 96 /checksum/MD5/94
1992s ok 97 /checksum/MD5/95
1992s ok 98 /checksum/MD5/96
1992s ok 99 /checksum/MD5/97
1992s ok 100 /checksum/MD5/98
1992s ok 101 /checksum/MD5/99
1992s ok 102 /checksum/MD5/100
1992s ok 103 /checksum/MD5/101
1992s ok 104 /checksum/MD5/102
1992s ok 105 /checksum/MD5/103
1992s ok 106 /checksum/MD5/104
1992s ok 107 /checksum/MD5/105
1992s ok 108 /checksum/MD5/106
1992s ok 109 /checksum/MD5/107
1992s ok 110 /checksum/MD5/108
1992s ok 111 /checksum/MD5/109
1992s ok 112 /checksum/MD5/110
1992s ok 113 /checksum/MD5/111
1992s ok 114 /checksum/MD5/112
1992s ok 115 /checksum/MD5/113
1992s ok 116 /checksum/MD5/114
1992s ok 117 /checksum/MD5/115
1992s ok 118 /checksum/MD5/116
1992s ok 119 /checksum/MD5/117
1992s ok 120 /checksum/MD5/118
1992s ok 121 /checksum/MD5/119
1992s ok 122 /checksum/MD5/120
1992s ok 123 /checksum/MD5/121
1992s ok 124 /checksum/MD5/122
1992s ok 125 /checksum/MD5/123
1992s ok 126 /checksum/MD5/124
1992s ok 127 /checksum/MD5/125
1992s ok 128 /checksum/MD5/126
1992s ok 129 /checksum/MD5/127
1992s ok 130 /checksum/MD5/128
1992s ok 131 /checksum/MD5/129
1992s ok 132 /checksum/MD5/130
1992s ok 133 /checksum/MD5/131
1992s ok 134 /checksum/MD5/132
1992s ok 135 /checksum/MD5/133
1992s ok 136 /checksum/MD5/134
1992s ok 137 /checksum/MD5/135
1992s ok 138 /checksum/MD5/136
1992s ok 139 /checksum/MD5/137
1992s ok 140 /checksum/MD5/138
1992s ok 141 /checksum/MD5/139
1992s ok 142 /checksum/MD5/140
1992s ok 143 /checksum/MD5/141
1992s ok 144 /checksum/MD5/142
1992s ok 145 /checksum/MD5/143
1992s ok 146 /checksum/MD5/144
1992s ok 147 /checksum/MD5/145
1992s ok 148 /checksum/MD5/146
1992s ok 149 /checksum/MD5/147
1992s ok 150 /checksum/MD5/148
1992s ok 151 /checksum/MD5/149
1992s ok 152 /checksum/MD5/150
1992s ok 153 /checksum/MD5/151
1992s ok 154 /checksum/MD5/152
1992s ok 155 /checksum/MD5/153
1992s ok 156 /checksum/MD5/154
1992s ok 157 /checksum/MD5/155
1992s ok 158 /checksum/MD5/156
1992s ok 159 /checksum/MD5/157
1992s ok 160 /checksum/MD5/158
1992s ok 161 /checksum/MD5/159
1992s ok 162 /checksum/MD5/160
1992s ok 163 /checksum/MD5/161
1992s ok 164 /checksum/MD5/162
1992s ok 165 /checksum/MD5/163
1992s ok 166 /checksum/MD5/164
1992s ok 167 /checksum/MD5/165
1992s ok 168 /checksum/MD5/166
1992s ok 169 /checksum/MD5/167
1992s ok 170 /checksum/MD5/168
1992s ok 171 /checksum/MD5/169
1992s ok 172 /checksum/MD5/170
1992s ok 173 /checksum/MD5/171
1992s ok 174 /checksum/MD5/172
1992s ok 175 /checksum/MD5/173
1992s ok 176 /checksum/MD5/174
1992s ok 177 /checksum/MD5/175
1992s ok 178 /checksum/MD5/176
1992s ok 179 /checksum/MD5/177
1992s ok 180 /checksum/MD5/178
1992s ok 181 /checksum/MD5/179
1992s ok 182 /checksum/MD5/180
1992s ok 183 /checksum/MD5/181
1992s ok 184 /checksum/MD5/182
1992s ok 185 /checksum/MD5/183
1992s ok 186 /checksum/MD5/string
1992s ok 187 /checksum/MD5/bytes
1992s # Start of reset tests
1992s ok 188 /checksum/MD5/reset/0
1992s ok 189 /checksum/MD5/reset/1
1992s ok 190 /checksum/MD5/reset/2
1992s ok 191 /checksum/MD5/reset/3
1992s ok 192 /checksum/MD5/reset/4
1992s ok 193 /checksum/MD5/reset/5
1992s ok 194 /checksum/MD5/reset/6
1992s ok 195 /checksum/MD5/reset/7
1992s ok 196 /checksum/MD5/reset/8
1992s ok 197 /checksum/MD5/reset/9
1992s ok 198 /checksum/MD5/reset/10
1992s ok 199 /checksum/MD5/reset/11
1992s ok 200 /checksum/MD5/reset/12
1992s ok 201 /checksum/MD5/reset/13
1992s ok 202 /checksum/MD5/reset/14
1992s ok 203 /checksum/MD5/reset/15
1992s ok 204 /checksum/MD5/reset/16
1992s ok 205 /checksum/MD5/reset/17
1992s ok 206 /checksum/MD5/reset/18
1992s ok 207 /checksum/MD5/reset/19
1992s ok 208 /checksum/MD5/reset/20
1992s ok 209 /checksum/MD5/reset/21
1992s ok 210 /checksum/MD5/reset/22
1992s ok 211 /checksum/MD5/reset/23
1992s ok 212 /checksum/MD5/reset/24
1992s ok 213 /checksum/MD5/reset/25
1992s ok 214 /checksum/MD5/reset/26
1992s ok 215 /checksum/MD5/reset/27
1992s ok 216 /checksum/MD5/reset/28
1992s ok 217 /checksum/MD5/reset/29
1992s ok 218 /checksum/MD5/reset/30
1992s ok 219 /checksum/MD5/reset/31
1992s ok 220 /checksum/MD5/reset/32
1992s ok 221 /checksum/MD5/reset/33
1992s ok 222 /checksum/MD5/reset/34
1992s ok 223 /checksum/MD5/reset/35
1992s ok 224 /checksum/MD5/reset/36
1992s ok 225 /checksum/MD5/reset/37
1992s ok 226 /checksum/MD5/reset/38
1992s ok 227 /checksum/MD5/reset/39
1992s ok 228 /checksum/MD5/reset/40
1992s ok 229 /checksum/MD5/reset/41
1992s ok 230 /checksum/MD5/reset/42
1992s ok 231 /checksum/MD5/reset/43
1992s ok 232 /checksum/MD5/reset/44
1992s ok 233 /checksum/MD5/reset/45
1992s ok 234 /checksum/MD5/reset/46
1992s ok 235 /checksum/MD5/reset/47
1992s ok 236 /checksum/MD5/reset/48
1992s ok 237 /checksum/MD5/reset/49
1992s ok 238 /checksum/MD5/reset/50
1992s ok 239 /checksum/MD5/reset/51
1992s ok 240 /checksum/MD5/reset/52
1992s ok 241 /checksum/MD5/reset/53
1992s ok 242 /checksum/MD5/reset/54
1992s ok 243 /checksum/MD5/reset/55
1992s ok 244 /checksum/MD5/reset/56
1992s ok 245 /checksum/MD5/reset/57
1992s ok 246 /checksum/MD5/reset/58
1992s ok 247 /checksum/MD5/reset/59
1992s ok 248 /checksum/MD5/reset/60
1992s ok 249 /checksum/MD5/reset/61
1992s ok 250 /checksum/MD5/reset/62
1992s ok 251 /checksum/MD5/reset/63
1992s ok 252 /checksum/MD5/reset/64
1992s ok 253 /checksum/MD5/reset/65
1992s ok 254 /checksum/MD5/reset/66
1992s ok 255 /checksum/MD5/reset/67
1992s ok 256 /checksum/MD5/reset/68
1992s ok 257 /checksum/MD5/reset/69
1992s ok 258 /checksum/MD5/reset/70
1992s ok 259 /checksum/MD5/reset/71
1992s ok 260 /checksum/MD5/reset/72
1992s ok 261 /checksum/MD5/reset/73
1992s ok 262 /checksum/MD5/reset/74
1992s ok 263 /checksum/MD5/reset/75
1992s ok 264 /checksum/MD5/reset/76
1992s ok 265 /checksum/MD5/reset/77
1992s ok 266 /checksum/MD5/reset/78
1992s ok 267 /checksum/MD5/reset/79
1992s ok 268 /checksum/MD5/reset/80
1992s ok 269 /checksum/MD5/reset/81
1992s ok 270 /checksum/MD5/reset/82
1992s ok 271 /checksum/MD5/reset/83
1992s ok 272 /checksum/MD5/reset/84
1992s ok 273 /checksum/MD5/reset/85
1992s ok 274 /checksum/MD5/reset/86
1992s ok 275 /checksum/MD5/reset/87
1992s ok 276 /checksum/MD5/reset/88
1992s ok 277 /checksum/MD5/reset/89
1992s ok 278 /checksum/MD5/reset/90
1992s ok 279 /checksum/MD5/reset/91
1992s ok 280 /checksum/MD5/reset/92
1992s ok 281 /checksum/MD5/reset/93
1992s ok 282 /checksum/MD5/reset/94
1992s ok 283 /checksum/MD5/reset/95
1992s ok 284 /checksum/MD5/reset/96
1992s ok 285 /checksum/MD5/reset/97
1992s ok 286 /checksum/MD5/reset/98
1992s ok 287 /checksum/MD5/reset/99
1992s ok 288 /checksum/MD5/reset/100
1992s ok 289 /checksum/MD5/reset/101
1992s ok 290 /checksum/MD5/reset/102
1992s ok 291 /checksum/MD5/reset/103
1992s ok 292 /checksum/MD5/reset/104
1992s ok 293 /checksum/MD5/reset/105
1992s ok 294 /checksum/MD5/reset/106
1992s ok 295 /checksum/MD5/reset/107
1992s ok 296 /checksum/MD5/reset/108
1992s ok 297 /checksum/MD5/reset/109
1992s ok 298 /checksum/MD5/reset/110
1992s ok 299 /checksum/MD5/reset/111
1992s ok 300 /checksum/MD5/reset/112
1992s ok 301 /checksum/MD5/reset/113
1992s ok 302 /checksum/MD5/reset/114
1992s ok 303 /checksum/MD5/reset/115
1992s ok 304 /checksum/MD5/reset/116
1992s ok 305 /checksum/MD5/reset/117
1992s ok 306 /checksum/MD5/reset/118
1992s ok 307 /checksum/MD5/reset/119
1992s ok 308 /checksum/MD5/reset/120
1992s ok 309 /checksum/MD5/reset/121
1992s ok 310 /checksum/MD5/reset/122
1992s ok 311 /checksum/MD5/reset/123
1992s ok 312 /checksum/MD5/reset/124
1992s ok 313 /checksum/MD5/reset/125
1992s ok 314 /checksum/MD5/reset/126
1992s ok 315 /checksum/MD5/reset/127
1992s ok 316 /checksum/MD5/reset/128
1992s ok 317 /checksum/MD5/reset/129
1992s ok 318 /checksum/MD5/reset/130
1992s ok 319 /checksum/MD5/reset/131
1992s ok 320 /checksum/MD5/reset/132
1992s ok 321 /checksum/MD5/reset/133
1992s ok 322 /checksum/MD5/reset/134
1992s ok 323 /checksum/MD5/reset/135
1992s ok 324 /checksum/MD5/reset/136
1992s ok 325 /checksum/MD5/reset/137
1992s ok 326 /checksum/MD5/reset/138
1992s ok 327 /checksum/MD5/reset/139
1992s ok 328 /checksum/MD5/reset/140
1992s ok 329 /checksum/MD5/reset/141
1992s ok 330 /checksum/MD5/reset/142
1992s ok 331 /checksum/MD5/reset/143
1992s ok 332 /checksum/MD5/reset/144
1992s ok 333 /checksum/MD5/reset/145
1992s ok 334 /checksum/MD5/reset/146
1992s ok 335 /checksum/MD5/reset/147
1992s ok 336 /checksum/MD5/reset/148
1992s ok 337 /checksum/MD5/reset/149
1992s ok 338 /checksum/MD5/reset/150
1992s ok 339 /checksum/MD5/reset/151
1992s ok 340 /checksum/MD5/reset/152
1992s ok 341 /checksum/MD5/reset/153
1992s ok 342 /checksum/MD5/reset/154
1992s ok 343 /checksum/MD5/reset/155
1992s ok 344 /checksum/MD5/reset/156
1992s ok 345 /checksum/MD5/reset/157
1992s ok 346 /checksum/MD5/reset/158
1992s ok 347 /checksum/MD5/reset/159
1992s ok 348 /checksum/MD5/reset/160
1992s ok 349 /checksum/MD5/reset/161
1992s ok 350 /checksum/MD5/reset/162
1992s ok 351 /checksum/MD5/reset/163
1992s ok 352 /checksum/MD5/reset/164
1992s ok 353 /checksum/MD5/reset/165
1992s ok 354 /checksum/MD5/reset/166
1992s ok 355 /checksum/MD5/reset/167
1992s ok 356 /checksum/MD5/reset/168
1992s ok 357 /checksum/MD5/reset/169
1992s ok 358 /checksum/MD5/reset/170
1992s ok 359 /checksum/MD5/reset/171
1992s ok 360 /checksum/MD5/reset/172
1992s ok 361 /checksum/MD5/reset/173
1992s ok 362 /checksum/MD5/reset/174
1992s ok 363 /checksum/MD5/reset/175
1992s ok 364 /checksum/MD5/reset/176
1992s ok 365 /checksum/MD5/reset/177
1992s ok 366 /checksum/MD5/reset/178
1992s ok 367 /checksum/MD5/reset/179
1992s ok 368 /checksum/MD5/reset/180
1992s ok 369 /checksum/MD5/reset/181
1992s ok 370 /checksum/MD5/reset/182
1992s ok 371 /checksum/MD5/reset/183
1992s # End of reset tests
1992s # End of MD5 tests
1992s # Start of SHA1 tests
1992s ok 372 /checksum/SHA1/0
1992s ok 373 /checksum/SHA1/1
1992s ok 374 /checksum/SHA1/2
1992s ok 375 /checksum/SHA1/3
1992s ok 376 /checksum/SHA1/4
1992s ok 377 /checksum/SHA1/5
1992s ok 378 /checksum/SHA1/6
1992s ok 379 /checksum/SHA1/7
1992s ok 380 /checksum/SHA1/8
1992s ok 381 /checksum/SHA1/9
1992s ok 382 /checksum/SHA1/10
1992s ok 383 /checksum/SHA1/11
1992s ok 384 /checksum/SHA1/12
1992s ok 385 /checksum/SHA1/13
1992s ok 386 /checksum/SHA1/14
1992s ok 387 /checksum/SHA1/15
1992s ok 388 /checksum/SHA1/16
1992s ok 389 /checksum/SHA1/17
1992s ok 390 /checksum/SHA1/18
1992s ok 391 /checksum/SHA1/19
1992s ok 392 /checksum/SHA1/20
1992s ok 393 /checksum/SHA1/21
1992s ok 394 /checksum/SHA1/22
1992s ok 395 /checksum/SHA1/23
1992s ok 396 /checksum/SHA1/24
1992s ok 397 /checksum/SHA1/25
1992s ok 398 /checksum/SHA1/26
1992s ok 399 /checksum/SHA1/27
1992s ok 400 /checksum/SHA1/28
1992s ok 401 /checksum/SHA1/29
1992s ok 402 /checksum/SHA1/30
1992s ok 403 /checksum/SHA1/31
1992s ok 404 /checksum/SHA1/32
1992s ok 405 /checksum/SHA1/33
1992s ok 406 /checksum/SHA1/34
1992s ok 407 /checksum/SHA1/35
1992s ok 408 /checksum/SHA1/36
1992s ok 409 /checksum/SHA1/37
1992s ok 410 /checksum/SHA1/38
1992s ok 411 /checksum/SHA1/39
1992s ok 412 /checksum/SHA1/40
1992s ok 413 /checksum/SHA1/41
1992s ok 414 /checksum/SHA1/42
1992s ok 415 /checksum/SHA1/43
1992s ok 416 /checksum/SHA1/44
1992s ok 417 /checksum/SHA1/45
1992s ok 418 /checksum/SHA1/46
1992s ok 419 /checksum/SHA1/47
1992s ok 420 /checksum/SHA1/48
1992s ok 421 /checksum/SHA1/49
1992s ok 422 /checksum/SHA1/50
1992s ok 423 /checksum/SHA1/51
1992s ok 424 /checksum/SHA1/52
1992s ok 425 /checksum/SHA1/53
1992s ok 426 /checksum/SHA1/54
1992s ok 427 /checksum/SHA1/55
1992s ok 428 /checksum/SHA1/56
1992s ok 429 /checksum/SHA1/57
1992s ok 430 /checksum/SHA1/58
1992s ok 431 /checksum/SHA1/59
1992s ok 432 /checksum/SHA1/60
1992s ok 433 /checksum/SHA1/61
1992s ok 434 /checksum/SHA1/62
1992s ok 435 /checksum/SHA1/63
1992s ok 436 /checksum/SHA1/64
1992s ok 437 /checksum/SHA1/65
1992s ok 438 /checksum/SHA1/66
1992s ok 439 /checksum/SHA1/67
1992s ok 440 /checksum/SHA1/68
1992s ok 441 /checksum/SHA1/69
1992s ok 442 /checksum/SHA1/70
1992s ok 443 /checksum/SHA1/71
1992s ok 444 /checksum/SHA1/72
1992s ok 445 /checksum/SHA1/73
1992s ok 446 /checksum/SHA1/74
1992s ok 447 /checksum/SHA1/75
1992s ok 448 /checksum/SHA1/76
1992s ok 449 /checksum/SHA1/77
1992s ok 450 /checksum/SHA1/78
1992s ok 451 /checksum/SHA1/79
1992s ok 452 /checksum/SHA1/80
1992s ok 453 /checksum/SHA1/81
1992s ok 454 /checksum/SHA1/82
1992s ok 455 /checksum/SHA1/83
1992s ok 456 /checksum/SHA1/84
1992s ok 457 /checksum/SHA1/85
1992s ok 458 /checksum/SHA1/86
1992s ok 459 /checksum/SHA1/87
1992s ok 460 /checksum/SHA1/88
1992s ok 461 /checksum/SHA1/89
1992s ok 462 /checksum/SHA1/90
1992s ok 463 /checksum/SHA1/91
1992s ok 464 /checksum/SHA1/92
1992s ok 465 /checksum/SHA1/93
1992s ok 466 /checksum/SHA1/94
1992s ok 467 /checksum/SHA1/95
1992s ok 468 /checksum/SHA1/96
1992s ok 469 /checksum/SHA1/97
1992s ok 470 /checksum/SHA1/98
1992s ok 471 /checksum/SHA1/99
1992s ok 472 /checksum/SHA1/100
1992s ok 473 /checksum/SHA1/101
1992s ok 474 /checksum/SHA1/102
1992s ok 475 /checksum/SHA1/103
1992s ok 476 /checksum/SHA1/104
1992s ok 477 /checksum/SHA1/105
1992s ok 478 /checksum/SHA1/106
1992s ok 479 /checksum/SHA1/107
1992s ok 480 /checksum/SHA1/108
1992s ok 481 /checksum/SHA1/109
1992s ok 482 /checksum/SHA1/110
1992s ok 483 /checksum/SHA1/111
1992s ok 484 /checksum/SHA1/112
1992s ok 485 /checksum/SHA1/113
1992s ok 486 /checksum/SHA1/114
1992s ok 487 /checksum/SHA1/115
1992s ok 488 /checksum/SHA1/116
1992s ok 489 /checksum/SHA1/117
1992s ok 490 /checksum/SHA1/118
1992s ok 491 /checksum/SHA1/119
1992s ok 492 /checksum/SHA1/120
1992s ok 493 /checksum/SHA1/121
1992s ok 494 /checksum/SHA1/122
1992s ok 495 /checksum/SHA1/123
1992s ok 496 /checksum/SHA1/124
1992s ok 497 /checksum/SHA1/125
1992s ok 498 /checksum/SHA1/126
1992s ok 499 /checksum/SHA1/127
1992s ok 500 /checksum/SHA1/128
1992s ok 501 /checksum/SHA1/129
1992s ok 502 /checksum/SHA1/130
1992s ok 503 /checksum/SHA1/131
1992s ok 504 /checksum/SHA1/132
1992s ok 505 /checksum/SHA1/133
1992s ok 506 /checksum/SHA1/134
1992s ok 507 /checksum/SHA1/135
1992s ok 508 /checksum/SHA1/136
1992s ok 509 /checksum/SHA1/137
1992s ok 510 /checksum/SHA1/138
1992s ok 511 /checksum/SHA1/139
1992s ok 512 /checksum/SHA1/140
1992s ok 513 /checksum/SHA1/141
1992s ok 514 /checksum/SHA1/142
1992s ok 515 /checksum/SHA1/143
1992s ok 516 /checksum/SHA1/144
1992s ok 517 /checksum/SHA1/145
1992s ok 518 /checksum/SHA1/146
1992s ok 519 /checksum/SHA1/147
1992s ok 520 /checksum/SHA1/148
1992s ok 521 /checksum/SHA1/149
1992s ok 522 /checksum/SHA1/150
1992s ok 523 /checksum/SHA1/151
1992s ok 524 /checksum/SHA1/152
1992s ok 525 /checksum/SHA1/153
1992s ok 526 /checksum/SHA1/154
1992s ok 527 /checksum/SHA1/155
1992s ok 528 /checksum/SHA1/156
1992s ok 529 /checksum/SHA1/157
1992s ok 530 /checksum/SHA1/158
1992s ok 531 /checksum/SHA1/159
1992s ok 532 /checksum/SHA1/160
1992s ok 533 /checksum/SHA1/161
1992s ok 534 /checksum/SHA1/162
1992s ok 535 /checksum/SHA1/163
1992s ok 536 /checksum/SHA1/164
1992s ok 537 /checksum/SHA1/165
1992s ok 538 /checksum/SHA1/166
1992s ok 539 /checksum/SHA1/167
1992s ok 540 /checksum/SHA1/168
1992s ok 541 /checksum/SHA1/169
1992s ok 542 /checksum/SHA1/170
1992s ok 543 /checksum/SHA1/171
1992s ok 544 /checksum/SHA1/172
1992s ok 545 /checksum/SHA1/173
1992s ok 546 /checksum/SHA1/174
1992s ok 547 /checksum/SHA1/175
1992s ok 548 /checksum/SHA1/176
1992s ok 549 /checksum/SHA1/177
1992s ok 550 /checksum/SHA1/178
1992s ok 551 /checksum/SHA1/179
1992s ok 552 /checksum/SHA1/180
1992s ok 553 /checksum/SHA1/181
1992s ok 554 /checksum/SHA1/182
1992s ok 555 /checksum/SHA1/183
1992s ok 556 /checksum/SHA1/string
1992s ok 557 /checksum/SHA1/bytes
1992s # Start of reset tests
1992s ok 558 /checksum/SHA1/reset/0
1992s ok 559 /checksum/SHA1/reset/1
1992s ok 560 /checksum/SHA1/reset/2
1992s ok 561 /checksum/SHA1/reset/3
1992s ok 562 /checksum/SHA1/reset/4
1992s ok 563 /checksum/SHA1/reset/5
1992s ok 564 /checksum/SHA1/reset/6
1992s ok 565 /checksum/SHA1/reset/7
1992s ok 566 /checksum/SHA1/reset/8
1992s ok 567 /checksum/SHA1/reset/9
1992s ok 568 /checksum/SHA1/reset/10
1992s ok 569 /checksum/SHA1/reset/11
1992s ok 570 /checksum/SHA1/reset/12
1992s ok 571 /checksum/SHA1/reset/13
1992s ok 572 /checksum/SHA1/reset/14
1992s ok 573 /checksum/SHA1/reset/15
1992s ok 574 /checksum/SHA1/reset/16
1992s ok 575 /checksum/SHA1/reset/17
1992s ok 576 /checksum/SHA1/reset/18
1992s ok 577 /checksum/SHA1/reset/19
1992s ok 578 /checksum/SHA1/reset/20
1992s ok 579 /checksum/SHA1/reset/21
1992s ok 580 /checksum/SHA1/reset/22
1992s ok 581 /checksum/SHA1/reset/23
1992s ok 582 /checksum/SHA1/reset/24
1992s ok 583 /checksum/SHA1/reset/25
1992s ok 584 /checksum/SHA1/reset/26
1992s ok 585 /checksum/SHA1/reset/27
1992s ok 586 /checksum/SHA1/reset/28
1992s ok 587 /checksum/SHA1/reset/29
1992s ok 588 /checksum/SHA1/reset/30
1992s ok 589 /checksum/SHA1/reset/31
1992s ok 590 /checksum/SHA1/reset/32
1992s ok 591 /checksum/SHA1/reset/33
1992s ok 592 /checksum/SHA1/reset/34
1992s ok 593 /checksum/SHA1/reset/35
1992s ok 594 /checksum/SHA1/reset/36
1992s ok 595 /checksum/SHA1/reset/37
1992s ok 596 /checksum/SHA1/reset/38
1992s ok 597 /checksum/SHA1/reset/39
1992s ok 598 /checksum/SHA1/reset/40
1992s ok 599 /checksum/SHA1/reset/41
1992s ok 600 /checksum/SHA1/reset/42
1992s ok 601 /checksum/SHA1/reset/43
1992s ok 602 /checksum/SHA1/reset/44
1992s ok 603 /checksum/SHA1/reset/45
1992s ok 604 /checksum/SHA1/reset/46
1992s ok 605 /checksum/SHA1/reset/47
1992s ok 606 /checksum/SHA1/reset/48
1992s ok 607 /checksum/SHA1/reset/49
1992s ok 608 /checksum/SHA1/reset/50
1992s ok 609 /checksum/SHA1/reset/51
1992s ok 610 /checksum/SHA1/reset/52
1992s ok 611 /checksum/SHA1/reset/53
1992s ok 612 /checksum/SHA1/reset/54
1992s ok 613 /checksum/SHA1/reset/55
1992s ok 614 /checksum/SHA1/reset/56
1992s ok 615 /checksum/SHA1/reset/57
1992s ok 616 /checksum/SHA1/reset/58
1992s ok 617 /checksum/SHA1/reset/59
1992s ok 618 /checksum/SHA1/reset/60
1992s ok 619 /checksum/SHA1/reset/61
1992s ok 620 /checksum/SHA1/reset/62
1992s ok 621 /checksum/SHA1/reset/63
1992s ok 622 /checksum/SHA1/reset/64
1992s ok 623 /checksum/SHA1/reset/65
1992s ok 624 /checksum/SHA1/reset/66
1992s ok 625 /checksum/SHA1/reset/67
1992s ok 626 /checksum/SHA1/reset/68
1992s ok 627 /checksum/SHA1/reset/69
1992s ok 628 /checksum/SHA1/reset/70
1992s ok 629 /checksum/SHA1/reset/71
1992s ok 630 /checksum/SHA1/reset/72
1992s ok 631 /checksum/SHA1/reset/73
1992s ok 632 /checksum/SHA1/reset/74
1992s ok 633 /checksum/SHA1/reset/75
1992s ok 634 /checksum/SHA1/reset/76
1992s ok 635 /checksum/SHA1/reset/77
1992s ok 636 /checksum/SHA1/reset/78
1992s ok 637 /checksum/SHA1/reset/79
1992s ok 638 /checksum/SHA1/reset/80
1992s ok 639 /checksum/SHA1/reset/81
1992s ok 640 /checksum/SHA1/reset/82
1992s ok 641 /checksum/SHA1/reset/83
1992s ok 642 /checksum/SHA1/reset/84
1992s ok 643 /checksum/SHA1/reset/85
1992s ok 644 /checksum/SHA1/reset/86
1992s ok 645 /checksum/SHA1/reset/87
1992s ok 646 /checksum/SHA1/reset/88
1992s ok 647 /checksum/SHA1/reset/89
1992s ok 648 /checksum/SHA1/reset/90
1992s ok 649 /checksum/SHA1/reset/91
1992s ok 650 /checksum/SHA1/reset/92
1992s ok 651 /checksum/SHA1/reset/93
1992s ok 652 /checksum/SHA1/reset/94
1992s ok 653 /checksum/SHA1/reset/95
1992s ok 654 /checksum/SHA1/reset/96
1992s ok 655 /checksum/SHA1/reset/97
1992s ok 656 /checksum/SHA1/reset/98
1992s ok 657 /checksum/SHA1/reset/99
1992s ok 658 /checksum/SHA1/reset/100
1992s ok 659 /checksum/SHA1/reset/101
1992s ok 660 /checksum/SHA1/reset/102
1992s ok 661 /checksum/SHA1/reset/103
1992s ok 662 /checksum/SHA1/reset/104
1992s ok 663 /checksum/SHA1/reset/105
1992s ok 664 /checksum/SHA1/reset/106
1992s ok 665 /checksum/SHA1/reset/107
1992s ok 666 /checksum/SHA1/reset/108
1992s ok 667 /checksum/SHA1/reset/109
1992s ok 668 /checksum/SHA1/reset/110
1992s ok 669 /checksum/SHA1/reset/111
1992s ok 670 /checksum/SHA1/reset/112
1992s ok 671 /checksum/SHA1/reset/113
1992s ok 672 /checksum/SHA1/reset/114
1992s ok 673 /checksum/SHA1/reset/115
1992s ok 674 /checksum/SHA1/reset/116
1992s ok 675 /checksum/SHA1/reset/117
1992s ok 676 /checksum/SHA1/reset/118
1992s ok 677 /checksum/SHA1/reset/119
1992s ok 678 /checksum/SHA1/reset/120
1992s ok 679 /checksum/SHA1/reset/121
1992s ok 680 /checksum/SHA1/reset/122
1992s ok 681 /checksum/SHA1/reset/123
1992s ok 682 /checksum/SHA1/reset/124
1992s ok 683 /checksum/SHA1/reset/125
1992s ok 684 /checksum/SHA1/reset/126
1992s ok 685 /checksum/SHA1/reset/127
1992s ok 686 /checksum/SHA1/reset/128
1992s ok 687 /checksum/SHA1/reset/129
1992s ok 688 /checksum/SHA1/reset/130
1992s ok 689 /checksum/SHA1/reset/131
1992s ok 690 /checksum/SHA1/reset/132
1992s ok 691 /checksum/SHA1/reset/133
1992s ok 692 /checksum/SHA1/reset/134
1992s ok 693 /checksum/SHA1/reset/135
1992s ok 694 /checksum/SHA1/reset/136
1992s ok 695 /checksum/SHA1/reset/137
1992s ok 696 /checksum/SHA1/reset/138
1992s ok 697 /checksum/SHA1/reset/139
1992s ok 698 /checksum/SHA1/reset/140
1992s ok 699 /checksum/SHA1/reset/141
1992s ok 700 /checksum/SHA1/reset/142
1992s ok 701 /checksum/SHA1/reset/143
1992s ok 702 /checksum/SHA1/reset/144
1992s ok 703 /checksum/SHA1/reset/145
1992s ok 704 /checksum/SHA1/reset/146
1992s ok 705 /checksum/SHA1/reset/147
1992s ok 706 /checksum/SHA1/reset/148
1992s ok 707 /checksum/SHA1/reset/149
1992s ok 708 /checksum/SHA1/reset/150
1992s ok 709 /checksum/SHA1/reset/151
1992s ok 710 /checksum/SHA1/reset/152
1992s ok 711 /checksum/SHA1/reset/153
1992s ok 712 /checksum/SHA1/reset/154
1992s ok 713 /checksum/SHA1/reset/155
1992s ok 714 /checksum/SHA1/reset/156
1992s ok 715 /checksum/SHA1/reset/157
1992s ok 716 /checksum/SHA1/reset/158
1992s ok 717 /checksum/SHA1/reset/159
1992s ok 718 /checksum/SHA1/reset/160
1992s ok 719 /checksum/SHA1/reset/161
1992s ok 720 /checksum/SHA1/reset/162
1992s ok 721 /checksum/SHA1/reset/163
1992s ok 722 /checksum/SHA1/reset/164
1992s ok 723 /checksum/SHA1/reset/165
1992s ok 724 /checksum/SHA1/reset/166
1992s ok 725 /checksum/SHA1/reset/167
1992s ok 726 /checksum/SHA1/reset/168
1992s ok 727 /checksum/SHA1/reset/169
1992s ok 728 /checksum/SHA1/reset/170
1992s ok 729 /checksum/SHA1/reset/171
1992s ok 730 /checksum/SHA1/reset/172
1992s ok 731 /checksum/SHA1/reset/173
1992s ok 732 /checksum/SHA1/reset/174
1992s ok 733 /checksum/SHA1/reset/175
1992s ok 734 /checksum/SHA1/reset/176
1992s ok 735 /checksum/SHA1/reset/177
1992s ok 736 /checksum/SHA1/reset/178
1992s ok 737 /checksum/SHA1/reset/179
1992s ok 738 /checksum/SHA1/reset/180
1992s ok 739 /checksum/SHA1/reset/181
1992s ok 740 /checksum/SHA1/reset/182
1992s ok 741 /checksum/SHA1/reset/183
1992s # End of reset tests
1992s # End of SHA1 tests
1992s # Start of SHA256 tests
1992s ok 742 /checksum/SHA256/0
1992s ok 743 /checksum/SHA256/1
1992s ok 744 /checksum/SHA256/2
1992s ok 745 /checksum/SHA256/3
1992s ok 746 /checksum/SHA256/4
1992s ok 747 /checksum/SHA256/5
1992s ok 748 /checksum/SHA256/6
1992s ok 749 /checksum/SHA256/7
1992s ok 750 /checksum/SHA256/8
1992s ok 751 /checksum/SHA256/9
1992s ok 752 /checksum/SHA256/10
1992s ok 753 /checksum/SHA256/11
1992s ok 754 /checksum/SHA256/12
1992s ok 755 /checksum/SHA256/13
1992s ok 756 /checksum/SHA256/14
1992s ok 757 /checksum/SHA256/15
1992s ok 758 /checksum/SHA256/16
1992s ok 759 /checksum/SHA256/17
1992s ok 760 /checksum/SHA256/18
1992s ok 761 /checksum/SHA256/19
1992s ok 762 /checksum/SHA256/20
1992s ok 763 /checksum/SHA256/21
1992s ok 764 /checksum/SHA256/22
1992s ok 765 /checksum/SHA256/23
1992s ok 766 /checksum/SHA256/24
1992s ok 767 /checksum/SHA256/25
1992s ok 768 /checksum/SHA256/26
1992s ok 769 /checksum/SHA256/27
1992s ok 770 /checksum/SHA256/28
1992s ok 771 /checksum/SHA256/29
1992s ok 772 /checksum/SHA256/30
1992s ok 773 /checksum/SHA256/31
1992s ok 774 /checksum/SHA256/32
1992s ok 775 /checksum/SHA256/33
1992s ok 776 /checksum/SHA256/34
1992s ok 777 /checksum/SHA256/35
1992s ok 778 /checksum/SHA256/36
1992s ok 779 /checksum/SHA256/37
1992s ok 780 /checksum/SHA256/38
1992s ok 781 /checksum/SHA256/39
1992s ok 782 /checksum/SHA256/40
1992s ok 783 /checksum/SHA256/41
1992s ok 784 /checksum/SHA256/42
1992s ok 785 /checksum/SHA256/43
1992s ok 786 /checksum/SHA256/44
1992s ok 787 /checksum/SHA256/45
1992s ok 788 /checksum/SHA256/46
1992s ok 789 /checksum/SHA256/47
1992s ok 790 /checksum/SHA256/48
1992s ok 791 /checksum/SHA256/49
1992s ok 792 /checksum/SHA256/50
1992s ok 793 /checksum/SHA256/51
1992s ok 794 /checksum/SHA256/52
1992s ok 795 /checksum/SHA256/53
1992s ok 796 /checksum/SHA256/54
1992s ok 797 /checksum/SHA256/55
1992s ok 798 /checksum/SHA256/56
1992s ok 799 /checksum/SHA256/57
1992s ok 800 /checksum/SHA256/58
1992s ok 801 /checksum/SHA256/59
1992s ok 802 /checksum/SHA256/60
1992s ok 803 /checksum/SHA256/61
1992s ok 804 /checksum/SHA256/62
1992s ok 805 /checksum/SHA256/63
1992s ok 806 /checksum/SHA256/64
1992s ok 807 /checksum/SHA256/65
1992s ok 808 /checksum/SHA256/66
1992s ok 809 /checksum/SHA256/67
1992s ok 810 /checksum/SHA256/68
1992s ok 811 /checksum/SHA256/69
1992s ok 812 /checksum/SHA256/70
1992s ok 813 /checksum/SHA256/71
1992s ok 814 /checksum/SHA256/72
1992s ok 815 /checksum/SHA256/73
1992s ok 816 /checksum/SHA256/74
1992s ok 817 /checksum/SHA256/75
1992s ok 818 /checksum/SHA256/76
1992s ok 819 /checksum/SHA256/77
1992s ok 820 /checksum/SHA256/78
1992s ok 821 /checksum/SHA256/79
1992s ok 822 /checksum/SHA256/80
1992s ok 823 /checksum/SHA256/81
1992s ok 824 /checksum/SHA256/82
1992s ok 825 /checksum/SHA256/83
1992s ok 826 /checksum/SHA256/84
1992s ok 827 /checksum/SHA256/85
1992s ok 828 /checksum/SHA256/86
1992s ok 829 /checksum/SHA256/87
1992s ok 830 /checksum/SHA256/88
1992s ok 831 /checksum/SHA256/89
1992s ok 832 /checksum/SHA256/90
1992s ok 833 /checksum/SHA256/91
1992s ok 834 /checksum/SHA256/92
1992s ok 835 /checksum/SHA256/93
1992s ok 836 /checksum/SHA256/94
1992s ok 837 /checksum/SHA256/95
1992s ok 838 /checksum/SHA256/96
1992s ok 839 /checksum/SHA256/97
1992s ok 840 /checksum/SHA256/98
1992s ok 841 /checksum/SHA256/99
1992s ok 842 /checksum/SHA256/100
1992s ok 843 /checksum/SHA256/101
1992s ok 844 /checksum/SHA256/102
1992s ok 845 /checksum/SHA256/103
1992s ok 846 /checksum/SHA256/104
1992s ok 847 /checksum/SHA256/105
1992s ok 848 /checksum/SHA256/106
1992s ok 849 /checksum/SHA256/107
1992s ok 850 /checksum/SHA256/108
1992s ok 851 /checksum/SHA256/109
1992s ok 852 /checksum/SHA256/110
1992s ok 853 /checksum/SHA256/111
1992s ok 854 /checksum/SHA256/112
1992s ok 855 /checksum/SHA256/113
1992s ok 856 /checksum/SHA256/114
1992s ok 857 /checksum/SHA256/115
1992s ok 858 /checksum/SHA256/116
1992s ok 859 /checksum/SHA256/117
1992s ok 860 /checksum/SHA256/118
1992s ok 861 /checksum/SHA256/119
1992s ok 862 /checksum/SHA256/120
1992s ok 863 /checksum/SHA256/121
1992s ok 864 /checksum/SHA256/122
1992s ok 865 /checksum/SHA256/123
1992s ok 866 /checksum/SHA256/124
1992s ok 867 /checksum/SHA256/125
1992s ok 868 /checksum/SHA256/126
1992s ok 869 /checksum/SHA256/127
1992s ok 870 /checksum/SHA256/128
1992s ok 871 /checksum/SHA256/129
1992s ok 872 /checksum/SHA256/130
1992s ok 873 /checksum/SHA256/131
1992s ok 874 /checksum/SHA256/132
1992s ok 875 /checksum/SHA256/133
1992s ok 876 /checksum/SHA256/134
1992s ok 877 /checksum/SHA256/135
1992s ok 878 /checksum/SHA256/136
1992s ok 879 /checksum/SHA256/137
1992s ok 880 /checksum/SHA256/138
1992s ok 881 /checksum/SHA256/139
1992s ok 882 /checksum/SHA256/140
1992s ok 883 /checksum/SHA256/141
1992s ok 884 /checksum/SHA256/142
1992s ok 885 /checksum/SHA256/143
1992s ok 886 /checksum/SHA256/144
1992s ok 887 /checksum/SHA256/145
1992s ok 888 /checksum/SHA256/146
1992s ok 889 /checksum/SHA256/147
1992s ok 890 /checksum/SHA256/148
1992s ok 891 /checksum/SHA256/149
1992s ok 892 /checksum/SHA256/150
1992s ok 893 /checksum/SHA256/151
1992s ok 894 /checksum/SHA256/152
1992s ok 895 /checksum/SHA256/153
1992s ok 896 /checksum/SHA256/154
1992s ok 897 /checksum/SHA256/155
1992s ok 898 /checksum/SHA256/156
1992s ok 899 /checksum/SHA256/157
1992s ok 900 /checksum/SHA256/158
1992s ok 901 /checksum/SHA256/159
1992s ok 902 /checksum/SHA256/160
1992s ok 903 /checksum/SHA256/161
1992s ok 904 /checksum/SHA256/162
1992s ok 905 /checksum/SHA256/163
1992s ok 906 /checksum/SHA256/164
1992s ok 907 /checksum/SHA256/165
1992s ok 908 /checksum/SHA256/166
1992s ok 909 /checksum/SHA256/167
1992s ok 910 /checksum/SHA256/168
1992s ok 911 /checksum/SHA256/169
1992s ok 912 /checksum/SHA256/170
1992s ok 913 /checksum/SHA256/171
1992s ok 914 /checksum/SHA256/172
1992s ok 915 /checksum/SHA256/173
1992s ok 916 /checksum/SHA256/174
1992s ok 917 /checksum/SHA256/175
1992s ok 918 /checksum/SHA256/176
1992s ok 919 /checksum/SHA256/177
1992s ok 920 /checksum/SHA256/178
1992s ok 921 /checksum/SHA256/179
1992s ok 922 /checksum/SHA256/180
1992s ok 923 /checksum/SHA256/181
1992s ok 924 /checksum/SHA256/182
1992s ok 925 /checksum/SHA256/183
1992s ok 926 /checksum/SHA256/string
1992s ok 927 /checksum/SHA256/bytes
1992s # Start of reset tests
1992s ok 928 /checksum/SHA256/reset/0
1992s ok 929 /checksum/SHA256/reset/1
1992s ok 930 /checksum/SHA256/reset/2
1992s ok 931 /checksum/SHA256/reset/3
1992s ok 932 /checksum/SHA256/reset/4
1992s ok 933 /checksum/SHA256/reset/5
1992s ok 934 /checksum/SHA256/reset/6
1992s ok 935 /checksum/SHA256/reset/7
1992s ok 936 /checksum/SHA256/reset/8
1992s ok 937 /checksum/SHA256/reset/9
1992s ok 938 /checksum/SHA256/reset/10
1992s ok 939 /checksum/SHA256/reset/11
1992s ok 940 /checksum/SHA256/reset/12
1992s ok 941 /checksum/SHA256/reset/13
1992s ok 942 /checksum/SHA256/reset/14
1992s ok 943 /checksum/SHA256/reset/15
1992s ok 944 /checksum/SHA256/reset/16
1992s ok 945 /checksum/SHA256/reset/17
1992s ok 946 /checksum/SHA256/reset/18
1992s ok 947 /checksum/SHA256/reset/19
1992s ok 948 /checksum/SHA256/reset/20
1992s ok 949 /checksum/SHA256/reset/21
1992s ok 950 /checksum/SHA256/reset/22
1992s ok 951 /checksum/SHA256/reset/23
1992s ok 952 /checksum/SHA256/reset/24
1992s ok 953 /checksum/SHA256/reset/25
1992s ok 954 /checksum/SHA256/reset/26
1992s ok 955 /checksum/SHA256/reset/27
1992s ok 956 /checksum/SHA256/reset/28
1992s ok 957 /checksum/SHA256/reset/29
1992s ok 958 /checksum/SHA256/reset/30
1992s ok 959 /checksum/SHA256/reset/31
1992s ok 960 /checksum/SHA256/reset/32
1992s ok 961 /checksum/SHA256/reset/33
1992s ok 962 /checksum/SHA256/reset/34
1992s ok 963 /checksum/SHA256/reset/35
1992s ok 964 /checksum/SHA256/reset/36
1992s ok 965 /checksum/SHA256/reset/37
1992s ok 966 /checksum/SHA256/reset/38
1992s ok 967 /checksum/SHA256/reset/39
1992s ok 968 /checksum/SHA256/reset/40
1992s ok 969 /checksum/SHA256/reset/41
1992s ok 970 /checksum/SHA256/reset/42
1992s ok 971 /checksum/SHA256/reset/43
1992s ok 972 /checksum/SHA256/reset/44
1992s ok 973 /checksum/SHA256/reset/45
1992s ok 974 /checksum/SHA256/reset/46
1992s ok 975 /checksum/SHA256/reset/47
1992s ok 976 /checksum/SHA256/reset/48
1992s ok 977 /checksum/SHA256/reset/49
1992s ok 978 /checksum/SHA256/reset/50
1992s ok 979 /checksum/SHA256/reset/51
1992s ok 980 /checksum/SHA256/reset/52
1992s ok 981 /checksum/SHA256/reset/53
1992s ok 982 /checksum/SHA256/reset/54
1992s ok 983 /checksum/SHA256/reset/55
1992s ok 984 /checksum/SHA256/reset/56
1992s ok 985 /checksum/SHA256/reset/57
1992s ok 986 /checksum/SHA256/reset/58
1992s ok 987 /checksum/SHA256/reset/59
1992s ok 988 /checksum/SHA256/reset/60
1992s ok 989 /checksum/SHA256/reset/61
1992s ok 990 /checksum/SHA256/reset/62
1992s ok 991 /checksum/SHA256/reset/63
1992s ok 992 /checksum/SHA256/reset/64
1992s ok 993 /checksum/SHA256/reset/65
1992s ok 994 /checksum/SHA256/reset/66
1992s ok 995 /checksum/SHA256/reset/67
1992s ok 996 /checksum/SHA256/reset/68
1992s ok 997 /checksum/SHA256/reset/69
1992s ok 998 /checksum/SHA256/reset/70
1992s ok 999 /checksum/SHA256/reset/71
1992s ok 1000 /checksum/SHA256/reset/72
1992s ok 1001 /checksum/SHA256/reset/73
1992s ok 1002 /checksum/SHA256/reset/74
1992s ok 1003 /checksum/SHA256/reset/75
1992s ok 1004 /checksum/SHA256/reset/76
1992s ok 1005 /checksum/SHA256/reset/77
1992s ok 1006 /checksum/SHA256/reset/78
1992s ok 1007 /checksum/SHA256/reset/79
1992s ok 1008 /checksum/SHA256/reset/80
1992s ok 1009 /checksum/SHA256/reset/81
1992s ok 1010 /checksum/SHA256/reset/82
1992s ok 1011 /checksum/SHA256/reset/83
1992s ok 1012 /checksum/SHA256/reset/84
1992s ok 1013 /checksum/SHA256/reset/85
1992s ok 1014 /checksum/SHA256/reset/86
1992s ok 1015 /checksum/SHA256/reset/87
1992s ok 1016 /checksum/SHA256/reset/88
1992s ok 1017 /checksum/SHA256/reset/89
1992s ok 1018 /checksum/SHA256/reset/90
1992s ok 1019 /checksum/SHA256/reset/91
1992s ok 1020 /checksum/SHA256/reset/92
1992s ok 1021 /checksum/SHA256/reset/93
1992s ok 1022 /checksum/SHA256/reset/94
1992s ok 1023 /checksum/SHA256/reset/95
1992s ok 1024 /checksum/SHA256/reset/96
1992s ok 1025 /checksum/SHA256/reset/97
1992s ok 1026 /checksum/SHA256/reset/98
1992s ok 1027 /checksum/SHA256/reset/99
1992s ok 1028 /checksum/SHA256/reset/100
1992s ok 1029 /checksum/SHA256/reset/101
1992s ok 1030 /checksum/SHA256/reset/102
1992s ok 1031 /checksum/SHA256/reset/103
1992s ok 1032 /checksum/SHA256/reset/104
1992s ok 1033 /checksum/SHA256/reset/105
1992s ok 1034 /checksum/SHA256/reset/106
1992s ok 1035 /checksum/SHA256/reset/107
1992s ok 1036 /checksum/SHA256/reset/108
1992s ok 1037 /checksum/SHA256/reset/109
1992s ok 1038 /checksum/SHA256/reset/110
1992s ok 1039 /checksum/SHA256/reset/111
1992s ok 1040 /checksum/SHA256/reset/112
1992s ok 1041 /checksum/SHA256/reset/113
1992s ok 1042 /checksum/SHA256/reset/114
1992s ok 1043 /checksum/SHA256/reset/115
1992s ok 1044 /checksum/SHA256/reset/116
1992s ok 1045 /checksum/SHA256/reset/117
1992s ok 1046 /checksum/SHA256/reset/118
1992s ok 1047 /checksum/SHA256/reset/119
1992s ok 1048 /checksum/SHA256/reset/120
1992s ok 1049 /checksum/SHA256/reset/121
1992s ok 1050 /checksum/SHA256/reset/122
1992s ok 1051 /checksum/SHA256/reset/123
1992s ok 1052 /checksum/SHA256/reset/124
1992s ok 1053 /checksum/SHA256/reset/125
1992s ok 1054 /checksum/SHA256/reset/126
1992s ok 1055 /checksum/SHA256/reset/127
1992s ok 1056 /checksum/SHA256/reset/128
1992s ok 1057 /checksum/SHA256/reset/129
1992s ok 1058 /checksum/SHA256/reset/130
1992s ok 1059 /checksum/SHA256/reset/131
1992s ok 1060 /checksum/SHA256/reset/132
1992s ok 1061 /checksum/SHA256/reset/133
1992s ok 1062 /checksum/SHA256/reset/134
1992s ok 1063 /checksum/SHA256/reset/135
1992s ok 1064 /checksum/SHA256/reset/136
1992s ok 1065 /checksum/SHA256/reset/137
1992s ok 1066 /checksum/SHA256/reset/138
1992s ok 1067 /checksum/SHA256/reset/139
1992s ok 1068 /checksum/SHA256/reset/140
1992s ok 1069 /checksum/SHA256/reset/141
1992s ok 1070 /checksum/SHA256/reset/142
1992s ok 1071 /checksum/SHA256/reset/143
1992s ok 1072 /checksum/SHA256/reset/144
1992s ok 1073 /checksum/SHA256/reset/145
1992s ok 1074 /checksum/SHA256/reset/146
1992s ok 1075 /checksum/SHA256/reset/147
1992s ok 1076 /checksum/SHA256/reset/148
1992s ok 1077 /checksum/SHA256/reset/149
1992s ok 1078 /checksum/SHA256/reset/150
1992s ok 1079 /checksum/SHA256/reset/151
1992s ok 1080 /checksum/SHA256/reset/152
1992s ok 1081 /checksum/SHA256/reset/153
1992s ok 1082 /checksum/SHA256/reset/154
1992s ok 1083 /checksum/SHA256/reset/155
1992s ok 1084 /checksum/SHA256/reset/156
1992s ok 1085 /checksum/SHA256/reset/157
1992s ok 1086 /checksum/SHA256/reset/158
1992s ok 1087 /checksum/SHA256/reset/159
1992s ok 1088 /checksum/SHA256/reset/160
1992s ok 1089 /checksum/SHA256/reset/161
1992s ok 1090 /checksum/SHA256/reset/162
1992s ok 1091 /checksum/SHA256/reset/163
1992s ok 1092 /checksum/SHA256/reset/164
1992s ok 1093 /checksum/SHA256/reset/165
1992s ok 1094 /checksum/SHA256/reset/166
1992s ok 1095 /checksum/SHA256/reset/167
1992s ok 1096 /checksum/SHA256/reset/168
1992s ok 1097 /checksum/SHA256/reset/169
1992s ok 1098 /checksum/SHA256/reset/170
1992s ok 1099 /checksum/SHA256/reset/171
1992s ok 1100 /checksum/SHA256/reset/172
1992s ok 1101 /checksum/SHA256/reset/173
1992s ok 1102 /checksum/SHA256/reset/174
1992s ok 1103 /checksum/SHA256/reset/175
1992s ok 1104 /checksum/SHA256/reset/176
1992s ok 1105 /checksum/SHA256/reset/177
1992s ok 1106 /checksum/SHA256/reset/178
1992s ok 1107 /checksum/SHA256/reset/179
1992s ok 1108 /checksum/SHA256/reset/180
1992s ok 1109 /checksum/SHA256/reset/181
1992s ok 1110 /checksum/SHA256/reset/182
1992s ok 1111 /checksum/SHA256/reset/183
1992s # End of reset tests
1992s # End of SHA256 tests
1992s # Start of SHA384 tests
1992s ok 1112 /checksum/SHA384/0
1992s ok 1113 /checksum/SHA384/1
1992s ok 1114 /checksum/SHA384/2
1992s ok 1115 /checksum/SHA384/3
1992s ok 1116 /checksum/SHA384/4
1992s ok 1117 /checksum/SHA384/5
1992s ok 1118 /checksum/SHA384/6
1992s ok 1119 /checksum/SHA384/7
1992s ok 1120 /checksum/SHA384/8
1992s ok 1121 /checksum/SHA384/9
1992s ok 1122 /checksum/SHA384/10
1992s ok 1123 /checksum/SHA384/11
1992s ok 1124 /checksum/SHA384/12
1992s ok 1125 /checksum/SHA384/13
1992s ok 1126 /checksum/SHA384/14
1992s ok 1127 /checksum/SHA384/15
1992s ok 1128 /checksum/SHA384/16
1992s ok 1129 /checksum/SHA384/17
1992s ok 1130 /checksum/SHA384/18
1992s ok 1131 /checksum/SHA384/19
1992s ok 1132 /checksum/SHA384/20
1992s ok 1133 /checksum/SHA384/21
1992s ok 1134 /checksum/SHA384/22
1992s ok 1135 /checksum/SHA384/23
1992s ok 1136 /checksum/SHA384/24
1992s ok 1137 /checksum/SHA384/25
1992s ok 1138 /checksum/SHA384/26
1992s ok 1139 /checksum/SHA384/27
1992s ok 1140 /checksum/SHA384/28
1992s ok 1141 /checksum/SHA384/29
1992s ok 1142 /checksum/SHA384/30
1992s ok 1143 /checksum/SHA384/31
1992s ok 1144 /checksum/SHA384/32
1992s ok 1145 /checksum/SHA384/33
1992s ok 1146 /checksum/SHA384/34
1992s ok 1147 /checksum/SHA384/35
1992s ok 1148 /checksum/SHA384/36
1992s ok 1149 /checksum/SHA384/37
1992s ok 1150 /checksum/SHA384/38
1992s ok 1151 /checksum/SHA384/39
1992s ok 1152 /checksum/SHA384/40
1992s ok 1153 /checksum/SHA384/41
1992s ok 1154 /checksum/SHA384/42
1992s ok 1155 /checksum/SHA384/43
1992s ok 1156 /checksum/SHA384/44
1992s ok 1157 /checksum/SHA384/45
1992s ok 1158 /checksum/SHA384/46
1992s ok 1159 /checksum/SHA384/47
1992s ok 1160 /checksum/SHA384/48
1992s ok 1161 /checksum/SHA384/49
1992s ok 1162 /checksum/SHA384/50
1992s ok 1163 /checksum/SHA384/51
1992s ok 1164 /checksum/SHA384/52
1992s ok 1165 /checksum/SHA384/53
1992s ok 1166 /checksum/SHA384/54
1992s ok 1167 /checksum/SHA384/55
1992s ok 1168 /checksum/SHA384/56
1992s ok 1169 /checksum/SHA384/57
1992s ok 1170 /checksum/SHA384/58
1992s ok 1171 /checksum/SHA384/59
1992s ok 1172 /checksum/SHA384/60
1992s ok 1173 /checksum/SHA384/61
1992s ok 1174 /checksum/SHA384/62
1992s ok 1175 /checksum/SHA384/63
1992s ok 1176 /checksum/SHA384/64
1992s ok 1177 /checksum/SHA384/65
1992s ok 1178 /checksum/SHA384/66
1992s ok 1179 /checksum/SHA384/67
1992s ok 1180 /checksum/SHA384/68
1992s ok 1181 /checksum/SHA384/69
1992s ok 1182 /checksum/SHA384/70
1992s ok 1183 /checksum/SHA384/71
1992s ok 1184 /checksum/SHA384/72
1992s ok 1185 /checksum/SHA384/73
1992s ok 1186 /checksum/SHA384/74
1992s ok 1187 /checksum/SHA384/75
1992s ok 1188 /checksum/SHA384/76
1992s ok 1189 /checksum/SHA384/77
1992s ok 1190 /checksum/SHA384/78
1992s ok 1191 /checksum/SHA384/79
1992s ok 1192 /checksum/SHA384/80
1992s ok 1193 /checksum/SHA384/81
1992s ok 1194 /checksum/SHA384/82
1992s ok 1195 /checksum/SHA384/83
1992s ok 1196 /checksum/SHA384/84
1992s ok 1197 /checksum/SHA384/85
1992s ok 1198 /checksum/SHA384/86
1992s ok 1199 /checksum/SHA384/87
1992s ok 1200 /checksum/SHA384/88
1992s ok 1201 /checksum/SHA384/89
1992s ok 1202 /checksum/SHA384/90
1992s ok 1203 /checksum/SHA384/91
1992s ok 1204 /checksum/SHA384/92
1992s ok 1205 /checksum/SHA384/93
1992s ok 1206 /checksum/SHA384/94
1992s ok 1207 /checksum/SHA384/95
1992s ok 1208 /checksum/SHA384/96
1992s ok 1209 /checksum/SHA384/97
1992s ok 1210 /checksum/SHA384/98
1992s ok 1211 /checksum/SHA384/99
1992s ok 1212 /checksum/SHA384/100
1992s ok 1213 /checksum/SHA384/101
1992s ok 1214 /checksum/SHA384/102
1992s ok 1215 /checksum/SHA384/103
1992s ok 1216 /checksum/SHA384/104
1992s ok 1217 /checksum/SHA384/105
1992s ok 1218 /checksum/SHA384/106
1992s ok 1219 /checksum/SHA384/107
1992s ok 1220 /checksum/SHA384/108
1992s ok 1221 /checksum/SHA384/109
1992s ok 1222 /checksum/SHA384/110
1992s ok 1223 /checksum/SHA384/111
1992s ok 1224 /checksum/SHA384/112
1992s ok 1225 /checksum/SHA384/113
1992s ok 1226 /checksum/SHA384/114
1992s ok 1227 /checksum/SHA384/115
1992s ok 1228 /checksum/SHA384/116
1992s ok 1229 /checksum/SHA384/117
1992s ok 1230 /checksum/SHA384/118
1992s ok 1231 /checksum/SHA384/119
1992s ok 1232 /checksum/SHA384/120
1992s ok 1233 /checksum/SHA384/121
1992s ok 1234 /checksum/SHA384/122
1992s ok 1235 /checksum/SHA384/123
1992s ok 1236 /checksum/SHA384/124
1992s ok 1237 /checksum/SHA384/125
1992s ok 1238 /checksum/SHA384/126
1992s ok 1239 /checksum/SHA384/127
1992s ok 1240 /checksum/SHA384/128
1992s ok 1241 /checksum/SHA384/129
1992s ok 1242 /checksum/SHA384/130
1992s ok 1243 /checksum/SHA384/131
1992s ok 1244 /checksum/SHA384/132
1992s ok 1245 /checksum/SHA384/133
1992s ok 1246 /checksum/SHA384/134
1992s ok 1247 /checksum/SHA384/135
1992s ok 1248 /checksum/SHA384/136
1992s ok 1249 /checksum/SHA384/137
1992s ok 1250 /checksum/SHA384/138
1992s ok 1251 /checksum/SHA384/139
1992s ok 1252 /checksum/SHA384/140
1992s ok 1253 /checksum/SHA384/141
1992s ok 1254 /checksum/SHA384/142
1992s ok 1255 /checksum/SHA384/143
1992s ok 1256 /checksum/SHA384/144
1992s ok 1257 /checksum/SHA384/145
1992s ok 1258 /checksum/SHA384/146
1992s ok 1259 /checksum/SHA384/147
1992s ok 1260 /checksum/SHA384/148
1992s ok 1261 /checksum/SHA384/149
1992s ok 1262 /checksum/SHA384/150
1992s ok 1263 /checksum/SHA384/151
1992s ok 1264 /checksum/SHA384/152
1992s ok 1265 /checksum/SHA384/153
1992s ok 1266 /checksum/SHA384/154
1992s ok 1267 /checksum/SHA384/155
1992s ok 1268 /checksum/SHA384/156
1992s ok 1269 /checksum/SHA384/157
1992s ok 1270 /checksum/SHA384/158
1992s ok 1271 /checksum/SHA384/159
1992s ok 1272 /checksum/SHA384/160
1992s ok 1273 /checksum/SHA384/161
1992s ok 1274 /checksum/SHA384/162
1992s ok 1275 /checksum/SHA384/163
1992s ok 1276 /checksum/SHA384/164
1992s ok 1277 /checksum/SHA384/165
1992s ok 1278 /checksum/SHA384/166
1992s ok 1279 /checksum/SHA384/167
1992s ok 1280 /checksum/SHA384/168
1992s ok 1281 /checksum/SHA384/169
1992s ok 1282 /checksum/SHA384/170
1992s ok 1283 /checksum/SHA384/171
1992s ok 1284 /checksum/SHA384/172
1992s ok 1285 /checksum/SHA384/173
1992s ok 1286 /checksum/SHA384/174
1992s ok 1287 /checksum/SHA384/175
1992s ok 1288 /checksum/SHA384/176
1992s ok 1289 /checksum/SHA384/177
1992s ok 1290 /checksum/SHA384/178
1992s ok 1291 /checksum/SHA384/179
1992s ok 1292 /checksum/SHA384/180
1992s ok 1293 /checksum/SHA384/181
1992s ok 1294 /checksum/SHA384/182
1992s ok 1295 /checksum/SHA384/183
1992s ok 1296 /checksum/SHA384/string
1992s ok 1297 /checksum/SHA384/bytes
1992s # Start of reset tests
1992s ok 1298 /checksum/SHA384/reset/0
1992s ok 1299 /checksum/SHA384/reset/1
1992s ok 1300 /checksum/SHA384/reset/2
1992s ok 1301 /checksum/SHA384/reset/3
1992s ok 1302 /checksum/SHA384/reset/4
1992s ok 1303 /checksum/SHA384/reset/5
1992s ok 1304 /checksum/SHA384/reset/6
1992s ok 1305 /checksum/SHA384/reset/7
1992s ok 1306 /checksum/SHA384/reset/8
1992s ok 1307 /checksum/SHA384/reset/9
1992s ok 1308 /checksum/SHA384/reset/10
1992s ok 1309 /checksum/SHA384/reset/11
1992s ok 1310 /checksum/SHA384/reset/12
1992s ok 1311 /checksum/SHA384/reset/13
1992s ok 1312 /checksum/SHA384/reset/14
1992s ok 1313 /checksum/SHA384/reset/15
1992s ok 1314 /checksum/SHA384/reset/16
1992s ok 1315 /checksum/SHA384/reset/17
1992s ok 1316 /checksum/SHA384/reset/18
1992s ok 1317 /checksum/SHA384/reset/19
1992s ok 1318 /checksum/SHA384/reset/20
1992s ok 1319 /checksum/SHA384/reset/21
1992s ok 1320 /checksum/SHA384/reset/22
1992s ok 1321 /checksum/SHA384/reset/23
1992s ok 1322 /checksum/SHA384/reset/24
1992s ok 1323 /checksum/SHA384/reset/25
1992s ok 1324 /checksum/SHA384/reset/26
1992s ok 1325 /checksum/SHA384/reset/27
1992s ok 1326 /checksum/SHA384/reset/28
1992s ok 1327 /checksum/SHA384/reset/29
1992s ok 1328 /checksum/SHA384/reset/30
1992s ok 1329 /checksum/SHA384/reset/31
1992s ok 1330 /checksum/SHA384/reset/32
1992s ok 1331 /checksum/SHA384/reset/33
1992s ok 1332 /checksum/SHA384/reset/34
1992s ok 1333 /checksum/SHA384/reset/35
1992s ok 1334 /checksum/SHA384/reset/36
1992s ok 1335 /checksum/SHA384/reset/37
1992s ok 1336 /checksum/SHA384/reset/38
1992s ok 1337 /checksum/SHA384/reset/39
1992s ok 1338 /checksum/SHA384/reset/40
1992s ok 1339 /checksum/SHA384/reset/41
1992s ok 1340 /checksum/SHA384/reset/42
1992s ok 1341 /checksum/SHA384/reset/43
1992s ok 1342 /checksum/SHA384/reset/44
1992s ok 1343 /checksum/SHA384/reset/45
1992s ok 1344 /checksum/SHA384/reset/46
1992s ok 1345 /checksum/SHA384/reset/47
1992s ok 1346 /checksum/SHA384/reset/48
1992s ok 1347 /checksum/SHA384/reset/49
1992s ok 1348 /checksum/SHA384/reset/50
1992s ok 1349 /checksum/SHA384/reset/51
1992s ok 1350 /checksum/SHA384/reset/52
1992s ok 1351 /checksum/SHA384/reset/53
1992s ok 1352 /checksum/SHA384/reset/54
1992s ok 1353 /checksum/SHA384/reset/55
1992s ok 1354 /checksum/SHA384/reset/56
1992s ok 1355 /checksum/SHA384/reset/57
1992s ok 1356 /checksum/SHA384/reset/58
1992s ok 1357 /checksum/SHA384/reset/59
1992s ok 1358 /checksum/SHA384/reset/60
1992s ok 1359 /checksum/SHA384/reset/61
1992s ok 1360 /checksum/SHA384/reset/62
1992s ok 1361 /checksum/SHA384/reset/63
1992s ok 1362 /checksum/SHA384/reset/64
1992s ok 1363 /checksum/SHA384/reset/65
1992s ok 1364 /checksum/SHA384/reset/66
1992s ok 1365 /checksum/SHA384/reset/67
1992s ok 1366 /checksum/SHA384/reset/68
1992s ok 1367 /checksum/SHA384/reset/69
1992s ok 1368 /checksum/SHA384/reset/70
1992s ok 1369 /checksum/SHA384/reset/71
1992s ok 1370 /checksum/SHA384/reset/72
1992s ok 1371 /checksum/SHA384/reset/73
1992s ok 1372 /checksum/SHA384/reset/74
1992s ok 1373 /checksum/SHA384/reset/75
1992s ok 1374 /checksum/SHA384/reset/76
1992s ok 1375 /checksum/SHA384/reset/77
1992s ok 1376 /checksum/SHA384/reset/78
1992s ok 1377 /checksum/SHA384/reset/79
1992s ok 1378 /checksum/SHA384/reset/80
1992s ok 1379 /checksum/SHA384/reset/81
1992s ok 1380 /checksum/SHA384/reset/82
1992s ok 1381 /checksum/SHA384/reset/83
1992s ok 1382 /checksum/SHA384/reset/84
1992s ok 1383 /checksum/SHA384/reset/85
1992s ok 1384 /checksum/SHA384/reset/86
1992s ok 1385 /checksum/SHA384/reset/87
1992s ok 1386 /checksum/SHA384/reset/88
1992s ok 1387 /checksum/SHA384/reset/89
1992s ok 1388 /checksum/SHA384/reset/90
1992s ok 1389 /checksum/SHA384/reset/91
1992s ok 1390 /checksum/SHA384/reset/92
1992s ok 1391 /checksum/SHA384/reset/93
1992s ok 1392 /checksum/SHA384/reset/94
1992s ok 1393 /checksum/SHA384/reset/95
1992s ok 1394 /checksum/SHA384/reset/96
1992s ok 1395 /checksum/SHA384/reset/97
1992s ok 1396 /checksum/SHA384/reset/98
1992s ok 1397 /checksum/SHA384/reset/99
1992s ok 1398 /checksum/SHA384/reset/100
1992s ok 1399 /checksum/SHA384/reset/101
1992s ok 1400 /checksum/SHA384/reset/102
1992s ok 1401 /checksum/SHA384/reset/103
1992s ok 1402 /checksum/SHA384/reset/104
1992s ok 1403 /checksum/SHA384/reset/105
1992s ok 1404 /checksum/SHA384/reset/106
1992s ok 1405 /checksum/SHA384/reset/107
1992s ok 1406 /checksum/SHA384/reset/108
1992s ok 1407 /checksum/SHA384/reset/109
1992s ok 1408 /checksum/SHA384/reset/110
1992s ok 1409 /checksum/SHA384/reset/111
1992s ok 1410 /checksum/SHA384/reset/112
1992s ok 1411 /checksum/SHA384/reset/113
1992s ok 1412 /checksum/SHA384/reset/114
1992s ok 1413 /checksum/SHA384/reset/115
1992s ok 1414 /checksum/SHA384/reset/116
1992s ok 1415 /checksum/SHA384/reset/117
1992s ok 1416 /checksum/SHA384/reset/118
1992s ok 1417 /checksum/SHA384/reset/119
1992s ok 1418 /checksum/SHA384/reset/120
1992s ok 1419 /checksum/SHA384/reset/121
1992s ok 1420 /checksum/SHA384/reset/122
1992s ok 1421 /checksum/SHA384/reset/123
1992s ok 1422 /checksum/SHA384/reset/124
1992s ok 1423 /checksum/SHA384/reset/125
1992s ok 1424 /checksum/SHA384/reset/126
1992s ok 1425 /checksum/SHA384/reset/127
1992s ok 1426 /checksum/SHA384/reset/128
1992s ok 1427 /checksum/SHA384/reset/129
1992s ok 1428 /checksum/SHA384/reset/130
1992s ok 1429 /checksum/SHA384/reset/131
1992s ok 1430 /checksum/SHA384/reset/132
1992s ok 1431 /checksum/SHA384/reset/133
1992s ok 1432 /checksum/SHA384/reset/134
1992s ok 1433 /checksum/SHA384/reset/135
1992s ok 1434 /checksum/SHA384/reset/136
1992s ok 1435 /checksum/SHA384/reset/137
1992s ok 1436 /checksum/SHA384/reset/138
1992s ok 1437 /checksum/SHA384/reset/139
1992s ok 1438 /checksum/SHA384/reset/140
1992s ok 1439 /checksum/SHA384/reset/141
1992s ok 1440 /checksum/SHA384/reset/142
1992s ok 1441 /checksum/SHA384/reset/143
1992s ok 1442 /checksum/SHA384/reset/144
1992s ok 1443 /checksum/SHA384/reset/145
1992s ok 1444 /checksum/SHA384/reset/146
1992s ok 1445 /checksum/SHA384/reset/147
1992s ok 1446 /checksum/SHA384/reset/148
1992s ok 1447 /checksum/SHA384/reset/149
1992s ok 1448 /checksum/SHA384/reset/150
1992s ok 1449 /checksum/SHA384/reset/151
1992s ok 1450 /checksum/SHA384/reset/152
1992s ok 1451 /checksum/SHA384/reset/153
1992s ok 1452 /checksum/SHA384/reset/154
1992s ok 1453 /checksum/SHA384/reset/155
1992s ok 1454 /checksum/SHA384/reset/156
1992s ok 1455 /checksum/SHA384/reset/157
1992s ok 1456 /checksum/SHA384/reset/158
1992s ok 1457 /checksum/SHA384/reset/159
1992s ok 1458 /checksum/SHA384/reset/160
1992s ok 1459 /checksum/SHA384/reset/161
1992s ok 1460 /checksum/SHA384/reset/162
1992s ok 1461 /checksum/SHA384/reset/163
1992s ok 1462 /checksum/SHA384/reset/164
1992s ok 1463 /checksum/SHA384/reset/165
1992s ok 1464 /checksum/SHA384/reset/166
1992s ok 1465 /checksum/SHA384/reset/167
1992s ok 1466 /checksum/SHA384/reset/168
1992s ok 1467 /checksum/SHA384/reset/169
1992s ok 1468 /checksum/SHA384/reset/170
1992s ok 1469 /checksum/SHA384/reset/171
1992s ok 1470 /checksum/SHA384/reset/172
1992s ok 1471 /checksum/SHA384/reset/173
1992s ok 1472 /checksum/SHA384/reset/174
1992s ok 1473 /checksum/SHA384/reset/175
1992s ok 1474 /checksum/SHA384/reset/176
1992s ok 1475 /checksum/SHA384/reset/177
1992s ok 1476 /checksum/SHA384/reset/178
1992s ok 1477 /checksum/SHA384/reset/179
1992s ok 1478 /checksum/SHA384/reset/180
1992s ok 1479 /checksum/SHA384/reset/181
1992s ok 1480 /checksum/SHA384/reset/182
1992s ok 1481 /checksum/SHA384/reset/183
1992s # End of reset tests
1992s # End of SHA384 tests
1992s # Start of SHA512 tests
1992s ok 1482 /checksum/SHA512/0
1992s ok 1483 /checksum/SHA512/1
1992s ok 1484 /checksum/SHA512/2
1992s ok 1485 /checksum/SHA512/3
1992s ok 1486 /checksum/SHA512/4
1992s ok 1487 /checksum/SHA512/5
1992s ok 1488 /checksum/SHA512/6
1992s ok 1489 /checksum/SHA512/7
1992s ok 1490 /checksum/SHA512/8
1992s ok 1491 /checksum/SHA512/9
1992s ok 1492 /checksum/SHA512/10
1992s ok 1493 /checksum/SHA512/11
1992s ok 1494 /checksum/SHA512/12
1992s ok 1495 /checksum/SHA512/13
1992s ok 1496 /checksum/SHA512/14
1992s ok 1497 /checksum/SHA512/15
1992s ok 1498 /checksum/SHA512/16
1992s ok 1499 /checksum/SHA512/17
1992s ok 1500 /checksum/SHA512/18
1992s ok 1501 /checksum/SHA512/19
1992s ok 1502 /checksum/SHA512/20
1992s ok 1503 /checksum/SHA512/21
1992s ok 1504 /checksum/SHA512/22
1992s ok 1505 /checksum/SHA512/23
1992s ok 1506 /checksum/SHA512/24
1992s ok 1507 /checksum/SHA512/25
1992s ok 1508 /checksum/SHA512/26
1992s ok 1509 /checksum/SHA512/27
1992s ok 1510 /checksum/SHA512/28
1992s ok 1511 /checksum/SHA512/29
1992s ok 1512 /checksum/SHA512/30
1992s ok 1513 /checksum/SHA512/31
1992s ok 1514 /checksum/SHA512/32
1992s ok 1515 /checksum/SHA512/33
1992s ok 1516 /checksum/SHA512/34
1992s ok 1517 /checksum/SHA512/35
1992s ok 1518 /checksum/SHA512/36
1992s ok 1519 /checksum/SHA512/37
1992s ok 1520 /checksum/SHA512/38
1992s ok 1521 /checksum/SHA512/39
1992s ok 1522 /checksum/SHA512/40
1992s ok 1523 /checksum/SHA512/41
1992s ok 1524 /checksum/SHA512/42
1992s ok 1525 /checksum/SHA512/43
1992s ok 1526 /checksum/SHA512/44
1992s ok 1527 /checksum/SHA512/45
1992s ok 1528 /checksum/SHA512/46
1992s ok 1529 /checksum/SHA512/47
1992s ok 1530 /checksum/SHA512/48
1992s ok 1531 /checksum/SHA512/49
1992s ok 1532 /checksum/SHA512/50
1992s ok 1533 /checksum/SHA512/51
1992s ok 1534 /checksum/SHA512/52
1992s ok 1535 /checksum/SHA512/53
1992s ok 1536 /checksum/SHA512/54
1992s ok 1537 /checksum/SHA512/55
1992s ok 1538 /checksum/SHA512/56
1992s ok 1539 /checksum/SHA512/57
1992s ok 1540 /checksum/SHA512/58
1992s ok 1541 /checksum/SHA512/59
1992s ok 1542 /checksum/SHA512/60
1992s ok 1543 /checksum/SHA512/61
1992s ok 1544 /checksum/SHA512/62
1992s ok 1545 /checksum/SHA512/63
1992s ok 1546 /checksum/SHA512/64
1992s ok 1547 /checksum/SHA512/65
1992s ok 1548 /checksum/SHA512/66
1992s ok 1549 /checksum/SHA512/67
1992s ok 1550 /checksum/SHA512/68
1992s ok 1551 /checksum/SHA512/69
1992s ok 1552 /checksum/SHA512/70
1992s ok 1553 /checksum/SHA512/71
1992s ok 1554 /checksum/SHA512/72
1992s ok 1555 /checksum/SHA512/73
1992s ok 1556 /checksum/SHA512/74
1992s ok 1557 /checksum/SHA512/75
1992s ok 1558 /checksum/SHA512/76
1992s ok 1559 /checksum/SHA512/77
1992s ok 1560 /checksum/SHA512/78
1992s ok 1561 /checksum/SHA512/79
1992s ok 1562 /checksum/SHA512/80
1992s ok 1563 /checksum/SHA512/81
1992s ok 1564 /checksum/SHA512/82
1992s ok 1565 /checksum/SHA512/83
1992s ok 1566 /checksum/SHA512/84
1992s ok 1567 /checksum/SHA512/85
1992s ok 1568 /checksum/SHA512/86
1992s ok 1569 /checksum/SHA512/87
1992s ok 1570 /checksum/SHA512/88
1992s ok 1571 /checksum/SHA512/89
1992s ok 1572 /checksum/SHA512/90
1992s ok 1573 /checksum/SHA512/91
1992s ok 1574 /checksum/SHA512/92
1992s ok 1575 /checksum/SHA512/93
1992s ok 1576 /checksum/SHA512/94
1992s ok 1577 /checksum/SHA512/95
1992s ok 1578 /checksum/SHA512/96
1992s ok 1579 /checksum/SHA512/97
1992s ok 1580 /checksum/SHA512/98
1992s ok 1581 /checksum/SHA512/99
1992s ok 1582 /checksum/SHA512/100
1992s ok 1583 /checksum/SHA512/101
1992s ok 1584 /checksum/SHA512/102
1992s ok 1585 /checksum/SHA512/103
1992s ok 1586 /checksum/SHA512/104
1992s ok 1587 /checksum/SHA512/105
1992s ok 1588 /checksum/SHA512/106
1992s ok 1589 /checksum/SHA512/107
1992s ok 1590 /checksum/SHA512/108
1992s ok 1591 /checksum/SHA512/109
1992s ok 1592 /checksum/SHA512/110
1992s ok 1593 /checksum/SHA512/111
1992s ok 1594 /checksum/SHA512/112
1992s ok 1595 /checksum/SHA512/113
1992s ok 1596 /checksum/SHA512/114
1992s ok 1597 /checksum/SHA512/115
1992s ok 1598 /checksum/SHA512/116
1992s ok 1599 /checksum/SHA512/117
1992s ok 1600 /checksum/SHA512/118
1992s ok 1601 /checksum/SHA512/119
1992s ok 1602 /checksum/SHA512/120
1992s ok 1603 /checksum/SHA512/121
1992s ok 1604 /checksum/SHA512/122
1992s ok 1605 /checksum/SHA512/123
1992s ok 1606 /checksum/SHA512/124
1992s ok 1607 /checksum/SHA512/125
1992s ok 1608 /checksum/SHA512/126
1992s ok 1609 /checksum/SHA512/127
1992s ok 1610 /checksum/SHA512/128
1992s ok 1611 /checksum/SHA512/129
1992s ok 1612 /checksum/SHA512/130
1992s ok 1613 /checksum/SHA512/131
1992s ok 1614 /checksum/SHA512/132
1992s ok 1615 /checksum/SHA512/133
1992s ok 1616 /checksum/SHA512/134
1992s ok 1617 /checksum/SHA512/135
1992s ok 1618 /checksum/SHA512/136
1992s ok 1619 /checksum/SHA512/137
1992s ok 1620 /checksum/SHA512/138
1992s ok 1621 /checksum/SHA512/139
1992s ok 1622 /checksum/SHA512/140
1992s ok 1623 /checksum/SHA512/141
1992s ok 1624 /checksum/SHA512/142
1992s ok 1625 /checksum/SHA512/143
1992s ok 1626 /checksum/SHA512/144
1992s ok 1627 /checksum/SHA512/145
1992s ok 1628 /checksum/SHA512/146
1992s ok 1629 /checksum/SHA512/147
1992s ok 1630 /checksum/SHA512/148
1992s ok 1631 /checksum/SHA512/149
1992s ok 1632 /checksum/SHA512/150
1992s ok 1633 /checksum/SHA512/151
1992s ok 1634 /checksum/SHA512/152
1992s ok 1635 /checksum/SHA512/153
1992s ok 1636 /checksum/SHA512/154
1992s ok 1637 /checksum/SHA512/155
1992s ok 1638 /checksum/SHA512/156
1992s ok 1639 /checksum/SHA512/157
1992s ok 1640 /checksum/SHA512/158
1992s ok 1641 /checksum/SHA512/159
1992s ok 1642 /checksum/SHA512/160
1992s ok 1643 /checksum/SHA512/161
1992s ok 1644 /checksum/SHA512/162
1992s ok 1645 /checksum/SHA512/163
1992s ok 1646 /checksum/SHA512/164
1992s ok 1647 /checksum/SHA512/165
1992s ok 1648 /checksum/SHA512/166
1992s ok 1649 /checksum/SHA512/167
1992s ok 1650 /checksum/SHA512/168
1992s ok 1651 /checksum/SHA512/169
1992s ok 1652 /checksum/SHA512/170
1992s ok 1653 /checksum/SHA512/171
1992s ok 1654 /checksum/SHA512/172
1992s ok 1655 /checksum/SHA512/173
1992s ok 1656 /checksum/SHA512/174
1992s ok 1657 /checksum/SHA512/175
1992s ok 1658 /checksum/SHA512/176
1992s ok 1659 /checksum/SHA512/177
1992s ok 1660 /checksum/SHA512/178
1992s ok 1661 /checksum/SHA512/179
1992s ok 1662 /checksum/SHA512/180
1992s ok 1663 /checksum/SHA512/181
1992s ok 1664 /checksum/SHA512/182
1992s ok 1665 /checksum/SHA512/183
1992s ok 1666 /checksum/SHA512/string
1992s ok 1667 /checksum/SHA512/bytes
1992s # Start of reset tests
1992s ok 1668 /checksum/SHA512/reset/0
1992s ok 1669 /checksum/SHA512/reset/1
1992s ok 1670 /checksum/SHA512/reset/2
1992s ok 1671 /checksum/SHA512/reset/3
1992s ok 1672 /checksum/SHA512/reset/4
1992s ok 1673 /checksum/SHA512/reset/5
1992s ok 1674 /checksum/SHA512/reset/6
1992s ok 1675 /checksum/SHA512/reset/7
1992s ok 1676 /checksum/SHA512/reset/8
1992s ok 1677 /checksum/SHA512/reset/9
1992s ok 1678 /checksum/SHA512/reset/10
1992s ok 1679 /checksum/SHA512/reset/11
1992s ok 1680 /checksum/SHA512/reset/12
1992s ok 1681 /checksum/SHA512/reset/13
1992s ok 1682 /checksum/SHA512/reset/14
1992s ok 1683 /checksum/SHA512/reset/15
1992s ok 1684 /checksum/SHA512/reset/16
1992s ok 1685 /checksum/SHA512/reset/17
1992s ok 1686 /checksum/SHA512/reset/18
1992s ok 1687 /checksum/SHA512/reset/19
1992s ok 1688 /checksum/SHA512/reset/20
1992s ok 1689 /checksum/SHA512/reset/21
1992s ok 1690 /checksum/SHA512/reset/22
1992s ok 1691 /checksum/SHA512/reset/23
1992s ok 1692 /checksum/SHA512/reset/24
1992s ok 1693 /checksum/SHA512/reset/25
1992s ok 1694 /checksum/SHA512/reset/26
1992s ok 1695 /checksum/SHA512/reset/27
1992s ok 1696 /checksum/SHA512/reset/28
1992s ok 1697 /checksum/SHA512/reset/29
1992s ok 1698 /checksum/SHA512/reset/30
1992s ok 1699 /checksum/SHA512/reset/31
1992s ok 1700 /checksum/SHA512/reset/32
1992s ok 1701 /checksum/SHA512/reset/33
1992s ok 1702 /checksum/SHA512/reset/34
1992s ok 1703 /checksum/SHA512/reset/35
1992s ok 1704 /checksum/SHA512/reset/36
1992s ok 1705 /checksum/SHA512/reset/37
1992s ok 1706 /checksum/SHA512/reset/38
1992s ok 1707 /checksum/SHA512/reset/39
1992s ok 1708 /checksum/SHA512/reset/40
1992s ok 1709 /checksum/SHA512/reset/41
1992s ok 1710 /checksum/SHA512/reset/42
1992s ok 1711 /checksum/SHA512/reset/43
1992s ok 1712 /checksum/SHA512/reset/44
1992s ok 1713 /checksum/SHA512/reset/45
1992s ok 1714 /checksum/SHA512/reset/46
1992s ok 1715 /checksum/SHA512/reset/47
1992s ok 1716 /checksum/SHA512/reset/48
1992s ok 1717 /checksum/SHA512/reset/49
1992s ok 1718 /checksum/SHA512/reset/50
1992s ok 1719 /checksum/SHA512/reset/51
1992s ok 1720 /checksum/SHA512/reset/52
1992s ok 1721 /checksum/SHA512/reset/53
1992s ok 1722 /checksum/SHA512/reset/54
1992s ok 1723 /checksum/SHA512/reset/55
1992s ok 1724 /checksum/SHA512/reset/56
1992s ok 1725 /checksum/SHA512/reset/57
1992s ok 1726 /checksum/SHA512/reset/58
1992s ok 1727 /checksum/SHA512/reset/59
1992s ok 1728 /checksum/SHA512/reset/60
1992s ok 1729 /checksum/SHA512/reset/61
1992s ok 1730 /checksum/SHA512/reset/62
1992s ok 1731 /checksum/SHA512/reset/63
1992s ok 1732 /checksum/SHA512/reset/64
1992s ok 1733 /checksum/SHA512/reset/65
1992s ok 1734 /checksum/SHA512/reset/66
1992s ok 1735 /checksum/SHA512/reset/67
1992s ok 1736 /checksum/SHA512/reset/68
1992s ok 1737 /checksum/SHA512/reset/69
1992s ok 1738 /checksum/SHA512/reset/70
1992s ok 1739 /checksum/SHA512/reset/71
1992s ok 1740 /checksum/SHA512/reset/72
1992s ok 1741 /checksum/SHA512/reset/73
1992s ok 1742 /checksum/SHA512/reset/74
1992s ok 1743 /checksum/SHA512/reset/75
1992s ok 1744 /checksum/SHA512/reset/76
1992s ok 1745 /checksum/SHA512/reset/77
1992s ok 1746 /checksum/SHA512/reset/78
1992s ok 1747 /checksum/SHA512/reset/79
1992s ok 1748 /checksum/SHA512/reset/80
1992s ok 1749 /checksum/SHA512/reset/81
1992s ok 1750 /checksum/SHA512/reset/82
1992s ok 1751 /checksum/SHA512/reset/83
1992s ok 1752 /checksum/SHA512/reset/84
1992s ok 1753 /checksum/SHA512/reset/85
1992s ok 1754 /checksum/SHA512/reset/86
1992s ok 1755 /checksum/SHA512/reset/87
1992s ok 1756 /checksum/SHA512/reset/88
1992s ok 1757 /checksum/SHA512/reset/89
1992s ok 1758 /checksum/SHA512/reset/90
1992s ok 1759 /checksum/SHA512/reset/91
1992s ok 1760 /checksum/SHA512/reset/92
1992s ok 1761 /checksum/SHA512/reset/93
1992s ok 1762 /checksum/SHA512/reset/94
1992s ok 1763 /checksum/SHA512/reset/95
1992s ok 1764 /checksum/SHA512/reset/96
1992s ok 1765 /checksum/SHA512/reset/97
1992s ok 1766 /checksum/SHA512/reset/98
1992s ok 1767 /checksum/SHA512/reset/99
1992s ok 1768 /checksum/SHA512/reset/100
1992s ok 1769 /checksum/SHA512/reset/101
1992s ok 1770 /checksum/SHA512/reset/102
1992s ok 1771 /checksum/SHA512/reset/103
1992s ok 1772 /checksum/SHA512/reset/104
1992s ok 1773 /checksum/SHA512/reset/105
1992s ok 1774 /checksum/SHA512/reset/106
1992s ok 1775 /checksum/SHA512/reset/107
1992s ok 1776 /checksum/SHA512/reset/108
1992s ok 1777 /checksum/SHA512/reset/109
1992s ok 1778 /checksum/SHA512/reset/110
1992s ok 1779 /checksum/SHA512/reset/111
1992s ok 1780 /checksum/SHA512/reset/112
1992s ok 1781 /checksum/SHA512/reset/113
1992s ok 1782 /checksum/SHA512/reset/114
1992s ok 1783 /checksum/SHA512/reset/115
1992s ok 1784 /checksum/SHA512/reset/116
1992s ok 1785 /checksum/SHA512/reset/117
1992s ok 1786 /checksum/SHA512/reset/118
1992s ok 1787 /checksum/SHA512/reset/119
1992s ok 1788 /checksum/SHA512/reset/120
1992s ok 1789 /checksum/SHA512/reset/121
1992s ok 1790 /checksum/SHA512/reset/122
1992s ok 1791 /checksum/SHA512/reset/123
1992s ok 1792 /checksum/SHA512/reset/124
1992s ok 1793 /checksum/SHA512/reset/125
1992s ok 1794 /checksum/SHA512/reset/126
1992s ok 1795 /checksum/SHA512/reset/127
1992s ok 1796 /checksum/SHA512/reset/128
1992s ok 1797 /checksum/SHA512/reset/129
1992s ok 1798 /checksum/SHA512/reset/130
1992s ok 1799 /checksum/SHA512/reset/131
1992s ok 1800 /checksum/SHA512/reset/132
1992s ok 1801 /checksum/SHA512/reset/133
1992s ok 1802 /checksum/SHA512/reset/134
1992s ok 1803 /checksum/SHA512/reset/135
1992s ok 1804 /checksum/SHA512/reset/136
1992s ok 1805 /checksum/SHA512/reset/137
1992s ok 1806 /checksum/SHA512/reset/138
1992s ok 1807 /checksum/SHA512/reset/139
1992s ok 1808 /checksum/SHA512/reset/140
1992s ok 1809 /checksum/SHA512/reset/141
1992s ok 1810 /checksum/SHA512/reset/142
1992s ok 1811 /checksum/SHA512/reset/143
1992s ok 1812 /checksum/SHA512/reset/144
1992s ok 1813 /checksum/SHA512/reset/145
1992s ok 1814 /checksum/SHA512/reset/146
1992s ok 1815 /checksum/SHA512/reset/147
1992s ok 1816 /checksum/SHA512/reset/148
1992s ok 1817 /checksum/SHA512/reset/149
1992s ok 1818 /checksum/SHA512/reset/150
1992s ok 1819 /checksum/SHA512/reset/151
1992s ok 1820 /checksum/SHA512/reset/152
1992s ok 1821 /checksum/SHA512/reset/153
1992s ok 1822 /checksum/SHA512/reset/154
1992s ok 1823 /checksum/SHA512/reset/155
1992s ok 1824 /checksum/SHA512/reset/156
1992s ok 1825 /checksum/SHA512/reset/157
1992s ok 1826 /checksum/SHA512/reset/158
1992s ok 1827 /checksum/SHA512/reset/159
1992s ok 1828 /checksum/SHA512/reset/160
1992s ok 1829 /checksum/SHA512/reset/161
1992s ok 1830 /checksum/SHA512/reset/162
1992s ok 1831 /checksum/SHA512/reset/163
1992s ok 1832 /checksum/SHA512/reset/164
1992s ok 1833 /checksum/SHA512/reset/165
1992s ok 1834 /checksum/SHA512/reset/166
1992s ok 1835 /checksum/SHA512/reset/167
1992s ok 1836 /checksum/SHA512/reset/168
1992s ok 1837 /checksum/SHA512/reset/169
1992s ok 1838 /checksum/SHA512/reset/170
1992s ok 1839 /checksum/SHA512/reset/171
1992s ok 1840 /checksum/SHA512/reset/172
1992s ok 1841 /checksum/SHA512/reset/173
1992s ok 1842 /checksum/SHA512/reset/174
1992s ok 1843 /checksum/SHA512/reset/175
1992s ok 1844 /checksum/SHA512/reset/176
1992s ok 1845 /checksum/SHA512/reset/177
1992s ok 1846 /checksum/SHA512/reset/178
1992s ok 1847 /checksum/SHA512/reset/179
1992s ok 1848 /checksum/SHA512/reset/180
1992s ok 1849 /checksum/SHA512/reset/181
1992s ok 1850 /checksum/SHA512/reset/182
1992s ok 1851 /checksum/SHA512/reset/183
1992s # End of reset tests
1992s # End of SHA512 tests
1992s # End of checksum tests
1992s ok - glib/checksum.test
1992s # Running test: glib/registered-type-info.test
1992s TAP version 14
1992s # random seed: R02S3a2948ed369287480af161a942ef5c71
1992s 1..1
1992s # Start of registered-type-info tests
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_AZDWX2/registered-type-info/boxed/.dirs/runtime
1992s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1992s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo
1992s # Expecting CClosure to not be boxed
1992s # Expecting TypeCValue to not be boxed
1992s # Expecting InitiallyUnownedClass to not be boxed
1992s # Expecting BookmarkFile to be boxed
1992s # Expecting Closure to be boxed
1992s # Expecting Object to not be boxed
1992s ok 1 /registered-type-info/boxed
1992s # End of registered-type-info tests
1992s ok - glib/registered-type-info.test
1992s # Running test: glib/utils-isolated.test
1992s TAP version 14
1992s # random seed: R02S99a564fd5929efdc7a6eec079bf449b3
1992s 1..11
1992s # Start of utils-isolated tests
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/tmp-dir/.dirs/runtime
1992s ok 1 /utils-isolated/tmp-dir
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/home-dir/.dirs/runtime
1992s ok 2 /utils-isolated/home-dir
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-cache-dir/.dirs/runtime
1992s ok 3 /utils-isolated/user-cache-dir
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-config-dirs/.dirs/runtime
1992s ok 4 /utils-isolated/system-config-dirs
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-config-dir/.dirs/runtime
1992s ok 5 /utils-isolated/user-config-dir
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/system-data-dirs/.dirs/runtime
1992s ok 6 /utils-isolated/system-data-dirs
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-data-dir/.dirs/runtime
1992s ok 7 /utils-isolated/user-data-dir
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-state-dir/.dirs/runtime
1992s ok 8 /utils-isolated/user-state-dir
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/user-runtime-dir/.dirs/runtime
1992s ok 9 /utils-isolated/user-runtime-dir
1992s # Start of cleanup tests
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/runtime
1992s Unable to clean up temporary directory /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty
1992s Unable to clean up temporary directory /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty
1992s Unable to clean up temporary directory /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/handles-errors: Directory not empty
1992s ok 10 /utils-isolated/cleanup/handles-errors
1992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state
1992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime
1992s Unable to clean up temporary directory /tmp/test_utils-isolated_RKAWX2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory
1992s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks
1992s # End of cleanup tests
1992s # End of utils-isolated tests
1992s ok - glib/utils-isolated.test
1992s # Running test: glib/defaultvalue.test
1992s TAP version 14
1992s # random seed: R02S1b97ae9cea3a7af673e4bc642f24fea9
1992s 1..84
1992s # Start of Default Values tests
1992s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton
1992s ok 2 /Default Values/GAppLaunchContext
1992s ok 3 /Default Values/GApplicationCommandLine
1992s # skipping GApplication:is-remote
1992s ok 4 /Default Values/GApplication
1992s ok 5 /Default Values/GBinding # SKIP mandatory construct params
1992s ok 6 /Default Values/GBindingGroup
1992s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params
1992s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params
1992s ok 9 /Default Values/GBytesIcon
1992s ok 10 /Default Values/GCancellable
1992s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params
1992s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params
1992s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params
1992s ok 14 /Default Values/GCredentials
1992s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params
1992s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params
1992s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params
1992s ok 18 /Default Values/GDBusAuthObserver
1992s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params
1992s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize
1992s ok 21 /Default Values/GDBusMessage
1992s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize
1992s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params
1992s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params
1992s ok 25 /Default Values/GDBusObjectProxy
1992s ok 26 /Default Values/GDBusObjectSkeleton
1992s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params
1992s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params
1992s ok 29 /Default Values/GEmblem
1992s ok 30 /Default Values/GEmblemedIcon
1992s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract
1992s ok 32 /Default Values/GFileInfo
1992s ok 33 /Default Values/GFileInputStream
1992s ok 34 /Default Values/GFileIOStream # SKIP should be abstract
1992s ok 35 /Default Values/GFileOutputStream
1992s ok 36 /Default Values/GFilenameCompleter
1992s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params
1992s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed
1992s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params
1992s ok 40 /Default Values/GInitiallyUnowned
1992s ok 41 /Default Values/GIOModule
1992s ok 42 /Default Values/GListStore
1992s ok 43 /Default Values/GMemoryInputStream
1992s ok 44 /Default Values/GMemoryOutputStream
1992s ok 45 /Default Values/GMenu
1992s ok 46 /Default Values/GMenuItem
1992s ok 47 /Default Values/GMountOperation
1992s ok 48 /Default Values/GNativeSocketAddress
1992s ok 49 /Default Values/GNetworkAddress
1992s ok 50 /Default Values/GNetworkService
1992s ok 51 /Default Values/GNotification
1992s ok 52 /Default Values/GObject
1992s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params
1992s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1992s # skipping GProxyAddressEnumerator:proxy-resolver
1992s ok 54 /Default Values/GProxyAddressEnumerator
1992s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params
1992s ok 56 /Default Values/GSettings # SKIP mandatory construct params
1992s ok 57 /Default Values/GSignalGroup
1992s ok 58 /Default Values/GSimpleAction
1992s ok 59 /Default Values/GSimpleActionGroup
1992s ok 60 /Default Values/GSimpleAsyncResult
1992s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params
1992s ok 62 /Default Values/GSimplePermission
1992s ok 63 /Default Values/GSimpleProxyResolver
1992s # skipping GSocketClient:proxy-resolver
1992s ok 64 /Default Values/GSocketClient
1992s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params
1992s ok 66 /Default Values/GSocket # SKIP initialization failed
1992s ok 67 /Default Values/GSocketListener
1992s ok 68 /Default Values/GSocketService
1992s ok 69 /Default Values/GSubprocess # SKIP initialization failed
1992s ok 70 /Default Values/GSubprocessLauncher
1992s # GLib-GIO-DEBUG: GTask 0x304c008 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1992s ok 71 /Default Values/GTask
1992s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params
1992s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params
1992s ok 74 /Default Values/GTestDBus
1992s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params
1992s ok 76 /Default Values/GThreadedSocketService
1992s ok 77 /Default Values/GTlsInteraction
1992s ok 78 /Default Values/GTlsPassword
1992s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params
1992s ok 80 /Default Values/GUnixFDList
1992s ok 81 /Default Values/GVfs
1992s ok 82 /Default Values/GVolumeMonitor
1992s ok 83 /Default Values/GZlibCompressor
1992s ok 84 /Default Values/GZlibDecompressor
1992s # End of Default Values tests
1992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1992s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1992s ok - glib/defaultvalue.test
1992s # Running test: glib/mutex.test
1992s TAP version 14
1992s # random seed: R02S27f5f6e25a20d79ca162534e917c1ec8
1992s 1..17
1992s # Start of thread tests
1992s ok 1 /thread/mutex1
1992s ok 2 /thread/mutex2
1992s ok 3 /thread/mutex3
1992s ok 4 /thread/mutex4
1993s ok 5 /thread/mutex5
1993s # slow test /thread/mutex5 executed in 0.96 secs
1993s # Start of mutex tests
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1993s ok 6 /thread/mutex/errno
1993s # Start of perf tests
1993s # max perf: inf mips
1993s ok 7 /thread/mutex/perf/uncontended
1993s # Start of contended tests
1993s # max perf: inf mips
1993s ok 8 /thread/mutex/perf/contended/1
1993s # max perf: 3.000000 mips
1993s ok 9 /thread/mutex/perf/contended/2
1993s # max perf: 1.333333 mips
1993s ok 10 /thread/mutex/perf/contended/3
1993s # max perf: 5.000000 mips
1993s ok 11 /thread/mutex/perf/contended/4
1993s # max perf: 2.000000 mips
1993s ok 12 /thread/mutex/perf/contended/5
1993s # max perf: 0.318182 mips
1993s ok 13 /thread/mutex/perf/contended/6
1993s # max perf: 2.666667 mips
1993s ok 14 /thread/mutex/perf/contended/7
1993s # max perf: 3.000000 mips
1993s ok 15 /thread/mutex/perf/contended/8
1993s # max perf: 2.500000 mips
1993s ok 16 /thread/mutex/perf/contended/9
1993s # max perf: 1.833333 mips
1993s ok 17 /thread/mutex/perf/contended/10
1993s # End of contended tests
1993s # End of perf tests
1993s # End of mutex tests
1993s # End of thread tests
1993s ok - glib/mutex.test
1993s # Running test: glib/unicode-encoding.test
1993s TAP version 14
1993s # random seed: R02S2753592329953884852a82f2905b6e46
1993s 1..1
1993s # Start of unicode tests
1993s ok 1 /unicode/encoding
1993s # End of unicode tests
1993s ok - glib/unicode-encoding.test
1993s # Running test: glib/string.test
1993s TAP version 14
1993s # random seed: R02S45b45493e1719233d78370b2691fde6a
1993s 1..23
1993s # Start of string tests
1993s ok 1 /string/test-string-chunks
1993s ok 2 /string/test-string-chunk-insert
1993s ok 3 /string/test-string-new
1993s ok 4 /string/test-string-printf
1993s ok 5 /string/test-string-assign
1993s ok 6 /string/test-string-append-c
1993s ok 7 /string/test-string-append
1993s ok 8 /string/test-string-append-vprintf
1993s ok 9 /string/test-string-prepend-c
1993s ok 10 /string/test-string-prepend
1993s ok 11 /string/test-string-insert
1993s ok 12 /string/test-string-insert-unichar
1993s ok 13 /string/test-string-equal
1993s ok 14 /string/test-string-truncate
1993s ok 15 /string/test-string-overwrite
1993s ok 16 /string/test-string-nul-handling
1993s ok 17 /string/test-string-up-down
1993s ok 18 /string/test-string-set-size
1993s ok 19 /string/test-string-to-bytes
1993s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz"
1993s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz"
1993s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz"
1993s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz"
1993s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz"
1993s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz"
1993s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa"
1993s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl"
1993s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so"
1993s # -> 1 replacements, "/usr/lib32/libMangoHud.so"
1993s # 5: Replacing "o" with "" (limit 0) in "food for foals"
1993s # -> 4 replacements, "fd fr fals"
1993s # 6: Replacing "a" with "aaa" (limit 0) in "aaa"
1993s # -> 3 replacements, "aaaaaaaaa"
1993s # 7: Replacing "a" with "" (limit 0) in "aaa"
1993s # -> 3 replacements, ""
1993s # 8: Replacing "aa" with "bb" (limit 0) in "aaa"
1993s # -> 1 replacements, "bba"
1993s # 9: Replacing "" with "bar" (limit 0) in "foo"
1993s # -> 4 replacements, "barfbarobarobar"
1993s # 10: Replacing "" with "x" (limit 0) in ""
1993s # -> 1 replacements, "x"
1993s # 11: Replacing "" with "" (limit 0) in ""
1993s # -> 1 replacements, ""
1993s ok 20 /string/test-string-replace
1993s ok 21 /string/test-string-steal
1993s ok 22 /string/test-string-new-take
1993s # Start of test-string-new-take tests
1993s ok 23 /string/test-string-new-take/null
1993s # End of test-string-new-take tests
1993s # End of string tests
1993s ok - glib/string.test
1993s # Running test: glib/permission.test
1993s TAP version 14
1993s # random seed: R02Sde807c8c1083d7ff1c5d92052e326de8
1993s 1..1
1993s # Start of permission tests
1993s ok 1 /permission/simple
1993s # End of permission tests
1993s ok - glib/permission.test
1993s # Running test: glib/portal-support-flatpak-none.test
1993s TAP version 14
1993s # random seed: R02S3bbeaa103ee0447f00d161ae83a99784
1993s 1..1
1993s # Start of portal-support tests
1993s # Start of flatpak tests
1993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/home
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/cache
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/system-config2
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/config
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/system-data2
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/data
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/state
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/runtime
1993s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_D8MQX2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info
1993s ok 1 /portal-support/flatpak/none
1993s # End of flatpak tests
1993s # End of portal-support tests
1993s ok - glib/portal-support-flatpak-none.test
1993s # Running test: glib/utils-c-17.test
1993s TAP version 14
1993s # random seed: R02Sbb7bc3d4e952bf8a472354b2a104a7a5
1993s 1..40
1993s # Start of utils tests
1993s ok 1 /utils/language-names
1993s ok 2 /utils/locale-variants
1993s ok 3 /utils/version
1993s ok 4 /utils/appname
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1993s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1993s ok 5 /utils/prgname-thread-safety
1993s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1993s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1993s ok 6 /utils/tmpdir
1993s ok 7 /utils/basic_bits
1993s ok 8 /utils/bits
1993s ok 9 /utils/swap
1993s ok 10 /utils/find-program
1993s ok 11 /utils/find-program-for-path
1993s ok 12 /utils/debug
1993s ok 13 /utils/codeset
1993s ok 14 /utils/codeset2
1993s ok 15 /utils/console-charset
1993s ok 16 /utils/gettext
1993s ok 17 /utils/username
1993s ok 18 /utils/realname
1993s ok 19 /utils/hostname
1993s ok 20 /utils/xdgdirs
1993s ok 21 /utils/specialdir
1993s # NAME: Ubuntu
1993s ok 22 /utils/os-info
1993s ok 23 /utils/clear-pointer
1993s ok 24 /utils/clear-pointer-cast
1993s ok 25 /utils/take-pointer
1993s ok 26 /utils/clear-source
1993s ok 27 /utils/misc-mem
1993s # /utils/aligned-mem summary: Aligned memory allocator
1993s # Alignment must not be zero
1993s # Alignment must be a power of two
1993s # Alignment must be a multiple of sizeof(void*)
1993s ok 28 /utils/aligned-mem
1993s # /utils/free-sized summary: Check that g_free_sized() works
1993s ok 29 /utils/free-sized
1993s ok 30 /utils/nullify
1993s ok 31 /utils/atexit
1993s ok 32 /utils/check-setuid
1993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1993s ok 33 /utils/int-limits
1993s ok 34 /utils/clear-list
1993s ok 35 /utils/clear-slist
1993s # Start of specialdir tests
1993s ok 36 /utils/specialdir/desktop
1993s # End of specialdir tests
1993s # Start of clear-pointer tests
1993s ok 37 /utils/clear-pointer/side-effects
1993s # End of clear-pointer tests
1993s # Start of aligned-mem tests
1993s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1993s ok 38 /utils/aligned-mem/alignment
1993s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1993s ok 39 /utils/aligned-mem/zeroed
1993s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1993s ok 40 /utils/aligned-mem/free-sized
1993s # Start of subprocess tests
1993s # End of subprocess tests
1993s # End of aligned-mem tests
1993s # End of utils tests
1993s ok - glib/utils-c-17.test
1993s # Running test: glib/accumulator.test
1993s TAP version 14
1993s # random seed: R02S976b1409602386638e2067313772961c
1993s 1..1
1993s # Start of gobject tests
1993s ok 1 /gobject/accumulator
1993s # End of gobject tests
1993s ok - glib/accumulator.test
1993s # Running test: glib/gdbus-connection-flush.test
1993s TAP version 14
1993s # random seed: R02S155a9aa264eee0bb087d704267b4e56d
1993s 1..2
1993s # Start of gdbus tests
1993s # Start of connection tests
1993s # Start of flush tests
1993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/home
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/cache
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/system-config2
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/config
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/system-data2
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/data
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/state
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/busy/.dirs/runtime
1993s ok 1 /gdbus/connection/flush/busy
1993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/home
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/cache
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/system-config2
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/config
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/system-data2
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/data
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/state
1993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_5DYPX2/gdbus/connection/flush/idle/.dirs/runtime
1993s ok 2 /gdbus/connection/flush/idle
1993s # End of flush tests
1993s # End of connection tests
1993s # End of gdbus tests
1993s ok - glib/gdbus-connection-flush.test
1993s # Running test: glib/bindinggroup.test
1993s TAP version 14
1993s # random seed: R02S83183b5025518a0b63f322be5a369bca
1993s 1..11
1993s # Start of GObject tests
1993s # Start of BindingGroup tests
1993s ok 1 /GObject/BindingGroup/invalid
1993s ok 2 /GObject/BindingGroup/default
1993s ok 3 /GObject/BindingGroup/bidirectional
1993s ok 4 /GObject/BindingGroup/transform
1993s ok 5 /GObject/BindingGroup/transform-closures
1993s ok 6 /GObject/BindingGroup/same-object
1993s ok 7 /GObject/BindingGroup/weak-ref-source
1993s ok 8 /GObject/BindingGroup/weak-ref-target
1993s ok 9 /GObject/BindingGroup/properties
1993s ok 10 /GObject/BindingGroup/weak-notify-no-bindings
1993s ok 11 /GObject/BindingGroup/empty-closures
1993s # End of BindingGroup tests
1993s # End of GObject tests
1993s ok - glib/bindinggroup.test
1993s # Running test: glib/memory-monitor-dbus.test
1994s TAP version 13
1994s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178
1994s 1..1
1994s ok - glib/memory-monitor-dbus.test
1994s # Running test: glib/gapplication.test
1994s TAP version 14
1994s # random seed: R02S0fd6f21c46d7e94007313e477a4c8779
1994s 1..24
1994s # Start of gapplication tests
1994s ok 1 /gapplication/no-dbus
1994s ok 2 /gapplication/no-appid
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 3 /gapplication/properties
1994s ok 4 /gapplication/app-id
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 5 /gapplication/quit
1994s ok 6 /gapplication/registered
1994s ok 7 /gapplication/local-actions
1994s ok 8 /gapplication/local-command-line
1994s ok 9 /gapplication/resource-path
1994s ok 10 /gapplication/test-help
1994s ok 11 /gapplication/command-line-done
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 12 /gapplication/test-busy
1994s ok 13 /gapplication/test-handle-local-options1
1994s ok 14 /gapplication/test-handle-local-options2
1994s ok 15 /gapplication/test-handle-local-options3
1994s ok 16 /gapplication/api
1994s ok 17 /gapplication/version
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # launching subprocess
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 18 /gapplication/replace
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # launching subprocess
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 19 /gapplication/no-replace
1994s # slow test /gapplication/no-replace executed in 0.51 secs
1994s # Start of dbus tests
1994s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # Message 0
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 1
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 2
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 20 /gapplication/dbus/activate
1994s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # Message 0
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1994s # Message 1
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 2
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 3
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 21 /gapplication/dbus/open
1994s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # Message 0
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 1
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 2
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 22 /gapplication/dbus/command-line
1994s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 23 /gapplication/dbus/command-line-done
1994s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1994s # Message 0
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 1
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 2
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 3
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 4
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 5
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 6
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 7
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 8
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 9
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 10
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # Message 11
1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1994s ok 24 /gapplication/dbus/activate-action
1994s # End of dbus tests
1994s # End of gapplication tests
1994s ok - glib/gapplication.test
1994s # Running test: glib/portal-support-flatpak-network-only.test
1994s TAP version 14
1994s # random seed: R02Sca7bf5c09e48c3039e063a172399249e
1994s 1..1
1994s # Start of portal-support tests
1994s # Start of flatpak tests
1994s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/home
1994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/cache
1994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/system-config2
1994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/config
1994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/system-data2
1994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/data
1994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/state
1994s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/runtime
1994s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_KZGSX2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info
1994s ok 1 /portal-support/flatpak/network
1994s # End of flatpak tests
1994s # End of portal-support tests
1994s ok - glib/portal-support-flatpak-network-only.test
1994s # Running test: glib/reference.test
1994s TAP version 14
1994s # random seed: R02S5dbbe622715037783f59519373206895
1994s 1..29
1994s # Start of type tests
1994s ok 1 /type/fundamentals
1994s ok 2 /type/qdata
1994s ok 3 /type/query
1994s ok 4 /type/class-private
1994s # End of type tests
1994s # Start of object tests
1994s ok 5 /object/clear
1994s ok 6 /object/clear-function
1994s ok 7 /object/set
1994s ok 8 /object/set-function
1994s ok 9 /object/value
1994s ok 10 /object/initially-unowned
1994s ok 11 /object/weak-pointer
1994s ok 12 /object/weak-ref
1994s ok 13 /object/toggle-ref
1994s ok 14 /object/qdata
1994s ok 15 /object/qdata2
1994s # Start of set tests
1994s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject
1994s ok 16 /object/set/derived-type
1994s # End of set tests
1994s # Start of weak-pointer tests
1994s ok 17 /object/weak-pointer/clear
1994s ok 18 /object/weak-pointer/clear-function
1994s ok 19 /object/weak-pointer/set
1994s ok 20 /object/weak-pointer/set-function
1994s # End of weak-pointer tests
1994s # Start of weak-ref tests
1994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1994s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared
1994s ok 21 /object/weak-ref/on-dispose
1994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865
1994s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose()
1994s ok 22 /object/weak-ref/on-run-dispose
1994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1994s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared
1994s ok 23 /object/weak-ref/on-toggle-notify
1994s ok 24 /object/weak-ref/in-toggle-notify
1994s ok 25 /object/weak-ref/many
1994s # Start of concurrent tests
1994s ok 26 /object/weak-ref/concurrent/0
1994s ok 27 /object/weak-ref/concurrent/1
1994s # End of concurrent tests
1994s # End of weak-ref tests
1994s # Start of toggle-ref tests
1994s ok 28 /object/toggle-ref/ref-on-dispose
1994s ok 29 /object/toggle-ref/ref-and-notify-on-dispose
1994s # End of toggle-ref tests
1994s # End of object tests
1994s ok - glib/reference.test
1994s # Running test: glib/contenttype.test
1994s TAP version 14
1994s # random seed: R02S9c262f1ca64a8e77a5c847e2ca5d31c9
1994s 1..13
1994s # Start of contenttype tests
1994s ok 1 /contenttype/guess
1994s ok 2 /contenttype/guess_svg_from_data
1994s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX
1994s ok 4 /contenttype/unknown
1994s ok 5 /contenttype/subtype
1994s ok 6 /contenttype/list
1994s ok 7 /contenttype/executable
1994s ok 8 /contenttype/description
1994s ok 9 /contenttype/icon
1994s ok 10 /contenttype/symbolic-icon
1994s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1994s ok 11 /contenttype/tree
1994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168
1994s ok 12 /contenttype/tree_invalid_encoding
1994s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311
1994s ok 13 /contenttype/test_type_is_a_special_case
1994s # End of contenttype tests
1994s ok - glib/contenttype.test
1994s # Running test: glib/rwlock.test
1994s TAP version 14
1994s # random seed: R02S6cc89568e2fce903fcb248292657dc00
1994s 1..8
1994s # Start of thread tests
1994s ok 1 /thread/rwlock1
1994s ok 2 /thread/rwlock2
1994s ok 3 /thread/rwlock3
1994s ok 4 /thread/rwlock4
1994s ok 5 /thread/rwlock5
1994s ok 6 /thread/rwlock6
1996s # Executing: glib/rwlock.test
1998s ok 7 /thread/rwlock7
1998s # slow test /thread/rwlock7 executed in 4.03 secs
1999s ok 8 /thread/rwlock8
1999s # End of thread tests
1999s ok - glib/rwlock.test
1999s # Running test: glib/ifaceproperties.test
1999s TAP version 14
1999s # random seed: R02S601747d557b043d77000b889930784cb
1999s 1..7
1999s # Start of interface tests
1999s # Start of properties tests
1999s ok 1 /interface/properties/set
1999s ok 2 /interface/properties/notify
1999s ok 3 /interface/properties/find-overridden
1999s ok 4 /interface/properties/list-overridden
1999s ok 5 /interface/properties/find-interface
1999s ok 6 /interface/properties/list-interface
1999s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738
1999s ok 7 /interface/properties/not-overridden
1999s # End of properties tests
1999s # End of interface tests
1999s ok - glib/ifaceproperties.test
1999s # Running test: glib/cond.test
1999s TAP version 14
1999s # random seed: R02S135dc72aaeb7479a7caf576f4b563eae
1999s 1..4
1999s # Start of thread tests
1999s ok 1 /thread/cond1
1999s ok 2 /thread/cond2
1999s # Start of cond tests
2000s ok 3 /thread/cond/wait-until
2000s # slow test /thread/cond/wait-until executed in 1.02 secs
2000s # Start of wait-until tests
2000s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex
2000s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957
2001s ok 4 /thread/cond/wait-until/contended-and-interrupted
2001s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs
2001s # End of wait-until tests
2001s # End of cond tests
2001s # End of thread tests
2001s ok - glib/cond.test
2001s # Running test: glib/overflow.test
2001s TAP version 14
2001s # random seed: R02S6d01076ced34ed6583593650a8cc61c9
2001s 1..6
2001s # Start of glib tests
2001s # Start of checked-math tests
2001s ok 1 /glib/checked-math/guint-add
2001s ok 2 /glib/checked-math/guint-mul
2001s ok 3 /glib/checked-math/guint64-add
2001s ok 4 /glib/checked-math/guint64-mul
2001s ok 5 /glib/checked-math/gsize-add
2001s ok 6 /glib/checked-math/gsize-mul
2001s # End of checked-math tests
2001s # End of glib tests
2001s ok - glib/overflow.test
2001s # Running test: glib/unix-mounts.test
2001s TAP version 14
2001s # random seed: R02S94499f16a6ae42d76e846df9486b9657
2001s 1..4
2001s # Start of unix-mounts tests
2001s ok 1 /unix-mounts/is-system-fs-type
2001s ok 2 /unix-mounts/is-system-device-path
2001s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file()
2001s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
2001s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
2001s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
2001s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
2001s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
2001s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
2001s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
2001s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
2001s ok 3 /unix-mounts/get-mount-points
2001s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file()
2001s ok 4 /unix-mounts/get-mount-entries
2001s # End of unix-mounts tests
2001s ok - glib/unix-mounts.test
2001s # Running test: glib/spawn-path-search.test
2001s TAP version 14
2001s # random seed: R02S89e33a25ee2464786556be2786cad3c0
2001s 1..7
2001s # Start of spawn tests
2001s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper.
2001s #
2001s # this is spawn-test-helper from glib/tests
2001s #
2001s ok 1 /spawn/do-not-search
2001s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper.
2001s #
2001s # this is spawn-test-helper from path-test-subdir
2001s #
2001s ok 2 /spawn/search-path
2001s # /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.
2001s #
2001s # this is spawn-test-helper from path-test-subdir
2001s #
2001s ok 3 /spawn/search-path-from-envp
2001s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins.
2001s #
2001s # this is spawn-test-helper from path-test-subdir
2001s #
2001s ok 4 /spawn/search-path-ambiguous
2001s #
2001s # this is spawn-test-helper from path-test-subdir
2001s #
2001s ok 5 /spawn/search-path-heap-allocation
2001s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used.
2001s #
2001s # this is spawn-test-helper from glib/tests
2001s #
2001s ok 6 /spawn/search-path-fallback-in-environ
2001s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used.
2001s #
2001s # this is spawn-test-helper from glib/tests
2001s #
2001s ok 7 /spawn/search-path-fallback-in-envp
2001s # End of spawn tests
2001s ok - glib/spawn-path-search.test
2001s # Running test: glib/stream-rw_all.test
2001s TAP version 14
2001s # random seed: R02Sbbd86f68060e22a77993a565dce33264
2001s 1..3
2001s # Start of stream tests
2001s # Start of read_all_async tests
2001s ok 1 /stream/read_all_async/memory
2001s # End of read_all_async tests
2001s # Start of write_all_async tests
2001s ok 2 /stream/write_all_async/memory
2001s # End of write_all_async tests
2001s # Start of read_write_all_async tests
2001s ok 3 /stream/read_write_all_async/pipe
2001s # End of read_write_all_async tests
2001s # End of stream tests
2001s ok - glib/stream-rw_all.test
2001s # Running test: glib/socket.test
2001s TAP version 14
2001s # random seed: R02S15ab749997e44d50d5cef4d595c3883c
2001s 1..28
2001s # Start of socket tests
2001s # Executing: glib/socket.test
2002s ok 1 /socket/ipv4_sync
2002s # slow test /socket/ipv4_sync executed in 1.00 secs
2003s ok 2 /socket/ipv4_async
2003s # slow test /socket/ipv4_async executed in 1.00 secs
2003s ok 3 /socket/ipv6_sync
2003s ok 4 /socket/ipv6_async
2003s ok 5 /socket/ipv6_v4mapped
2004s ok 6 /socket/close_graceful
2004s # slow test /socket/close_graceful executed in 1.00 secs
2004s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
2004s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
2004s ok 8 /socket/fd_reuse
2004s ok 9 /socket/address
2004s ok 10 /socket/unix-from-fd
2004s ok 11 /socket/unix-connection
2004s ok 12 /socket/unix-connection-ancillary-data
2004s ok 13 /socket/source-postmortem
2004s ok 14 /socket/read_write
2004s ok 15 /socket/read_writev
2004s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
2004s ok 16 /socket/receive_bytes
2004s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
2004s ok 17 /socket/receive_bytes_from
2004s # Start of ipv4_sync tests
2004s ok 18 /socket/ipv4_sync/datagram
2004s # Start of datagram tests
2005s ok 19 /socket/ipv4_sync/datagram/timeouts
2005s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
2005s # End of datagram tests
2005s # End of ipv4_sync tests
2005s # Start of ipv6_sync tests
2005s ok 20 /socket/ipv6_sync/datagram
2005s # Start of datagram tests
2006s ok 21 /socket/ipv6_sync/datagram/timeouts
2006s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
2006s # End of datagram tests
2006s # End of ipv6_sync tests
2006s # Start of reuse tests
2006s ok 22 /socket/reuse/tcp
2006s ok 23 /socket/reuse/udp
2006s # End of reuse tests
2006s # Start of get_available tests
2006s ok 24 /socket/get_available/datagram
2006s ok 25 /socket/get_available/stream
2006s # End of get_available tests
2006s # Start of credentials tests
2006s # Supported on this OS: GCredentials:linux-ucred:pid=0
2006s ok 26 /socket/credentials/tcp_client
2006s # Supported on this OS: GCredentials:linux-ucred:pid=0
2006s ok 27 /socket/credentials/tcp_server
2006s # Supported on this OS: GCredentials:linux-ucred:pid=10888,uid=1000,gid=1000
2006s ok 28 /socket/credentials/unix_socketpair
2006s # End of credentials tests
2006s # End of socket tests
2006s ok - glib/socket.test
2006s # Running test: glib/cxx.test
2006s TAP version 14
2006s # random seed: R02S3b72e8aac6a6d7849daa5971439f94f8
2006s 1..2
2006s # Start of gtask tests
2006s # 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.
2006s ok 1 /gtask/name
2006s # Start of name tests
2006s # 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.
2006s ok 2 /gtask/name/macro-wrapper
2006s # End of name tests
2006s # End of gtask tests
2006s ok - glib/cxx.test
2006s # Running test: glib/mkenums.py.test
2006s TAP version 13
2006s ok 1 __main__.TestMkenums.test_available_in
2006s # tmpdir: /tmp/tmp4o8gbd0q
2006s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2006s # /tmp/tmp4o8gbd0q/tmpyfcxxgcz.h:
2006s # typedef enum {
2006s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
2006s # } GDBusServerFlags;
2006s #
2006s # /tmp/tmp4o8gbd0q/tmpyuxc4jbs.template:
2006s # /*** BEGIN file-header ***/
2006s # file-header
2006s # /*** END file-header ***/
2006s #
2006s # /*** BEGIN file-production ***/
2006s # file-production
2006s # filename: @filename@
2006s # basename: @basename@
2006s # /*** END file-production ***/
2006s #
2006s # /*** BEGIN enumeration-production ***/
2006s # enumeration-production
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END enumeration-production ***/
2006s #
2006s # /*** BEGIN value-header ***/
2006s # value-header
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-header ***/
2006s #
2006s # /*** BEGIN value-production ***/
2006s # value-production
2006s # VALUENAME: @VALUENAME@
2006s # valuenick: @valuenick@
2006s # valuenum: @valuenum@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-production ***/
2006s #
2006s # /*** BEGIN value-tail ***/
2006s # value-tail
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-tail ***/
2006s #
2006s # /*** BEGIN comment ***/
2006s # comment
2006s # comment: @comment@
2006s # /*** END comment ***/
2006s #
2006s # /*** BEGIN file-tail ***/
2006s # file-tail
2006s # /*** END file-tail ***/
2006s #
2006s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4o8gbd0q/tmpyuxc4jbs.template', '/tmp/tmp4o8gbd0q/tmpyfcxxgcz.h']
2006s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2006s # Output: comment
2006s # 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.
2006s #
2006s #
2006s # file-header
2006s # file-production
2006s # filename: /tmp/tmp4o8gbd0q/tmpyfcxxgcz.h
2006s # basename: tmpyfcxxgcz.h
2006s # enumeration-production
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-header
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-production
2006s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
2006s # valuenick: user
2006s # valuenum: 4
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-tail
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # file-tail
2006s #
2006s # comment
2006s # comment: Generated data ends here
2006s ok 2 __main__.TestMkenums.test_comma_in_enum_value
2006s # tmpdir: /tmp/tmpe8tj9xau
2006s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2006s # /tmp/tmpe8tj9xau/tmpjqu71cjy.h:
2006s # typedef enum {
2006s # ENUM_VALUE_WITH_COMMA = ',',
2006s # } TestCommaEnum;
2006s #
2006s # /tmp/tmpe8tj9xau/tmp519hw7x1.template:
2006s # /*** BEGIN file-header ***/
2006s # file-header
2006s # /*** END file-header ***/
2006s #
2006s # /*** BEGIN file-production ***/
2006s # file-production
2006s # filename: @filename@
2006s # basename: @basename@
2006s # /*** END file-production ***/
2006s #
2006s # /*** BEGIN enumeration-production ***/
2006s # enumeration-production
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END enumeration-production ***/
2006s #
2006s # /*** BEGIN value-header ***/
2006s # value-header
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-header ***/
2006s #
2006s # /*** BEGIN value-production ***/
2006s # value-production
2006s # VALUENAME: @VALUENAME@
2006s # valuenick: @valuenick@
2006s # valuenum: @valuenum@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-production ***/
2006s #
2006s # /*** BEGIN value-tail ***/
2006s # value-tail
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-tail ***/
2006s #
2006s # /*** BEGIN comment ***/
2006s # comment
2006s # comment: @comment@
2006s # /*** END comment ***/
2006s #
2006s # /*** BEGIN file-tail ***/
2006s # file-tail
2006s # /*** END file-tail ***/
2006s #
2006s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe8tj9xau/tmp519hw7x1.template', '/tmp/tmpe8tj9xau/tmpjqu71cjy.h']
2006s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2006s # Output: comment
2006s # 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.
2006s #
2006s #
2006s # file-header
2006s # file-production
2006s # filename: /tmp/tmpe8tj9xau/tmpjqu71cjy.h
2006s # basename: tmpjqu71cjy.h
2006s # enumeration-production
2006s # EnumName: TestCommaEnum
2006s # enum_name: test_comma_enum
2006s # ENUMNAME: TEST_COMMA_ENUM
2006s # ENUMSHORT: COMMA_ENUM
2006s # ENUMPREFIX: TEST
2006s # enumsince:
2006s # type: enum
2006s # Type: Enum
2006s # TYPE: ENUM
2006s # value-header
2006s # EnumName: TestCommaEnum
2006s # enum_name: test_comma_enum
2006s # ENUMNAME: TEST_COMMA_ENUM
2006s # ENUMSHORT: COMMA_ENUM
2006s # ENUMPREFIX: TEST
2006s # enumsince:
2006s # type: enum
2006s # Type: Enum
2006s # TYPE: ENUM
2006s # value-production
2006s # VALUENAME: ENUM_VALUE_WITH_COMMA
2006s # valuenick: comma
2006s # valuenum: 44
2006s # type: enum
2006s # Type: Enum
2006s # TYPE: ENUM
2006s # value-tail
2006s # EnumName: TestCommaEnum
2006s # enum_name: test_comma_enum
2006s # ENUMNAME: TEST_COMMA_ENUM
2006s # ENUMSHORT: COMMA_ENUM
2006s # ENUMPREFIX: TEST
2006s # enumsince:
2006s # type: enum
2006s # Type: Enum
2006s # TYPE: ENUM
2006s # file-tail
2006s #
2006s # comment
2006s # comment: Generated data ends here
2006s ok 3 __main__.TestMkenums.test_deprecated_in
2006s # tmpdir: /tmp/tmpobe6rkr3
2006s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2006s # /tmp/tmpobe6rkr3/tmp64qkjoks.h:
2006s # typedef enum {
2006s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
2006s # } GDBusServerFlags;
2006s #
2006s # /tmp/tmpobe6rkr3/tmp06hp9v8e.template:
2006s # /*** BEGIN file-header ***/
2006s # file-header
2006s # /*** END file-header ***/
2006s #
2006s # /*** BEGIN file-production ***/
2006s # file-production
2006s # filename: @filename@
2006s # basename: @basename@
2006s # /*** END file-production ***/
2006s #
2006s # /*** BEGIN enumeration-production ***/
2006s # enumeration-production
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END enumeration-production ***/
2006s #
2006s # /*** BEGIN value-header ***/
2006s # value-header
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-header ***/
2006s #
2006s # /*** BEGIN value-production ***/
2006s # value-production
2006s # VALUENAME: @VALUENAME@
2006s # valuenick: @valuenick@
2006s # valuenum: @valuenum@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-production ***/
2006s #
2006s # /*** BEGIN value-tail ***/
2006s # value-tail
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-tail ***/
2006s #
2006s # /*** BEGIN comment ***/
2006s # comment
2006s # comment: @comment@
2006s # /*** END comment ***/
2006s #
2006s # /*** BEGIN file-tail ***/
2006s # file-tail
2006s # /*** END file-tail ***/
2006s #
2006s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpobe6rkr3/tmp06hp9v8e.template', '/tmp/tmpobe6rkr3/tmp64qkjoks.h']
2006s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2006s # Output: comment
2006s # 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.
2006s #
2006s #
2006s # file-header
2006s # file-production
2006s # filename: /tmp/tmpobe6rkr3/tmp64qkjoks.h
2006s # basename: tmp64qkjoks.h
2006s # enumeration-production
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-header
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-production
2006s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
2006s # valuenick: user
2006s # valuenum: 4
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-tail
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # file-tail
2006s #
2006s # comment
2006s # comment: Generated data ends here
2006s ok 4 __main__.TestMkenums.test_deprecated_in_for
2006s # tmpdir: /tmp/tmpfsqt35xh
2006s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2006s # /tmp/tmpfsqt35xh/tmpj3sdkygx.h:
2006s # typedef enum {
2006s # 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)
2006s # } GDBusServerFlags;
2006s #
2006s # /tmp/tmpfsqt35xh/tmpkuqe39fu.template:
2006s # /*** BEGIN file-header ***/
2006s # file-header
2006s # /*** END file-header ***/
2006s #
2006s # /*** BEGIN file-production ***/
2006s # file-production
2006s # filename: @filename@
2006s # basename: @basename@
2006s # /*** END file-production ***/
2006s #
2006s # /*** BEGIN enumeration-production ***/
2006s # enumeration-production
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END enumeration-production ***/
2006s #
2006s # /*** BEGIN value-header ***/
2006s # value-header
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-header ***/
2006s #
2006s # /*** BEGIN value-production ***/
2006s # value-production
2006s # VALUENAME: @VALUENAME@
2006s # valuenick: @valuenick@
2006s # valuenum: @valuenum@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-production ***/
2006s #
2006s # /*** BEGIN value-tail ***/
2006s # value-tail
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-tail ***/
2006s #
2006s # /*** BEGIN comment ***/
2006s # comment
2006s # comment: @comment@
2006s # /*** END comment ***/
2006s #
2006s # /*** BEGIN file-tail ***/
2006s # file-tail
2006s # /*** END file-tail ***/
2006s #
2006s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfsqt35xh/tmpkuqe39fu.template', '/tmp/tmpfsqt35xh/tmpj3sdkygx.h']
2006s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2006s # Output: comment
2006s # 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.
2006s #
2006s #
2006s # file-header
2006s # file-production
2006s # filename: /tmp/tmpfsqt35xh/tmpj3sdkygx.h
2006s # basename: tmpj3sdkygx.h
2006s # enumeration-production
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-header
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-production
2006s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
2006s # valuenick: user
2006s # valuenum: 4
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # value-tail
2006s # EnumName: GDBusServerFlags
2006s # enum_name: g_dbus_server_flags
2006s # ENUMNAME: G_DBUS_SERVER_FLAGS
2006s # ENUMSHORT: DBUS_SERVER_FLAGS
2006s # ENUMPREFIX: G
2006s # enumsince:
2006s # type: flags
2006s # Type: Flags
2006s # TYPE: FLAGS
2006s # file-tail
2006s #
2006s # comment
2006s # comment: Generated data ends here
2006s ok 5 __main__.TestMkenums.test_empty_header
2006s # tmpdir: /tmp/tmpf7nb25en
2006s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2006s # /tmp/tmpf7nb25en/tmpek3j_k0o.h:
2006s # /tmp/tmpf7nb25en/tmptij56cdh.template:
2006s # /*** BEGIN file-header ***/
2006s # file-header
2006s # /*** END file-header ***/
2006s #
2006s # /*** BEGIN file-production ***/
2006s # file-production
2006s # filename: @filename@
2006s # basename: @basename@
2006s # /*** END file-production ***/
2006s #
2006s # /*** BEGIN enumeration-production ***/
2006s # enumeration-production
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END enumeration-production ***/
2006s #
2006s # /*** BEGIN value-header ***/
2006s # value-header
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-header ***/
2006s #
2006s # /*** BEGIN value-production ***/
2006s # value-production
2006s # VALUENAME: @VALUENAME@
2006s # valuenick: @valuenick@
2006s # valuenum: @valuenum@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-production ***/
2006s #
2006s # /*** BEGIN value-tail ***/
2006s # value-tail
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-tail ***/
2006s #
2006s # /*** BEGIN comment ***/
2006s # comment
2006s # comment: @comment@
2006s # /*** END comment ***/
2006s #
2006s # /*** BEGIN file-tail ***/
2006s # file-tail
2006s # /*** END file-tail ***/
2006s #
2006s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf7nb25en/tmptij56cdh.template', '/tmp/tmpf7nb25en/tmpek3j_k0o.h']
2006s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2006s # Output: comment
2006s # 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.
2006s #
2006s #
2006s # file-header
2006s # file-tail
2006s #
2006s # comment
2006s # comment: Generated data ends here
2006s ok 6 __main__.TestMkenums.test_empty_template
2006s # tmpdir: /tmp/tmpkk6m5cp4
2006s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2006s # /tmp/tmpkk6m5cp4/tmpc883j9up.template:
2006s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkk6m5cp4/tmpc883j9up.template']
2006s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2006s # Output: /* 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. */
2006s #
2006s #
2006s # /* Generated data ends here */
2006s ok 7 __main__.TestMkenums.test_enum_name
2006s # tmpdir: /tmp/tmpba2t5kkf
2006s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2006s # /tmp/tmpba2t5kkf/tmprjsrn78_.h:
2006s # typedef enum _SomeEnumIdentifier {
2006s # ENUM_VALUE
2006s # } SomeEnumIdentifier;
2006s #
2006s # /tmp/tmpba2t5kkf/tmpoqlllpxz.template:
2006s # /*** BEGIN file-header ***/
2006s # file-header
2006s # /*** END file-header ***/
2006s #
2006s # /*** BEGIN file-production ***/
2006s # file-production
2006s # filename: @filename@
2006s # basename: @basename@
2006s # /*** END file-production ***/
2006s #
2006s # /*** BEGIN enumeration-production ***/
2006s # enumeration-production
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END enumeration-production ***/
2006s #
2006s # /*** BEGIN value-header ***/
2006s # value-header
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-header ***/
2006s #
2006s # /*** BEGIN value-production ***/
2006s # value-production
2006s # VALUENAME: @VALUENAME@
2006s # valuenick: @valuenick@
2006s # valuenum: @valuenum@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-production ***/
2006s #
2006s # /*** BEGIN value-tail ***/
2006s # value-tail
2006s # EnumName: @EnumName@
2006s # enum_name: @enum_name@
2006s # ENUMNAME: @ENUMNAME@
2006s # ENUMSHORT: @ENUMSHORT@
2006s # ENUMPREFIX: @ENUMPREFIX@
2006s # enumsince: @enumsince@
2006s # type: @type@
2006s # Type: @Type@
2006s # TYPE: @TYPE@
2006s # /*** END value-tail ***/
2006s #
2006s # /*** BEGIN comment ***/
2006s # comment
2006s # comment: @comment@
2006s # /*** END comment ***/
2006s #
2006s # /*** BEGIN file-tail ***/
2006s # file-tail
2006s # /*** END file-tail ***/
2006s #
2006s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpba2t5kkf/tmpoqlllpxz.template', '/tmp/tmpba2t5kkf/tmprjsrn78_.h']
2006s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2006s # Output: comment
2006s # 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.
2006s #
2006s #
2006s # file-header
2006s # file-production
2006s # filename: /tmp/tmpba2t5kkf/tmprjsrn78_.h
2006s # basename: tmprjsrn78_.h
2006s # enumeration-production
2006s # EnumName: SomeEnumIdentifier
2006s # enum_name: some_enum_identifier
2006s # ENUMNAME: SOME_ENUM_IDENTIFIER
2006s # ENUMSHORT: ENUM_IDENTIFIER
2006s # ENUMPREFIX: SOME
2006s # enumsince:
2006s # type: enum
2006s # Type: Enum
2006s # TYPE: ENUM
2006s # value-header
2006s # EnumName: SomeEnumIdentifier
2006s # enum_name: some_enum_identifier
2006s # ENUMNAME: SOME_ENUM_IDENTIFIER
2006s # ENUMSHORT: ENUM_IDENTIFIER
2006s # ENUMPREFIX: SOME
2006s # enumsince:
2006s # type: enum
2006s # Type: Enum
2006s # TYPE: ENUM
2006s # value-production
2006s # VALUENAME: ENUM_VALUE
2006s # valuenick: value
2006s # valuenum: 0
2006s # type: enum
2006s # Type: Enum
2006s # TYPE: ENUM
2006s # value-tail
2006s # EnumName: SomeEnumIdentifier
2006s # enum_name: some_enum_identifier
2006s # ENUMNAME: SOME_ENUM_IDENTIFIER
2006s # ENUMSHORT: ENUM_IDENTIFIER
2006s # ENUMPREFIX: SOME
2006s # enumsince:
2006s # type: enum
2006s # Type: Enum
2006s # TYPE: ENUM
2006s # file-tail
2006s #
2006s # comment
2006s # comment: Generated data ends here
2006s # Executing: glib/mkenums.py.test
2007s ok 8 __main__.TestMkenums.test_enum_private_public
2007s # tmpdir: /tmp/tmpn4jontd1
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpn4jontd1/tmpebte5hor.h:
2007s # typedef enum {
2007s # ENUM_VALUE_PUBLIC1,
2007s # /*< private >*/
2007s # ENUM_VALUE_PRIVATE,
2007s # } SomeEnumA
2007s #
2007s # /tmp/tmpn4jontd1/tmpzzuzmn4b.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn4jontd1/tmpzzuzmn4b.template', '/tmp/tmpn4jontd1/tmpebte5hor.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpn4jontd1/tmpebte5hor.h
2007s # basename: tmpebte5hor.h
2007s # enumeration-production
2007s # EnumName: SomeEnumA
2007s # enum_name: some_enum_a
2007s # ENUMNAME: SOME_ENUM_A
2007s # ENUMSHORT: ENUM_A
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: SomeEnumA
2007s # enum_name: some_enum_a
2007s # ENUMNAME: SOME_ENUM_A
2007s # ENUMSHORT: ENUM_A
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: ENUM_VALUE_PUBLIC1
2007s # valuenick: public1
2007s # valuenum: 0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: SomeEnumA
2007s # enum_name: some_enum_a
2007s # ENUMNAME: SOME_ENUM_A
2007s # ENUMSHORT: ENUM_A
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s # /tmp/tmpn4jontd1/tmpx_8jm_n3.h:
2007s # typedef enum {
2007s # /*< private >*/
2007s # ENUM_VALUE_PRIVATE,
2007s # /*< public >*/
2007s # ENUM_VALUE_PUBLIC2,
2007s # } SomeEnumB;
2007s #
2007s # /tmp/tmpn4jontd1/tmpd9gzf1lc.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn4jontd1/tmpd9gzf1lc.template', '/tmp/tmpn4jontd1/tmpx_8jm_n3.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpn4jontd1/tmpx_8jm_n3.h
2007s # basename: tmpx_8jm_n3.h
2007s # enumeration-production
2007s # EnumName: SomeEnumB
2007s # enum_name: some_enum_b
2007s # ENUMNAME: SOME_ENUM_B
2007s # ENUMSHORT: ENUM_B
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: SomeEnumB
2007s # enum_name: some_enum_b
2007s # ENUMNAME: SOME_ENUM_B
2007s # ENUMSHORT: ENUM_B
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: ENUM_VALUE_PUBLIC2
2007s # valuenick: public2
2007s # valuenum: 1
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: SomeEnumB
2007s # enum_name: some_enum_b
2007s # ENUMNAME: SOME_ENUM_B
2007s # ENUMSHORT: ENUM_B
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 9 __main__.TestMkenums.test_enum_symbolic_expression
2007s # tmpdir: /tmp/tmpvi49k0v8
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpvi49k0v8/tmpbemdblmw.h:
2007s # typedef enum {
2007s # /*< private >*/
2007s # ENUM_VALUE_PRIVATE = 5,
2007s # /*< public >*/
2007s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
2007s # } TestSymbolicEnum;
2007s #
2007s # /tmp/tmpvi49k0v8/tmpo0iocj8g.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvi49k0v8/tmpo0iocj8g.template', '/tmp/tmpvi49k0v8/tmpbemdblmw.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpvi49k0v8/tmpbemdblmw.h
2007s # basename: tmpbemdblmw.h
2007s # enumeration-production
2007s # EnumName: TestSymbolicEnum
2007s # enum_name: test_symbolic_enum
2007s # ENUMNAME: TEST_SYMBOLIC_ENUM
2007s # ENUMSHORT: SYMBOLIC_ENUM
2007s # ENUMPREFIX: TEST
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: TestSymbolicEnum
2007s # enum_name: test_symbolic_enum
2007s # ENUMNAME: TEST_SYMBOLIC_ENUM
2007s # ENUMSHORT: SYMBOLIC_ENUM
2007s # ENUMPREFIX: TEST
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: ENUM_VALUE_PUBLIC
2007s # valuenick: public
2007s # valuenum: 7
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: TestSymbolicEnum
2007s # enum_name: test_symbolic_enum
2007s # ENUMNAME: TEST_SYMBOLIC_ENUM
2007s # ENUMSHORT: SYMBOLIC_ENUM
2007s # ENUMPREFIX: TEST
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail
2007s # tmpdir: /tmp/tmpq4_rhyyc
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpq4_rhyyc/tmptqdjnt1i.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-tail ***/
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq4_rhyyc/tmptqdjnt1i.template']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # filename: @filename@
2007s # basename: @basename@
2007s # file-tail
2007s # filename: @filename@
2007s # basename: @basename@
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 11 __main__.TestMkenums.test_help
2007s # tmpdir: /tmp/tmp65vie63s
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # Running: ['/usr/bin/glib-mkenums', '--help']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
2007s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
2007s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
2007s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
2007s # [--comments COMMENT_TMPL] [--template TEMPLATE]
2007s # [--output OUTPUT] [--version]
2007s # [args ...]
2007s #
2007s # positional arguments:
2007s # args One or more input files, or a single argument
2007s # @rspfile_path pointing to a file that contains the
2007s # actual arguments
2007s #
2007s # options:
2007s # -h, --help show this help message and exit
2007s # --identifier-prefix IDPREFIX
2007s # Identifier prefix
2007s # --symbol-prefix SYMPREFIX
2007s # Symbol prefix
2007s # --fhead FHEAD Output file header
2007s # --ftail FTAIL Output file footer
2007s # --fprod FPROD Put out TEXT every time a new input file is being
2007s # processed.
2007s # --eprod EPROD Per enum text, produced prior to value iterations
2007s # --vhead VHEAD Value header, produced before iterating over enum
2007s # values
2007s # --vprod VPROD Value text, produced for each enum value.
2007s # --vtail VTAIL Value tail, produced after iterating over enum values
2007s # --comments COMMENT_TMPL
2007s # Comment structure
2007s # --template TEMPLATE Template file
2007s # --output OUTPUT
2007s # --version, -v Print version information
2007s #
2007s # Production text substitutions:
2007s # @EnumName@ PrefixTheXEnum
2007s # @enum_name@ prefix_the_xenum
2007s # @ENUMNAME@ PREFIX_THE_XENUM
2007s # @ENUMSHORT@ THE_XENUM
2007s # @ENUMPREFIX@ PREFIX
2007s # @enumsince@ the user-provided since value given
2007s # @VALUENAME@ PREFIX_THE_XVALUE
2007s # @valuenick@ the-xvalue
2007s # @valuenum@ the integer value (limited support, Since: 2.26)
2007s # @type@ either enum or flags
2007s # @Type@ either Enum or Flags
2007s # @TYPE@ either ENUM or FLAGS
2007s # @filename@ name of current input file
2007s # @basename@ base name of the current input file (Since: 2.22)
2007s ok 12 __main__.TestMkenums.test_no_args
2007s # tmpdir: /tmp/tmpgj13_8ra
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # Running: ['/usr/bin/glib-mkenums']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: /* 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. */
2007s #
2007s #
2007s # /* Generated data ends here */
2007s ok 13 __main__.TestMkenums.test_no_headers
2007s # tmpdir: /tmp/tmpy1c9o6am
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpy1c9o6am/tmpf5c840na.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy1c9o6am/tmpf5c840na.template']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 14 __main__.TestMkenums.test_no_nick
2007s # tmpdir: /tmp/tmpjp0e5n4q
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpjp0e5n4q/tmprfvdcu3j.h:
2007s # typedef enum {
2007s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
2007s # } GeglSamplerType;
2007s #
2007s # /tmp/tmpjp0e5n4q/tmp0qivfprv.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjp0e5n4q/tmp0qivfprv.template', '/tmp/tmpjp0e5n4q/tmprfvdcu3j.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpjp0e5n4q/tmprfvdcu3j.h
2007s # basename: tmprfvdcu3j.h
2007s # enumeration-production
2007s # EnumName: GeglSamplerType
2007s # enum_name: gegl_sampler_type
2007s # ENUMNAME: GEGL_SAMPLER_TYPE
2007s # ENUMSHORT: SAMPLER_TYPE
2007s # ENUMPREFIX: GEGL
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: GeglSamplerType
2007s # enum_name: gegl_sampler_type
2007s # ENUMNAME: GEGL_SAMPLER_TYPE
2007s # ENUMSHORT: SAMPLER_TYPE
2007s # ENUMPREFIX: GEGL
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: GEGL_SAMPLER_NEAREST
2007s # valuenick: nearest
2007s # valuenum: 0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: GeglSamplerType
2007s # enum_name: gegl_sampler_type
2007s # ENUMNAME: GEGL_SAMPLER_TYPE
2007s # ENUMSHORT: SAMPLER_TYPE
2007s # ENUMPREFIX: GEGL
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 15 __main__.TestMkenums.test_non_utf8_encoding
2007s # tmpdir: /tmp/tmpw8fuyq7o
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpw8fuyq7o/tmplqa0ao_r.h:
2007s # /* Copyright © La Peña */
2007s # typedef enum {
2007s # ENUM_VALUE
2007s # } SomeEnumIdentifier;
2007s #
2007s # /tmp/tmpw8fuyq7o/tmpovt83bf3.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpw8fuyq7o/tmpovt83bf3.template', '/tmp/tmpw8fuyq7o/tmplqa0ao_r.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpw8fuyq7o/tmplqa0ao_r.h
2007s # basename: tmplqa0ao_r.h
2007s # enumeration-production
2007s # EnumName: SomeEnumIdentifier
2007s # enum_name: some_enum_identifier
2007s # ENUMNAME: SOME_ENUM_IDENTIFIER
2007s # ENUMSHORT: ENUM_IDENTIFIER
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: SomeEnumIdentifier
2007s # enum_name: some_enum_identifier
2007s # ENUMNAME: SOME_ENUM_IDENTIFIER
2007s # ENUMSHORT: ENUM_IDENTIFIER
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: ENUM_VALUE
2007s # valuenick: value
2007s # valuenum: 0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: SomeEnumIdentifier
2007s # enum_name: some_enum_identifier
2007s # ENUMNAME: SOME_ENUM_IDENTIFIER
2007s # ENUMSHORT: ENUM_IDENTIFIER
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 16 __main__.TestMkenums.test_reproducible
2007s # tmpdir: /tmp/tmppa4b_azv
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmppa4b_azv/tmpjvuxk1bz.template: template
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppa4b_azv/tmpjvuxk1bz.template', '/tmp/tmppa4b_azv/tmpxbyy494g1.h', '/tmp/tmppa4b_azv/tmpl67nx9a32.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: /* 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. */
2007s #
2007s #
2007s # /* Generated data ends here */
2007s # /tmp/tmppa4b_azv/tmp1dbap8_y.template: template
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppa4b_azv/tmp1dbap8_y.template', '/tmp/tmppa4b_azv/tmpl67nx9a32.h', '/tmp/tmppa4b_azv/tmpxbyy494g1.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: /* 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. */
2007s #
2007s #
2007s # /* Generated data ends here */
2007s ok 17 __main__.TestMkenums.test_since
2007s # tmpdir: /tmp/tmpsyaynqcm
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpsyaynqcm/tmp26vtx9z9.h:
2007s # typedef enum { /*< since=1.0 >*/
2007s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
2007s # } QmiWmsMessageProtocol;
2007s #
2007s # /tmp/tmpsyaynqcm/tmpor7fgbw0.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsyaynqcm/tmpor7fgbw0.template', '/tmp/tmpsyaynqcm/tmp26vtx9z9.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpsyaynqcm/tmp26vtx9z9.h
2007s # basename: tmp26vtx9z9.h
2007s # enumeration-production
2007s # EnumName: QmiWmsMessageProtocol
2007s # enum_name: qmi_wms_message_protocol
2007s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
2007s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
2007s # ENUMPREFIX: QMI
2007s # enumsince: 1.0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: QmiWmsMessageProtocol
2007s # enum_name: qmi_wms_message_protocol
2007s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
2007s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
2007s # ENUMPREFIX: QMI
2007s # enumsince: 1.0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
2007s # valuenick: cdma
2007s # valuenum: 0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: QmiWmsMessageProtocol
2007s # enum_name: qmi_wms_message_protocol
2007s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
2007s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
2007s # ENUMPREFIX: QMI
2007s # enumsince: 1.0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 18 __main__.TestMkenums.test_with_double_quotes
2007s # tmpdir: /tmp/tmp5iy1i27q
2007s # rspfile: False, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmp5iy1i27q/tmpvmb756g0.h:
2007s # typedef enum {
2007s # FOO_VALUE /*< nick="eek, a comma" >*/
2007s # } Foo;
2007s #
2007s # /tmp/tmp5iy1i27q/tmph0a3iahw.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5iy1i27q/tmph0a3iahw.template', '/tmp/tmp5iy1i27q/tmpvmb756g0.h']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmp5iy1i27q/tmpvmb756g0.h
2007s # basename: tmpvmb756g0.h
2007s # enumeration-production
2007s # EnumName: Foo
2007s # enum_name: foo_
2007s # ENUMNAME: FOO_
2007s # ENUMSHORT:
2007s # ENUMPREFIX: FOO
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: Foo
2007s # enum_name: foo_
2007s # ENUMNAME: FOO_
2007s # ENUMSHORT:
2007s # ENUMPREFIX: FOO
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: FOO_VALUE
2007s # valuenick: eek, a comma
2007s # valuenum: 0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: Foo
2007s # enum_name: foo_
2007s # ENUMNAME: FOO_
2007s # ENUMSHORT:
2007s # ENUMPREFIX: FOO
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 19 __main__.TestRspMkenums.test_available_in
2007s # tmpdir: /tmp/tmph6_u07su
2007s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmph6_u07su/tmp135u9utu.h:
2007s # typedef enum {
2007s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
2007s # } GDBusServerFlags;
2007s #
2007s # /tmp/tmph6_u07su/tmpk7l1y1px.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Response file contains: --template /tmp/tmph6_u07su/tmpk7l1y1px.template /tmp/tmph6_u07su/tmp135u9utu.h
2007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmph6_u07su/tmpz3ancgjq']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmph6_u07su/tmp135u9utu.h
2007s # basename: tmp135u9utu.h
2007s # enumeration-production
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-header
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-production
2007s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
2007s # valuenick: user
2007s # valuenum: 4
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-tail
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value
2007s # tmpdir: /tmp/tmpgcs6uhch
2007s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpgcs6uhch/tmpyitkb8hf.h:
2007s # typedef enum {
2007s # ENUM_VALUE_WITH_COMMA = ',',
2007s # } TestCommaEnum;
2007s #
2007s # /tmp/tmpgcs6uhch/tmpwd7qcfmu.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Response file contains: --template /tmp/tmpgcs6uhch/tmpwd7qcfmu.template /tmp/tmpgcs6uhch/tmpyitkb8hf.h
2007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgcs6uhch/tmpqta5oue5']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpgcs6uhch/tmpyitkb8hf.h
2007s # basename: tmpyitkb8hf.h
2007s # enumeration-production
2007s # EnumName: TestCommaEnum
2007s # enum_name: test_comma_enum
2007s # ENUMNAME: TEST_COMMA_ENUM
2007s # ENUMSHORT: COMMA_ENUM
2007s # ENUMPREFIX: TEST
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: TestCommaEnum
2007s # enum_name: test_comma_enum
2007s # ENUMNAME: TEST_COMMA_ENUM
2007s # ENUMSHORT: COMMA_ENUM
2007s # ENUMPREFIX: TEST
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: ENUM_VALUE_WITH_COMMA
2007s # valuenick: comma
2007s # valuenum: 44
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: TestCommaEnum
2007s # enum_name: test_comma_enum
2007s # ENUMNAME: TEST_COMMA_ENUM
2007s # ENUMSHORT: COMMA_ENUM
2007s # ENUMPREFIX: TEST
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 21 __main__.TestRspMkenums.test_deprecated_in
2007s # tmpdir: /tmp/tmpor4h946z
2007s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpor4h946z/tmpyjtiqm0b.h:
2007s # typedef enum {
2007s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
2007s # } GDBusServerFlags;
2007s #
2007s # /tmp/tmpor4h946z/tmpm0x78tcv.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Response file contains: --template /tmp/tmpor4h946z/tmpm0x78tcv.template /tmp/tmpor4h946z/tmpyjtiqm0b.h
2007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpor4h946z/tmpxxkhp_aw']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpor4h946z/tmpyjtiqm0b.h
2007s # basename: tmpyjtiqm0b.h
2007s # enumeration-production
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-header
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-production
2007s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
2007s # valuenick: user
2007s # valuenum: 4
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-tail
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 22 __main__.TestRspMkenums.test_deprecated_in_for
2007s # tmpdir: /tmp/tmpz3_r81xu
2007s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpz3_r81xu/tmpidqj_cdk.h:
2007s # typedef enum {
2007s # 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)
2007s # } GDBusServerFlags;
2007s #
2007s # /tmp/tmpz3_r81xu/tmppes7fes9.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Response file contains: --template /tmp/tmpz3_r81xu/tmppes7fes9.template /tmp/tmpz3_r81xu/tmpidqj_cdk.h
2007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz3_r81xu/tmpyzwtwq64']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmpz3_r81xu/tmpidqj_cdk.h
2007s # basename: tmpidqj_cdk.h
2007s # enumeration-production
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-header
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-production
2007s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
2007s # valuenick: user
2007s # valuenum: 4
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # value-tail
2007s # EnumName: GDBusServerFlags
2007s # enum_name: g_dbus_server_flags
2007s # ENUMNAME: G_DBUS_SERVER_FLAGS
2007s # ENUMSHORT: DBUS_SERVER_FLAGS
2007s # ENUMPREFIX: G
2007s # enumsince:
2007s # type: flags
2007s # Type: Flags
2007s # TYPE: FLAGS
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 23 __main__.TestRspMkenums.test_empty_header
2007s # tmpdir: /tmp/tmpiwm3icl_
2007s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmpiwm3icl_/tmpyfdkvgwh.h:
2007s # /tmp/tmpiwm3icl_/tmp2z35aa0a.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Response file contains: --template /tmp/tmpiwm3icl_/tmp2z35aa0a.template /tmp/tmpiwm3icl_/tmpyfdkvgwh.h
2007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiwm3icl_/tmp1iqb2wld']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2007s ok 24 __main__.TestRspMkenums.test_empty_template
2007s # tmpdir: /tmp/tmp53bnbu6a
2007s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmp53bnbu6a/tmpxwgt1945.template:
2007s # Response file contains: --template /tmp/tmp53bnbu6a/tmpxwgt1945.template
2007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp53bnbu6a/tmp4pmsgydv']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: /* 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. */
2007s #
2007s #
2007s # /* Generated data ends here */
2007s ok 25 __main__.TestRspMkenums.test_enum_name
2007s # tmpdir: /tmp/tmp3kso0reo
2007s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2007s # /tmp/tmp3kso0reo/tmp1zgrdo5b.h:
2007s # typedef enum _SomeEnumIdentifier {
2007s # ENUM_VALUE
2007s # } SomeEnumIdentifier;
2007s #
2007s # /tmp/tmp3kso0reo/tmpob9vanvf.template:
2007s # /*** BEGIN file-header ***/
2007s # file-header
2007s # /*** END file-header ***/
2007s #
2007s # /*** BEGIN file-production ***/
2007s # file-production
2007s # filename: @filename@
2007s # basename: @basename@
2007s # /*** END file-production ***/
2007s #
2007s # /*** BEGIN enumeration-production ***/
2007s # enumeration-production
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END enumeration-production ***/
2007s #
2007s # /*** BEGIN value-header ***/
2007s # value-header
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-header ***/
2007s #
2007s # /*** BEGIN value-production ***/
2007s # value-production
2007s # VALUENAME: @VALUENAME@
2007s # valuenick: @valuenick@
2007s # valuenum: @valuenum@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-production ***/
2007s #
2007s # /*** BEGIN value-tail ***/
2007s # value-tail
2007s # EnumName: @EnumName@
2007s # enum_name: @enum_name@
2007s # ENUMNAME: @ENUMNAME@
2007s # ENUMSHORT: @ENUMSHORT@
2007s # ENUMPREFIX: @ENUMPREFIX@
2007s # enumsince: @enumsince@
2007s # type: @type@
2007s # Type: @Type@
2007s # TYPE: @TYPE@
2007s # /*** END value-tail ***/
2007s #
2007s # /*** BEGIN comment ***/
2007s # comment
2007s # comment: @comment@
2007s # /*** END comment ***/
2007s #
2007s # /*** BEGIN file-tail ***/
2007s # file-tail
2007s # /*** END file-tail ***/
2007s #
2007s # Response file contains: --template /tmp/tmp3kso0reo/tmpob9vanvf.template /tmp/tmp3kso0reo/tmp1zgrdo5b.h
2007s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3kso0reo/tmpvh2_p9be']
2007s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2007s # Output: comment
2007s # 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.
2007s #
2007s #
2007s # file-header
2007s # file-production
2007s # filename: /tmp/tmp3kso0reo/tmp1zgrdo5b.h
2007s # basename: tmp1zgrdo5b.h
2007s # enumeration-production
2007s # EnumName: SomeEnumIdentifier
2007s # enum_name: some_enum_identifier
2007s # ENUMNAME: SOME_ENUM_IDENTIFIER
2007s # ENUMSHORT: ENUM_IDENTIFIER
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-header
2007s # EnumName: SomeEnumIdentifier
2007s # enum_name: some_enum_identifier
2007s # ENUMNAME: SOME_ENUM_IDENTIFIER
2007s # ENUMSHORT: ENUM_IDENTIFIER
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-production
2007s # VALUENAME: ENUM_VALUE
2007s # valuenick: value
2007s # valuenum: 0
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # value-tail
2007s # EnumName: SomeEnumIdentifier
2007s # enum_name: some_enum_identifier
2007s # ENUMNAME: SOME_ENUM_IDENTIFIER
2007s # ENUMSHORT: ENUM_IDENTIFIER
2007s # ENUMPREFIX: SOME
2007s # enumsince:
2007s # type: enum
2007s # Type: Enum
2007s # TYPE: ENUM
2007s # file-tail
2007s #
2007s # comment
2007s # comment: Generated data ends here
2008s ok 26 __main__.TestRspMkenums.test_enum_private_public
2008s # tmpdir: /tmp/tmp3jxlm1fl
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmp3jxlm1fl/tmpcumpx9vf.h:
2008s # typedef enum {
2008s # ENUM_VALUE_PUBLIC1,
2008s # /*< private >*/
2008s # ENUM_VALUE_PRIVATE,
2008s # } SomeEnumA
2008s #
2008s # /tmp/tmp3jxlm1fl/tmpbn15ye8s.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN file-production ***/
2008s # file-production
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-production ***/
2008s #
2008s # /*** BEGIN enumeration-production ***/
2008s # enumeration-production
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END enumeration-production ***/
2008s #
2008s # /*** BEGIN value-header ***/
2008s # value-header
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-header ***/
2008s #
2008s # /*** BEGIN value-production ***/
2008s # value-production
2008s # VALUENAME: @VALUENAME@
2008s # valuenick: @valuenick@
2008s # valuenum: @valuenum@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-production ***/
2008s #
2008s # /*** BEGIN value-tail ***/
2008s # value-tail
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-tail ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # /*** END file-tail ***/
2008s #
2008s # Response file contains: --template /tmp/tmp3jxlm1fl/tmpbn15ye8s.template /tmp/tmp3jxlm1fl/tmpcumpx9vf.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3jxlm1fl/tmpv7m2e698']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # file-production
2008s # filename: /tmp/tmp3jxlm1fl/tmpcumpx9vf.h
2008s # basename: tmpcumpx9vf.h
2008s # enumeration-production
2008s # EnumName: SomeEnumA
2008s # enum_name: some_enum_a
2008s # ENUMNAME: SOME_ENUM_A
2008s # ENUMSHORT: ENUM_A
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-header
2008s # EnumName: SomeEnumA
2008s # enum_name: some_enum_a
2008s # ENUMNAME: SOME_ENUM_A
2008s # ENUMSHORT: ENUM_A
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-production
2008s # VALUENAME: ENUM_VALUE_PUBLIC1
2008s # valuenick: public1
2008s # valuenum: 0
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-tail
2008s # EnumName: SomeEnumA
2008s # enum_name: some_enum_a
2008s # ENUMNAME: SOME_ENUM_A
2008s # ENUMSHORT: ENUM_A
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # file-tail
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s # /tmp/tmp3jxlm1fl/tmp7_sv8kh2.h:
2008s # typedef enum {
2008s # /*< private >*/
2008s # ENUM_VALUE_PRIVATE,
2008s # /*< public >*/
2008s # ENUM_VALUE_PUBLIC2,
2008s # } SomeEnumB;
2008s #
2008s # /tmp/tmp3jxlm1fl/tmps5i8_1l6.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN file-production ***/
2008s # file-production
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-production ***/
2008s #
2008s # /*** BEGIN enumeration-production ***/
2008s # enumeration-production
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END enumeration-production ***/
2008s #
2008s # /*** BEGIN value-header ***/
2008s # value-header
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-header ***/
2008s #
2008s # /*** BEGIN value-production ***/
2008s # value-production
2008s # VALUENAME: @VALUENAME@
2008s # valuenick: @valuenick@
2008s # valuenum: @valuenum@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-production ***/
2008s #
2008s # /*** BEGIN value-tail ***/
2008s # value-tail
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-tail ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # /*** END file-tail ***/
2008s #
2008s # Response file contains: --template /tmp/tmp3jxlm1fl/tmps5i8_1l6.template /tmp/tmp3jxlm1fl/tmp7_sv8kh2.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3jxlm1fl/tmpswskye8_']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # file-production
2008s # filename: /tmp/tmp3jxlm1fl/tmp7_sv8kh2.h
2008s # basename: tmp7_sv8kh2.h
2008s # enumeration-production
2008s # EnumName: SomeEnumB
2008s # enum_name: some_enum_b
2008s # ENUMNAME: SOME_ENUM_B
2008s # ENUMSHORT: ENUM_B
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-header
2008s # EnumName: SomeEnumB
2008s # enum_name: some_enum_b
2008s # ENUMNAME: SOME_ENUM_B
2008s # ENUMSHORT: ENUM_B
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-production
2008s # VALUENAME: ENUM_VALUE_PUBLIC2
2008s # valuenick: public2
2008s # valuenum: 1
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-tail
2008s # EnumName: SomeEnumB
2008s # enum_name: some_enum_b
2008s # ENUMNAME: SOME_ENUM_B
2008s # ENUMSHORT: ENUM_B
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # file-tail
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression
2008s # tmpdir: /tmp/tmpi89cy224
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmpi89cy224/tmp1snx0r2f.h:
2008s # typedef enum {
2008s # /*< private >*/
2008s # ENUM_VALUE_PRIVATE = 5,
2008s # /*< public >*/
2008s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
2008s # } TestSymbolicEnum;
2008s #
2008s # /tmp/tmpi89cy224/tmpczq516cf.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN file-production ***/
2008s # file-production
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-production ***/
2008s #
2008s # /*** BEGIN enumeration-production ***/
2008s # enumeration-production
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END enumeration-production ***/
2008s #
2008s # /*** BEGIN value-header ***/
2008s # value-header
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-header ***/
2008s #
2008s # /*** BEGIN value-production ***/
2008s # value-production
2008s # VALUENAME: @VALUENAME@
2008s # valuenick: @valuenick@
2008s # valuenum: @valuenum@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-production ***/
2008s #
2008s # /*** BEGIN value-tail ***/
2008s # value-tail
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-tail ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # /*** END file-tail ***/
2008s #
2008s # Response file contains: --template /tmp/tmpi89cy224/tmpczq516cf.template /tmp/tmpi89cy224/tmp1snx0r2f.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi89cy224/tmp78kctagf']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # file-production
2008s # filename: /tmp/tmpi89cy224/tmp1snx0r2f.h
2008s # basename: tmp1snx0r2f.h
2008s # enumeration-production
2008s # EnumName: TestSymbolicEnum
2008s # enum_name: test_symbolic_enum
2008s # ENUMNAME: TEST_SYMBOLIC_ENUM
2008s # ENUMSHORT: SYMBOLIC_ENUM
2008s # ENUMPREFIX: TEST
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-header
2008s # EnumName: TestSymbolicEnum
2008s # enum_name: test_symbolic_enum
2008s # ENUMNAME: TEST_SYMBOLIC_ENUM
2008s # ENUMSHORT: SYMBOLIC_ENUM
2008s # ENUMPREFIX: TEST
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-production
2008s # VALUENAME: ENUM_VALUE_PUBLIC
2008s # valuenick: public
2008s # valuenum: 7
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-tail
2008s # EnumName: TestSymbolicEnum
2008s # enum_name: test_symbolic_enum
2008s # ENUMNAME: TEST_SYMBOLIC_ENUM
2008s # ENUMSHORT: SYMBOLIC_ENUM
2008s # ENUMPREFIX: TEST
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # file-tail
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail
2008s # tmpdir: /tmp/tmpg2ugfukp
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmpg2ugfukp/tmppl0gzil1.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-tail ***/
2008s # Response file contains: --template /tmp/tmpg2ugfukp/tmppl0gzil1.template
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg2ugfukp/tmpb65pgu3k']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # filename: @filename@
2008s # basename: @basename@
2008s # file-tail
2008s # filename: @filename@
2008s # basename: @basename@
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s ok 29 __main__.TestRspMkenums.test_help
2008s # tmpdir: /tmp/tmp31g54hh5
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # Response file contains: --help
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp31g54hh5/tmpmr1hx1v6']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
2008s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
2008s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
2008s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
2008s # [--comments COMMENT_TMPL] [--template TEMPLATE]
2008s # [--output OUTPUT] [--version]
2008s # [args ...]
2008s #
2008s # positional arguments:
2008s # args One or more input files, or a single argument
2008s # @rspfile_path pointing to a file that contains the
2008s # actual arguments
2008s #
2008s # options:
2008s # -h, --help show this help message and exit
2008s # --identifier-prefix IDPREFIX
2008s # Identifier prefix
2008s # --symbol-prefix SYMPREFIX
2008s # Symbol prefix
2008s # --fhead FHEAD Output file header
2008s # --ftail FTAIL Output file footer
2008s # --fprod FPROD Put out TEXT every time a new input file is being
2008s # processed.
2008s # --eprod EPROD Per enum text, produced prior to value iterations
2008s # --vhead VHEAD Value header, produced before iterating over enum
2008s # values
2008s # --vprod VPROD Value text, produced for each enum value.
2008s # --vtail VTAIL Value tail, produced after iterating over enum values
2008s # --comments COMMENT_TMPL
2008s # Comment structure
2008s # --template TEMPLATE Template file
2008s # --output OUTPUT
2008s # --version, -v Print version information
2008s #
2008s # Production text substitutions:
2008s # @EnumName@ PrefixTheXEnum
2008s # @enum_name@ prefix_the_xenum
2008s # @ENUMNAME@ PREFIX_THE_XENUM
2008s # @ENUMSHORT@ THE_XENUM
2008s # @ENUMPREFIX@ PREFIX
2008s # @enumsince@ the user-provided since value given
2008s # @VALUENAME@ PREFIX_THE_XVALUE
2008s # @valuenick@ the-xvalue
2008s # @valuenum@ the integer value (limited support, Since: 2.26)
2008s # @type@ either enum or flags
2008s # @Type@ either Enum or Flags
2008s # @TYPE@ either ENUM or FLAGS
2008s # @filename@ name of current input file
2008s # @basename@ base name of the current input file (Since: 2.22)
2008s ok 30 __main__.TestRspMkenums.test_no_args
2008s # tmpdir: /tmp/tmp4crg9dry
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # Response file contains:
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4crg9dry/tmp1ixt_6ry']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: /* 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. */
2008s #
2008s #
2008s # /* Generated data ends here */
2008s ok 31 __main__.TestRspMkenums.test_no_headers
2008s # tmpdir: /tmp/tmpgnj39qba
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmpgnj39qba/tmpettc5tnb.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN file-production ***/
2008s # file-production
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-production ***/
2008s #
2008s # /*** BEGIN enumeration-production ***/
2008s # enumeration-production
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END enumeration-production ***/
2008s #
2008s # /*** BEGIN value-header ***/
2008s # value-header
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-header ***/
2008s #
2008s # /*** BEGIN value-production ***/
2008s # value-production
2008s # VALUENAME: @VALUENAME@
2008s # valuenick: @valuenick@
2008s # valuenum: @valuenum@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-production ***/
2008s #
2008s # /*** BEGIN value-tail ***/
2008s # value-tail
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-tail ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # /*** END file-tail ***/
2008s #
2008s # Response file contains: --template /tmp/tmpgnj39qba/tmpettc5tnb.template
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgnj39qba/tmpm0g8d3by']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # file-tail
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s ok 32 __main__.TestRspMkenums.test_no_nick
2008s # tmpdir: /tmp/tmpmudy5lzv
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmpmudy5lzv/tmp2wjsq5y1.h:
2008s # typedef enum {
2008s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
2008s # } GeglSamplerType;
2008s #
2008s # /tmp/tmpmudy5lzv/tmplyv8b769.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN file-production ***/
2008s # file-production
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-production ***/
2008s #
2008s # /*** BEGIN enumeration-production ***/
2008s # enumeration-production
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END enumeration-production ***/
2008s #
2008s # /*** BEGIN value-header ***/
2008s # value-header
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-header ***/
2008s #
2008s # /*** BEGIN value-production ***/
2008s # value-production
2008s # VALUENAME: @VALUENAME@
2008s # valuenick: @valuenick@
2008s # valuenum: @valuenum@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-production ***/
2008s #
2008s # /*** BEGIN value-tail ***/
2008s # value-tail
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-tail ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # /*** END file-tail ***/
2008s #
2008s # Response file contains: --template /tmp/tmpmudy5lzv/tmplyv8b769.template /tmp/tmpmudy5lzv/tmp2wjsq5y1.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmudy5lzv/tmp98pykf_3']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # file-production
2008s # filename: /tmp/tmpmudy5lzv/tmp2wjsq5y1.h
2008s # basename: tmp2wjsq5y1.h
2008s # enumeration-production
2008s # EnumName: GeglSamplerType
2008s # enum_name: gegl_sampler_type
2008s # ENUMNAME: GEGL_SAMPLER_TYPE
2008s # ENUMSHORT: SAMPLER_TYPE
2008s # ENUMPREFIX: GEGL
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-header
2008s # EnumName: GeglSamplerType
2008s # enum_name: gegl_sampler_type
2008s # ENUMNAME: GEGL_SAMPLER_TYPE
2008s # ENUMSHORT: SAMPLER_TYPE
2008s # ENUMPREFIX: GEGL
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-production
2008s # VALUENAME: GEGL_SAMPLER_NEAREST
2008s # valuenick: nearest
2008s # valuenum: 0
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-tail
2008s # EnumName: GeglSamplerType
2008s # enum_name: gegl_sampler_type
2008s # ENUMNAME: GEGL_SAMPLER_TYPE
2008s # ENUMSHORT: SAMPLER_TYPE
2008s # ENUMPREFIX: GEGL
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # file-tail
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding
2008s # tmpdir: /tmp/tmpjjoox4rs
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmpjjoox4rs/tmpo2tnl5qd.h:
2008s # /* Copyright © La Peña */
2008s # typedef enum {
2008s # ENUM_VALUE
2008s # } SomeEnumIdentifier;
2008s #
2008s # /tmp/tmpjjoox4rs/tmph14e1c5z.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN file-production ***/
2008s # file-production
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-production ***/
2008s #
2008s # /*** BEGIN enumeration-production ***/
2008s # enumeration-production
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END enumeration-production ***/
2008s #
2008s # /*** BEGIN value-header ***/
2008s # value-header
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-header ***/
2008s #
2008s # /*** BEGIN value-production ***/
2008s # value-production
2008s # VALUENAME: @VALUENAME@
2008s # valuenick: @valuenick@
2008s # valuenum: @valuenum@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-production ***/
2008s #
2008s # /*** BEGIN value-tail ***/
2008s # value-tail
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-tail ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # /*** END file-tail ***/
2008s #
2008s # Response file contains: --template /tmp/tmpjjoox4rs/tmph14e1c5z.template /tmp/tmpjjoox4rs/tmpo2tnl5qd.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjjoox4rs/tmpv4xat02_']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # file-production
2008s # filename: /tmp/tmpjjoox4rs/tmpo2tnl5qd.h
2008s # basename: tmpo2tnl5qd.h
2008s # enumeration-production
2008s # EnumName: SomeEnumIdentifier
2008s # enum_name: some_enum_identifier
2008s # ENUMNAME: SOME_ENUM_IDENTIFIER
2008s # ENUMSHORT: ENUM_IDENTIFIER
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-header
2008s # EnumName: SomeEnumIdentifier
2008s # enum_name: some_enum_identifier
2008s # ENUMNAME: SOME_ENUM_IDENTIFIER
2008s # ENUMSHORT: ENUM_IDENTIFIER
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-production
2008s # VALUENAME: ENUM_VALUE
2008s # valuenick: value
2008s # valuenum: 0
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-tail
2008s # EnumName: SomeEnumIdentifier
2008s # enum_name: some_enum_identifier
2008s # ENUMNAME: SOME_ENUM_IDENTIFIER
2008s # ENUMSHORT: ENUM_IDENTIFIER
2008s # ENUMPREFIX: SOME
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # file-tail
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s ok 34 __main__.TestRspMkenums.test_reproducible
2008s # tmpdir: /tmp/tmp2wzt2l3j
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmp2wzt2l3j/tmpzh22man8.template: template
2008s # Response file contains: --template /tmp/tmp2wzt2l3j/tmpzh22man8.template /tmp/tmp2wzt2l3j/tmpat2ozhn51.h /tmp/tmp2wzt2l3j/tmpr__n3t4s2.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2wzt2l3j/tmp410y2pvu']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: /* 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. */
2008s #
2008s #
2008s # /* Generated data ends here */
2008s # /tmp/tmp2wzt2l3j/tmpxc21lxkt.template: template
2008s # Response file contains: --template /tmp/tmp2wzt2l3j/tmpxc21lxkt.template /tmp/tmp2wzt2l3j/tmpr__n3t4s2.h /tmp/tmp2wzt2l3j/tmpat2ozhn51.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2wzt2l3j/tmp08aysqkv']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: /* 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. */
2008s #
2008s #
2008s # /* Generated data ends here */
2008s ok 35 __main__.TestRspMkenums.test_since
2008s # tmpdir: /tmp/tmp20zp3b3o
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmp20zp3b3o/tmphub5u2o1.h:
2008s # typedef enum { /*< since=1.0 >*/
2008s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
2008s # } QmiWmsMessageProtocol;
2008s #
2008s # /tmp/tmp20zp3b3o/tmpu8x4q_4a.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN file-production ***/
2008s # file-production
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-production ***/
2008s #
2008s # /*** BEGIN enumeration-production ***/
2008s # enumeration-production
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END enumeration-production ***/
2008s #
2008s # /*** BEGIN value-header ***/
2008s # value-header
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-header ***/
2008s #
2008s # /*** BEGIN value-production ***/
2008s # value-production
2008s # VALUENAME: @VALUENAME@
2008s # valuenick: @valuenick@
2008s # valuenum: @valuenum@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-production ***/
2008s #
2008s # /*** BEGIN value-tail ***/
2008s # value-tail
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-tail ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # /*** END file-tail ***/
2008s #
2008s # Response file contains: --template /tmp/tmp20zp3b3o/tmpu8x4q_4a.template /tmp/tmp20zp3b3o/tmphub5u2o1.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp20zp3b3o/tmpqzkdg4h5']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # file-production
2008s # filename: /tmp/tmp20zp3b3o/tmphub5u2o1.h
2008s # basename: tmphub5u2o1.h
2008s # enumeration-production
2008s # EnumName: QmiWmsMessageProtocol
2008s # enum_name: qmi_wms_message_protocol
2008s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
2008s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
2008s # ENUMPREFIX: QMI
2008s # enumsince: 1.0
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-header
2008s # EnumName: QmiWmsMessageProtocol
2008s # enum_name: qmi_wms_message_protocol
2008s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
2008s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
2008s # ENUMPREFIX: QMI
2008s # enumsince: 1.0
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-production
2008s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
2008s # valuenick: cdma
2008s # valuenum: 0
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-tail
2008s # EnumName: QmiWmsMessageProtocol
2008s # enum_name: qmi_wms_message_protocol
2008s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
2008s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
2008s # ENUMPREFIX: QMI
2008s # enumsince: 1.0
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # file-tail
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s ok 36 __main__.TestRspMkenums.test_with_double_quotes
2008s # tmpdir: /tmp/tmp64dhylzj
2008s # rspfile: True, mkenums: /usr/bin/glib-mkenums
2008s # /tmp/tmp64dhylzj/tmpcguforle.h:
2008s # typedef enum {
2008s # FOO_VALUE /*< nick="eek, a comma" >*/
2008s # } Foo;
2008s #
2008s # /tmp/tmp64dhylzj/tmpnmyc_dpf.template:
2008s # /*** BEGIN file-header ***/
2008s # file-header
2008s # /*** END file-header ***/
2008s #
2008s # /*** BEGIN file-production ***/
2008s # file-production
2008s # filename: @filename@
2008s # basename: @basename@
2008s # /*** END file-production ***/
2008s #
2008s # /*** BEGIN enumeration-production ***/
2008s # enumeration-production
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END enumeration-production ***/
2008s #
2008s # /*** BEGIN value-header ***/
2008s # value-header
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-header ***/
2008s #
2008s # /*** BEGIN value-production ***/
2008s # value-production
2008s # VALUENAME: @VALUENAME@
2008s # valuenick: @valuenick@
2008s # valuenum: @valuenum@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-production ***/
2008s #
2008s # /*** BEGIN value-tail ***/
2008s # value-tail
2008s # EnumName: @EnumName@
2008s # enum_name: @enum_name@
2008s # ENUMNAME: @ENUMNAME@
2008s # ENUMSHORT: @ENUMSHORT@
2008s # ENUMPREFIX: @ENUMPREFIX@
2008s # enumsince: @enumsince@
2008s # type: @type@
2008s # Type: @Type@
2008s # TYPE: @TYPE@
2008s # /*** END value-tail ***/
2008s #
2008s # /*** BEGIN comment ***/
2008s # comment
2008s # comment: @comment@
2008s # /*** END comment ***/
2008s #
2008s # /*** BEGIN file-tail ***/
2008s # file-tail
2008s # /*** END file-tail ***/
2008s #
2008s # Response file contains: --template /tmp/tmp64dhylzj/tmpnmyc_dpf.template /tmp/tmp64dhylzj/tmpcguforle.h
2008s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp64dhylzj/tmpnpgijchr']
2008s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2008s # Output: comment
2008s # 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.
2008s #
2008s #
2008s # file-header
2008s # file-production
2008s # filename: /tmp/tmp64dhylzj/tmpcguforle.h
2008s # basename: tmpcguforle.h
2008s # enumeration-production
2008s # EnumName: Foo
2008s # enum_name: foo_
2008s # ENUMNAME: FOO_
2008s # ENUMSHORT:
2008s # ENUMPREFIX: FOO
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-header
2008s # EnumName: Foo
2008s # enum_name: foo_
2008s # ENUMNAME: FOO_
2008s # ENUMSHORT:
2008s # ENUMPREFIX: FOO
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-production
2008s # VALUENAME: FOO_VALUE
2008s # valuenick: eek, a comma
2008s # valuenum: 0
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # value-tail
2008s # EnumName: Foo
2008s # enum_name: foo_
2008s # ENUMNAME: FOO_
2008s # ENUMSHORT:
2008s # ENUMPREFIX: FOO
2008s # enumsince:
2008s # type: enum
2008s # Type: Enum
2008s # TYPE: ENUM
2008s # file-tail
2008s #
2008s # comment
2008s # comment: Generated data ends here
2008s 1..36
2008s ok - glib/mkenums.py.test
2008s # Running test: glib/memory-monitor.test
2008s TAP version 14
2008s # random seed: R02S50e40bbb3605c5a83289b395ccd52872
2008s 1..1
2008s # Start of memory-monitor tests
2008s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals
2008s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor?
2008s ok 1 /memory-monitor/default
2008s # End of memory-monitor tests
2008s ok - glib/memory-monitor.test
2008s # Running test: glib/mainloop.test
2008s TAP version 14
2008s # random seed: R02S03fceecfb6750e1b895f5232a52e30de
2008s 1..45
2008s # Start of maincontext tests
2008s ok 1 /maincontext/basic
2008s # Add same-priority sources: 28
2008s # Find each source: 3
2008s # Remove in random order: 35
2008s ok 2 /maincontext/nsources_same_priority
2008s # Add different-priority sources: 33
2008s # Find each source: 3
2008s # Remove in random order: 39
2008s ok 3 /maincontext/nsources_different_priority
2008s # Add sources from threads: 78
2009s # Remove sources from threads: 96
2009s ok 4 /maincontext/nsources_threadpool
2009s ok 5 /maincontext/source_finalization
2009s # /maincontext/idle-once summary: Test g_idle_add_once() works
2009s ok 6 /maincontext/idle-once
2009s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
2009s ok 7 /maincontext/timeout-once
2009s # Start of source_finalization_from_source tests
2009s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 8 /maincontext/source_finalization_from_source/0
2009s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 9 /maincontext/source_finalization_from_source/1
2009s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 10 /maincontext/source_finalization_from_source/2
2009s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 11 /maincontext/source_finalization_from_source/3
2009s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 12 /maincontext/source_finalization_from_source/4
2009s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 13 /maincontext/source_finalization_from_source/5
2009s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 14 /maincontext/source_finalization_from_source/6
2009s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 15 /maincontext/source_finalization_from_source/7
2009s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 16 /maincontext/source_finalization_from_source/8
2009s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2009s ok 17 /maincontext/source_finalization_from_source/9
2009s # End of source_finalization_from_source tests
2009s # Start of source_finalization_from_dispatch tests
2009s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
2009s ok 18 /maincontext/source_finalization_from_dispatch/0
2009s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
2009s ok 19 /maincontext/source_finalization_from_dispatch/1
2009s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
2009s ok 20 /maincontext/source_finalization_from_dispatch/2
2009s # End of source_finalization_from_dispatch tests
2009s # End of maincontext tests
2009s # Start of mainloop tests
2009s ok 21 /mainloop/basic
2009s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test
2009s ok 23 /mainloop/priorities
2009s ok 24 /mainloop/invoke
2009s # slow test /mainloop/invoke executed in 0.50 secs
2009s ok 25 /mainloop/child_sources # SKIP Not reliable on older ARM hardware
2009s ok 26 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware
2009s ok 27 /mainloop/recursive_loop_child_sources
2009s ok 28 /mainloop/swapping_child_sources
2009s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
2009s ok 29 /mainloop/blocked_child_sources
2010s ok 30 /mainloop/source_time
2010s # slow test /mainloop/source_time executed in 1.00 secs
2010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
2010s ok 31 /mainloop/overflow
2011s ok 32 /mainloop/ready-time
2011s # slow test /mainloop/ready-time executed in 0.50 secs
2011s ok 33 /mainloop/wakeup
2011s ok 34 /mainloop/remove-invalid
2011s ok 35 /mainloop/unref-while-pending
2011s # Executing: glib/mainloop.test
2012s ok 36 /mainloop/unix-fd
2012s # slow test /mainloop/unix-fd executed in 0.89 secs
2012s ok 37 /mainloop/unix-fd-source
2012s ok 38 /mainloop/source-unix-fd-api
2012s ok 39 /mainloop/wait
2012s ok 40 /mainloop/unix-file-poll
2012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
2012s ok 41 /mainloop/unix-fd-priority
2012s ok 42 /mainloop/nfds
2012s ok 43 /mainloop/steal-fd
2012s # Start of ownerless-polling tests
2012s ok 44 /mainloop/ownerless-polling/attach-first
2012s ok 45 /mainloop/ownerless-polling/pop-first
2012s # End of ownerless-polling tests
2012s # End of mainloop tests
2012s ok - glib/mainloop.test
2012s # Running test: glib/portal-support-snap-classic.test
2012s TAP version 14
2012s # random seed: R02S73edc756bcced13f4db7daeac06578d9
2012s 1..3
2012s # Start of portal-support tests
2012s # Start of snap-classic tests
2012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/home
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/cache
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/system-config2
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/config
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/system-data2
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/data
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/state
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl/.dirs/runtime
2012s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/no-snapctl: No such file or directory
2012s ok 1 /portal-support/snap-classic/no-snapctl
2012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/home
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/cache
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/system-config2
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/config
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/system-data2
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/data
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/state
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/runtime
2012s # Created snap.yaml in /tmp/test_portal-support-snap-classic_VTS2X2/meta/snap.yaml
2012s # Created snapctl in /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none/.dirs/runtime/snapctl
2012s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/none: No such file or directory
2012s ok 2 /portal-support/snap-classic/none
2012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/home
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/cache
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/system-config2
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/config
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/system-data2
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/data
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/state
2012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/runtime
2012s # Created snap.yaml in /tmp/test_portal-support-snap-classic_VTS2X2/meta/snap.yaml
2012s # Created snapctl in /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all/.dirs/runtime/snapctl
2012s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VTS2X2/portal-support/snap-classic/all: No such file or directory
2012s ok 3 /portal-support/snap-classic/all
2012s # End of snap-classic tests
2012s # End of portal-support tests
2012s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VTS2X2: No such file or directory
2012s ok - glib/portal-support-snap-classic.test
2012s # Running test: glib/param.test
2012s TAP version 14
2012s # random seed: R02S8b0c0216df5222fa39c6650dbd377ded
2012s 1..32
2012s # Start of param tests
2012s ok 1 /param/value
2012s ok 2 /param/strings
2012s ok 3 /param/qdata
2012s ok 4 /param/validate
2012s ok 5 /param/convert
2012s ok 6 /param/implement # SKIP Skipping slow /param/implement test
2012s ok 7 /param/default
2012s ok 8 /param/is-valid-name
2012s # Start of invalid-name tests
2012s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names
2012s ok 9 /param/invalid-name/colon
2012s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names
2012s ok 10 /param/invalid-name/first-char
2012s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names
2012s ok 11 /param/invalid-name/empty
2012s # End of invalid-name tests
2012s # Start of implement tests
2012s # Start of subprocess tests
2012s # End of subprocess tests
2012s # End of implement tests
2012s # End of param tests
2012s # Start of value tests
2012s ok 12 /value/transform
2012s # End of value tests
2012s # Start of paramspec tests
2012s ok 13 /paramspec/char
2012s ok 14 /paramspec/uchar
2012s ok 15 /paramspec/int
2012s ok 16 /paramspec/uint
2012s ok 17 /paramspec/long
2012s ok 18 /paramspec/ulong
2012s ok 19 /paramspec/int64
2012s ok 20 /paramspec/uint64
2012s ok 21 /paramspec/float
2012s ok 22 /paramspec/double
2012s ok 23 /paramspec/unichar
2012s ok 24 /paramspec/param
2012s ok 25 /paramspec/null-param
2012s ok 26 /paramspec/string
2012s ok 27 /paramspec/override
2012s ok 28 /paramspec/gtype
2012s ok 29 /paramspec/variant
2012s ok 30 /paramspec/custom
2012s ok 31 /paramspec/pool
2012s # Start of variant tests
2012s ok 32 /paramspec/variant/cmp
2012s # End of variant tests
2012s # End of paramspec tests
2012s ok - glib/param.test
2012s # Running test: glib/properties-refcount2.test
2012s TAP version 14
2012s # random seed: R02S0a8d818de254605da801dc66f18a99fe
2012s 1..1
2012s # Start of gobject tests
2012s # Start of refcount tests
2012s # init 0xffc5238
2012s #
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2012s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2013s # .
2014s # .
2014s # .
2014s # .
2014s # .
2014s # .
2014s # dispose 0xffc5238!
2014s #
2014s ok 1 /gobject/refcount/properties-2
2014s # slow test /gobject/refcount/properties-2 executed in 1.60 secs
2014s # End of refcount tests
2014s # End of gobject tests
2014s ok - glib/properties-refcount2.test
2014s # Running test: glib/override.test
2014s TAP version 14
2014s # random seed: R02S31b4b644adc16033cab98420b4d46569
2014s 1..1
2014s # Start of gobject tests
2014s # *** emitting foo on a TestA instance
2014s # Expecting: TestA::foo,TestI::foo
2014s # Got: TestA::foo,TestI::foo
2014s # *** emitting bar on a TestA instance
2014s # Expecting: TestA::bar
2014s # Got: TestA::bar
2014s # *** emitting baz on a TestA instance
2014s # Expecting: TestA::baz
2014s # Got: TestA::baz
2014s # *** emitting foo on a TestB instance
2014s # Expecting: TestB::foo,TestA::foo,TestI::foo
2014s # Got: TestB::foo,TestA::foo,TestI::foo
2014s # *** emitting bar on a TestB instance
2014s # Expecting: TestB::bar,TestA::bar
2014s # Got: TestB::bar,TestA::bar
2014s # *** emitting baz on a TestB instance
2014s # Expecting: TestB::baz,TestA::baz
2014s # Got: TestB::baz,TestA::baz
2014s # *** emitting foo on a TestC instance
2014s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo
2014s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo
2014s # *** emitting bar on a TestC instance
2014s # Expecting: TestC::bar,TestB::bar,TestA::bar
2014s # Got: TestC::bar,TestB::bar,TestA::bar
2014s # *** emitting baz on a TestC instance
2014s # Expecting: TestC::baz,TestB::baz,TestA::baz
2014s # Got: TestC::baz,TestB::baz,TestA::baz
2014s ok 1 /gobject/override
2014s # End of gobject tests
2014s ok - glib/override.test
2014s # Running test: glib/memchunk.test
2014s TAP version 14
2014s # random seed: R02S26bc44c06f3625c79039474d99a868e6
2014s 1..1
2014s # Start of memchunk tests
2014s ok 1 /memchunk/basic
2014s # End of memchunk tests
2014s ok - glib/memchunk.test
2014s # Running test: glib/include.test
2014s TAP version 14
2014s # random seed: R02Sd2f8ab75630b92b5b2dc54ae544960c4
2014s 1..1
2014s # Start of include tests
2014s ok 1 /include/rwlock
2014s # End of include tests
2014s ok - glib/include.test
2014s # Running test: glib/utf8-misc.test
2014s TAP version 14
2014s # random seed: R02S4dd36cd59faa5e83bf93b28aa75ac0ca
2014s 1..7
2014s # Start of utf8 tests
2014s ok 1 /utf8/strlen
2014s ok 2 /utf8/strncpy
2014s ok 3 /utf8/strrchr
2014s ok 4 /utf8/reverse
2014s ok 5 /utf8/substring
2014s ok 6 /utf8/make-valid
2014s ok 7 /utf8/truncate-middle
2014s # End of utf8 tests
2014s ok - glib/utf8-misc.test
2014s # Running test: glib/gdbus-addresses.test
2014s TAP version 14
2014s # random seed: R02S788cb401d723b2eb4bae5bbb545aae47
2014s 1..9
2014s # Start of gdbus tests
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/empty-address/.dirs/runtime
2014s ok 1 /gdbus/empty-address
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unsupported-address/.dirs/runtime
2014s ok 2 /gdbus/unsupported-address
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/address-parsing/.dirs/runtime
2014s ok 3 /gdbus/address-parsing
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/unix-address/.dirs/runtime
2014s ok 4 /gdbus/unix-address
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/nonce-tcp-address/.dirs/runtime
2014s ok 5 /gdbus/nonce-tcp-address
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/tcp-address/.dirs/runtime
2014s ok 6 /gdbus/tcp-address
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/autolaunch-address/.dirs/runtime
2014s ok 7 /gdbus/autolaunch-address
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/mixed-address/.dirs/runtime
2014s ok 8 /gdbus/mixed-address
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O5F7X2/gdbus/escape-address/.dirs/runtime
2014s ok 9 /gdbus/escape-address
2014s # End of gdbus tests
2014s ok - glib/gdbus-addresses.test
2014s # Running test: glib/live-g-file.test
2014s TAP version 14
2014s # random seed: R02S49e1c3dd20f49071e55561becb5ef605
2014s 1..13
2014s # Start of live-g-file tests
2014s # Cleaning target testing structure in 'testdir_live-g-file'...
2014s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2014s ok 1 /live-g-file/prep_clean_structure
2014s #
2014s # Going to create testing structure in 'testdir_live-g-file'...
2014s # Creating directory 'dir1'...
2014s # Creating directory 'dir1/subdir'...
2014s # Creating directory 'dir2'...
2014s # Creating directory 'dir-target'...
2014s # Creating directory 'dir_no-access'...
2014s # Creating directory 'dir_no-write'...
2014s # Creating file 'target-file'...
2014s # Creating file 'normal_file'...
2014s # Creating symlink 'normal_file-symlink' --> 'normal_file'...
2014s # Creating file 'executable_file'...
2014s # Creating file 'private_file'...
2014s # Creating file 'normal_file2'...
2014s # Creating file 'readonly_file'...
2014s # Creating file 'UTF_pr?i?lis? z'...
2014s # Creating directory 'dir_pr?i?lis? z'...
2014s # Creating symlink 'lost_symlink' --> 'nowhere'...
2014s # Creating directory 'dir_hidden'...
2014s # Creating file 'dir_hidden/.a-hidden-file'...
2014s # Creating file 'dir_hidden/file-in-.hidden1'...
2014s # Creating file 'dir_hidden/file-in-.hidden2'...
2014s # Creating pattern file...
2014s # done.
2014s ok 2 /live-g-file/create_structure
2014s # Testing sample structure in 'testdir_live-g-file'...
2014s # Testing file 'dir1'...
2014s # Testing file 'dir1/subdir'...
2014s # Testing file 'dir2'...
2014s # Testing file 'dir-target'...
2014s # Testing file 'dir_no-access'...
2014s # Testing file 'dir_no-write'...
2014s # Testing file 'target-file'...
2014s # Testing file 'normal_file'...
2014s # Testing file 'normal_file-symlink'...
2014s # Testing file 'executable_file'...
2014s # Testing file 'private_file'...
2014s # Testing file 'normal_file2'...
2014s # Testing file 'readonly_file'...
2014s # Testing file 'UTF_pr?i?lis? z'...
2014s # Testing file 'dir_pr?i?lis? z'...
2014s # Testing file 'lost_symlink'...
2014s # Testing file 'dir_hidden'...
2014s # Testing file 'dir_hidden/.a-hidden-file'...
2014s # Testing file 'dir_hidden/file-in-.hidden1'...
2014s # Testing file 'dir_hidden/file-in-.hidden2'...
2014s # Testing pattern file...
2014s # read 65536 bytes, total = 65536 of 65536.
2014s ok 3 /live-g-file/test_initial_structure
2014s # Traversing through the sample structure in 'testdir_live-g-file'...
2014s # Found file dir1, relative to root: dir1
2014s # Found file subdir, relative to root: dir1/subdir
2014s # Found file dir2, relative to root: dir2
2014s # Found file dir-target, relative to root: dir-target
2014s # Found file dir_no-access, relative to root: dir_no-access
2014s # Found file dir_no-write, relative to root: dir_no-write
2014s # Found file target-file, relative to root: target-file
2014s # Found file normal_file, relative to root: normal_file
2014s # Found file normal_file-symlink, relative to root: normal_file-symlink
2014s # Found file executable_file, relative to root: executable_file
2014s # Found file private_file, relative to root: private_file
2014s # Found file normal_file2, relative to root: normal_file2
2014s # Found file readonly_file, relative to root: readonly_file
2014s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z
2014s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z
2014s # Found file lost_symlink, relative to root: lost_symlink
2014s # Found file dir_hidden, relative to root: dir_hidden
2014s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file
2014s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1
2014s # Found file .hidden, relative to root: dir_hidden/.hidden
2014s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2
2014s # Found file pattern_file, relative to root: pattern_file
2014s ok 4 /live-g-file/test_traverse_structure
2014s # Test enumerate 'testdir_live-g-file'...
2014s # Testing file 'dir_no-access'
2014s # Testing file 'normal_file'
2014s # Testing file 'normal_file-symlink'
2014s # Testing file 'not_exists'
2014s # Testing file 'not_exists'
2014s # Testing file 'not_exists2'
2014s # Testing file 'not_exists3'
2014s # Testing file 'not_exists4'
2014s # Testing file 'dir_no-execute/file'
2014s ok 5 /live-g-file/test_enumerate
2014s # test_open: 'dir1'
2014s # test_open: 'dir_no-access'
2014s # test_open: 'target-file'
2014s # test_open: 'normal_file-symlink'
2014s # test_open: 'executable_file'
2014s # test_open: 'private_file'
2014s # test_open: 'readonly_file'
2014s # test_open: 'UTF_pr?i?lis? z'
2014s # test_open: 'pattern_file'
2014s # test_open: 'not_exists'
2014s # test_open: 'dir_no-execute/file'
2014s # test_open: 'lost_symlink'
2014s ok 6 /live-g-file/test_open
2014s # test_create: 'dir1'
2014s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir1?: Is a directory
2014s # test_create: 'dir1/subdir'
2014s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir1/subdir?: Is a directory
2014s # test_create: 'dir2'
2014s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir2?: File exists
2014s # test_create: 'normal_file'
2014s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/normal_file?: File exists
2014s # test_create: 'executable_file'
2014s # test_create: 'private_file'
2014s # test_create: 'normal_file2'
2014s # test_create: 'UTF_pr?i?lis? z'
2014s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists
2014s # test_create: 'dir_pr?i?lis? z'
2014s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_pr?i?lis? z?: File exists
2014s # test_create: 'pattern_file'
2014s # test_create: 'not_exists2'
2014s # test_create: 'not_exists3'
2014s # test_create: 'not_exists4'
2014s ok 7 /live-g-file/test_create
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir1/subdir' --> 'dir-target'
2014s # res = 0, error code 25 = Can?t recursively copy directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir1/subdir' --> '.'
2014s # res = 0, error code 2 = Target file exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir1/subdir' --> 'target-file'
2014s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir1/subdir' --> 'not_exists'
2014s # res = 0, error code 25 = Can?t recursively copy directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir1/subdir' --> 'dir_no-access'
2014s # res = 0, error code 25 = Can?t recursively copy directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir1/subdir' --> 'dir_no-write'
2014s # res = 0, error code 25 = Can?t recursively copy directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir2' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir-target' --> 'dir-target'
2014s # res = 0, error code 25 = Can?t recursively copy directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir-target' --> '.'
2014s # res = 0, error code 2 = Target file exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir-target' --> 'target-file'
2014s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/dir-target?: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir-target' --> 'not_exists'
2014s # res = 0, error code 25 = Can?t recursively copy directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir-target' --> 'dir_no-access'
2014s # res = 0, error code 25 = Can?t recursively copy directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'dir-target' --> 'dir_no-write'
2014s # res = 0, error code 25 = Can?t recursively copy directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'target-file' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'target-file' --> '.'
2014s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file?: File exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'target-file' --> 'target-file'
2014s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/target-file?: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'target-file' --> 'not_exists'
2014s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists/target-file?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'target-file' --> 'dir_no-access'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-access/target-file?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'target-file' --> 'dir_no-write'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-write/target-file?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file-symlink' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file-symlink' --> '.'
2014s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/normal_file-symlink: File exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file-symlink' --> 'target-file'
2014s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file-symlink' --> 'not_exists'
2014s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access'
2014s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write'
2014s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'executable_file' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'executable_file' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'executable_file' --> '.'
2014s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/executable_file?: File exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'executable_file' --> 'target-file'
2014s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/executable_file?: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'executable_file' --> 'not_exists'
2014s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists/executable_file?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'executable_file' --> 'dir_no-access'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'executable_file' --> 'dir_no-write'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'private_file' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'private_file' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'private_file' --> '.'
2014s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/private_file?: File exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'private_file' --> 'target-file'
2014s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/private_file?: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'private_file' --> 'not_exists'
2014s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists/private_file?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'private_file' --> 'dir_no-access'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-access/private_file?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'private_file' --> 'dir_no-write'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-write/private_file?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file2' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file2' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file2' --> '.'
2014s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/normal_file2?: File exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file2' --> 'target-file'
2014s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/normal_file2?: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file2' --> 'not_exists'
2014s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file2' --> 'dir_no-access'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'normal_file2' --> 'dir_no-write'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'UTF_pr?i?lis? z' --> '.'
2014s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file'
2014s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists'
2014s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'pattern_file' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'pattern_file' --> '.'
2014s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/pattern_file?: File exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'pattern_file' --> 'target-file'
2014s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/pattern_file?: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'pattern_file' --> 'not_exists'
2014s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'pattern_file' --> 'dir_no-access'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'pattern_file' --> 'dir_no-write'
2014s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'not_exists' --> 'dir-target'
2014s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'not_exists' --> '.'
2014s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'not_exists' --> 'target-file'
2014s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'not_exists' --> 'not_exists'
2014s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'not_exists' --> 'dir_no-access'
2014s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'not_exists' --> 'dir_no-write'
2014s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists?: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'not_exists' --> 'dir-target'
2014s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'lost_symlink' --> 'dir-target'
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'lost_symlink' --> '.'
2014s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/lost_symlink: File exists
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'lost_symlink' --> 'target-file'
2014s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/target-file/lost_symlink: Not a directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'lost_symlink' --> 'not_exists'
2014s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'lost_symlink' --> 'dir_no-access'
2014s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s # do_copy_move: 'lost_symlink' --> 'dir_no-write'
2014s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied
2014s ok 8 /live-g-file/test_copy_move
2014s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir1
2014s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir1: Directory not empty
2014s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir2
2014s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir2: No such file or directory
2014s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/executable_file
2014s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/readonly_file
2014s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_pr?i?lis? z
2014s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists
2014s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists: No such file or directory
2014s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists
2014s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/not_exists: No such file or directory
2014s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-execute/file
2014s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/dir_no-execute/file: No such file or directory
2014s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-ZW17X2/testdir_live-g-file/lost_symlink
2014s ok 9 /live-g-file/test_delete
2014s # We do not have CAP_DAC_OVERRIDE or equivalent
2014s ok 10 /live-g-file/test_make_directory_with_parents
2014s # Cleaning target testing structure in 'testdir_live-g-file'...
2014s # deleting 'dir1'
2014s # deleting 'subdir'
2014s # deleting 'dir-target'
2014s # deleting 'dir2'
2014s # deleting 'target-file'
2014s # deleting 'normal_file-symlink'
2014s # deleting 'executable_file'
2014s # deleting 'private_file'
2014s # deleting 'normal_file2'
2014s # deleting 'UTF_pr?i?lis? z'
2014s # deleting 'pattern_file'
2014s # deleting 'lost_symlink'
2014s # deleting 'dir_no-access'
2014s # deleting 'dir_no-write'
2014s # deleting 'target-file'
2014s # deleting 'normal_file'
2014s # deleting 'normal_file-symlink'
2014s # deleting 'executable_file~'
2014s # deleting 'private_file'
2014s # deleting 'normal_file2~'
2014s # deleting 'UTF_pr?i?lis? z'
2014s # deleting 'dir_hidden'
2014s # deleting '.a-hidden-file'
2014s # deleting 'file-in-.hidden1'
2014s # deleting '.hidden'
2014s # deleting 'file-in-.hidden2'
2014s # deleting 'pattern_file'
2014s # deleting 'normal_file2'
2014s # deleting 'not_exists2'
2014s # deleting 'not_exists3'
2014s # deleting 'not_exists4'
2014s # deleting 'a'
2014s ok 11 /live-g-file/final_clean
2014s # Start of test_unix_is_mountpoint tests
2014s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot
2014s ok 13 /live-g-file/test_unix_is_mountpoint/proc
2014s # End of test_unix_is_mountpoint tests
2014s # End of live-g-file tests
2014s ok - glib/live-g-file.test
2014s # Running test: glib/macros-c-99.test
2014s TAP version 14
2014s # random seed: R02Sc59df3563e1172dc6a8bb2003bb75086
2014s 1..4
2014s # Start of C tests
2014s ok 1 /C/standard-99
2014s # End of C tests
2014s # Start of alignof tests
2014s ok 2 /alignof/fallback
2014s # End of alignof tests
2014s # Start of assert tests
2014s ok 3 /assert/static
2014s # End of assert tests
2014s # Start of struct tests
2014s ok 4 /struct/sizeof_member
2014s # End of struct tests
2014s ok - glib/macros-c-99.test
2014s # Running test: glib/gdbus-exit-on-close.test
2014s TAP version 14
2014s # random seed: R02Sc122d8f2faefa5be7c9ff24776b5fde1
2014s 1..4
2014s # Start of gdbus tests
2014s # Start of exit-on-close tests
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/default/.dirs/runtime
2014s ok 1 /gdbus/exit-on-close/default
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/true/.dirs/runtime
2014s ok 2 /gdbus/exit-on-close/true
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/false/.dirs/runtime
2014s ok 3 /gdbus/exit-on-close/false
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FDO3X2/gdbus/exit-on-close/we-close/.dirs/runtime
2014s ok 4 /gdbus/exit-on-close/we-close
2014s # Start of default tests
2014s # End of default tests
2014s # Start of true tests
2014s # End of true tests
2014s # Start of false tests
2014s # End of false tests
2014s # Start of we-close tests
2014s # End of we-close tests
2014s # End of exit-on-close tests
2014s # End of gdbus tests
2014s ok - glib/gdbus-exit-on-close.test
2014s # Running test: glib/pathbuf.test
2014s TAP version 14
2014s # random seed: R02Sdb7cab9ee3f443e8c9b7534d12c7efa0
2014s 1..3
2014s # Start of pathbuf tests
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_C3KVX2/pathbuf/init/.dirs/runtime
2014s # Initializing empty path buf
2014s # Initializing with empty path
2014s # Initializing with full path
2014s # Initializing with no path
2014s # Allocating GPathBuf on the heap
2014s ok 1 /pathbuf/init
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_C3KVX2/pathbuf/push-pop/.dirs/runtime
2014s # Pushing relative path component
2014s # Pushing absolute path component
2014s # Popping a path component
2014s # Can't pop the last element of a path buffer
2014s ok 2 /pathbuf/push-pop
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_C3KVX2/pathbuf/filename-extension/.dirs/runtime
2014s ok 3 /pathbuf/filename-extension
2014s # End of pathbuf tests
2014s ok - glib/pathbuf.test
2014s # Running test: glib/dynamictype.test
2014s TAP version 14
2014s # random seed: R02S057ee40978d1df62e093d921bd4f265f
2014s 1..2
2014s # Start of gobject tests
2014s ok 1 /gobject/dynamic-type
2014s # Start of dynamic-type tests
2014s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623
2014s ok 2 /gobject/dynamic-type/query
2014s # End of dynamic-type tests
2014s # End of gobject tests
2014s ok - glib/dynamictype.test
2014s # Running test: glib/signals.test
2014s TAP version 14
2014s # random seed: R02S9b7832109a884fe295e296b1ab037ba9
2014s 1..31
2014s # Start of gobject tests
2014s # Start of signals tests
2014s ok 1 /gobject/signals/all-types
2014s ok 2 /gobject/signals/variant
2014s ok 3 /gobject/signals/destroy-target-object
2014s ok 4 /gobject/signals/generic-marshaller-1
2014s ok 5 /gobject/signals/generic-marshaller-2
2014s ok 6 /gobject/signals/generic-marshaller-enum-return-signed
2014s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned
2014s ok 8 /gobject/signals/generic-marshaller-int-return
2014s ok 9 /gobject/signals/generic-marshaller-uint-return
2014s ok 10 /gobject/signals/generic-marshaller-interface-return
2014s ok 11 /gobject/signals/custom-marshaller
2014s ok 12 /gobject/signals/connect
2014s ok 13 /gobject/signals/emission-hook
2014s ok 14 /gobject/signals/emitv
2014s ok 15 /gobject/signals/accumulator
2014s # Signal: accumulator-class-first
2014s # Signal: accumulator-class-last
2014s # Signal: accumulator-class-cleanup
2014s # Signal: accumulator-class-first-last
2014s # Signal: accumulator-class-first-last-cleanup
2014s # Signal: accumulator-class-last-cleanup
2014s ok 16 /gobject/signals/accumulator-class
2014s ok 17 /gobject/signals/introspection
2014s ok 18 /gobject/signals/block-handler
2014s ok 19 /gobject/signals/stop-emission
2014s ok 20 /gobject/signals/invocation-hint
2014s ok 21 /gobject/signals/test-disconnection-wrong-object
2014s ok 22 /gobject/signals/clear-signal-handler
2014s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs.
2014s ok 23 /gobject/signals/lookup
2014s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs.
2014s ok 24 /gobject/signals/parse-name
2014s ok 25 /gobject/signals/is-valid-name
2014s ok 26 /gobject/signals/weak-ref-disconnect
2014s # Start of lookup tests
2014s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name.
2014s ok 27 /gobject/signals/lookup/invalid
2014s # End of lookup tests
2014s # Start of parse-name tests
2014s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs.
2014s # Parser input:
2014s # Parser input: 7zip
2014s # Parser input: invalid:signal
2014s # Parser input: simple-detailed::
2014s # Parser input: simple-detailed:
2014s # Parser input: :
2014s # Parser input: ::
2014s # Parser input: :valid-detail
2014s # Parser input: ::valid-detail
2014s ok 28 /gobject/signals/parse-name/invalid
2014s # End of parse-name tests
2014s # Start of invalid-name tests
2014s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names.
2014s ok 29 /gobject/signals/invalid-name/colon
2014s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names.
2014s ok 30 /gobject/signals/invalid-name/first-char
2014s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names.
2014s ok 31 /gobject/signals/invalid-name/empty
2014s # End of invalid-name tests
2014s # End of signals tests
2014s # End of gobject tests
2014s ok - glib/signals.test
2014s # Running test: glib/async-close-output-stream.test
2014s TAP version 14
2014s # random seed: R02S5a6fbe48e040988d93207526ceee7afa
2014s 1..3
2014s # Start of close-async tests
2014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
2014s ok 1 /close-async/without-flush
2014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
2014s ok 2 /close-async/with-flush
2014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
2014s ok 3 /close-async/with-async-flush
2014s # End of close-async tests
2014s ok - glib/async-close-output-stream.test
2014s # Running test: glib/memory-input-stream.test
2014s TAP version 14
2014s # random seed: R02S74fceee8f8177a9109e2a2af5b38e026
2014s 1..6
2014s # Start of memory-input-stream tests
2014s ok 1 /memory-input-stream/read-chunks
2014s ok 2 /memory-input-stream/async
2014s ok 3 /memory-input-stream/seek
2014s ok 4 /memory-input-stream/truncate
2014s ok 5 /memory-input-stream/read-bytes
2014s ok 6 /memory-input-stream/from-bytes
2014s # End of memory-input-stream tests
2014s ok - glib/memory-input-stream.test
2014s # Running test: glib/type.test
2014s TAP version 14
2014s # random seed: R02Sc9c98a7cb85c0b81be5a99987dcd4913
2014s 1..6
2014s # Start of type tests
2014s ok 1 /type/registration-serial
2014s ok 2 /type/interface-prerequisite
2014s ok 3 /type/interface-check
2014s ok 4 /type/next-base
2014s ok 5 /type/is-a
2014s # Invalid types can?t be queried.
2014s # Unclassed types can?t be queried.
2014s ok 6 /type/query
2014s # End of type tests
2014s ok - glib/type.test
2014s # Running test: glib/utf8-validate.test
2014s TAP version 14
2014s # random seed: R02S6a2add062e83bca02652eab8fff6c3bc
2014s 1..216
2014s # Start of utf8 tests
2014s # Vector 0
2014s # Vector 1
2014s # Vector 2
2014s # Vector 3
2014s # Vector 4
2014s # Vector 5
2014s # Vector 6
2014s # Vector 7
2014s # Vector 8
2014s # Vector 9
2014s # Vector 10
2014s # Vector 11
2014s # Vector 12
2014s # Vector 13
2014s # Vector 14
2014s # Vector 15
2014s # Vector 16
2014s # Vector 17
2014s # Vector 18
2014s # Vector 19
2014s # Vector 20
2014s # Vector 21
2014s # Vector 22
2014s # Vector 23
2014s # Vector 24
2014s # Vector 25
2014s # Vector 26
2014s # Vector 27
2014s ok 1 /utf8/get-char-validated
2014s # Start of validate tests
2014s ok 2 /utf8/validate/0
2014s ok 3 /utf8/validate/1
2014s ok 4 /utf8/validate/2
2014s ok 5 /utf8/validate/3
2014s ok 6 /utf8/validate/4
2014s ok 7 /utf8/validate/5
2014s ok 8 /utf8/validate/6
2014s ok 9 /utf8/validate/7
2014s ok 10 /utf8/validate/8
2014s ok 11 /utf8/validate/9
2014s ok 12 /utf8/validate/10
2014s ok 13 /utf8/validate/11
2014s ok 14 /utf8/validate/12
2014s ok 15 /utf8/validate/13
2014s ok 16 /utf8/validate/14
2014s ok 17 /utf8/validate/15
2014s ok 18 /utf8/validate/16
2014s ok 19 /utf8/validate/17
2014s ok 20 /utf8/validate/18
2014s ok 21 /utf8/validate/19
2014s ok 22 /utf8/validate/20
2014s ok 23 /utf8/validate/21
2014s ok 24 /utf8/validate/22
2014s ok 25 /utf8/validate/23
2014s ok 26 /utf8/validate/24
2014s ok 27 /utf8/validate/25
2014s ok 28 /utf8/validate/26
2014s ok 29 /utf8/validate/27
2014s ok 30 /utf8/validate/28
2014s ok 31 /utf8/validate/29
2014s ok 32 /utf8/validate/30
2014s ok 33 /utf8/validate/31
2014s ok 34 /utf8/validate/32
2014s ok 35 /utf8/validate/33
2014s ok 36 /utf8/validate/34
2014s ok 37 /utf8/validate/35
2014s ok 38 /utf8/validate/36
2014s ok 39 /utf8/validate/37
2014s ok 40 /utf8/validate/38
2014s ok 41 /utf8/validate/39
2014s ok 42 /utf8/validate/40
2014s ok 43 /utf8/validate/41
2014s ok 44 /utf8/validate/42
2014s ok 45 /utf8/validate/43
2014s ok 46 /utf8/validate/44
2014s ok 47 /utf8/validate/45
2014s ok 48 /utf8/validate/46
2014s ok 49 /utf8/validate/47
2014s ok 50 /utf8/validate/48
2014s ok 51 /utf8/validate/49
2014s ok 52 /utf8/validate/50
2014s ok 53 /utf8/validate/51
2014s ok 54 /utf8/validate/52
2014s ok 55 /utf8/validate/53
2014s ok 56 /utf8/validate/54
2014s ok 57 /utf8/validate/55
2014s ok 58 /utf8/validate/56
2014s ok 59 /utf8/validate/57
2014s ok 60 /utf8/validate/58
2014s ok 61 /utf8/validate/59
2014s ok 62 /utf8/validate/60
2014s ok 63 /utf8/validate/61
2014s ok 64 /utf8/validate/62
2014s ok 65 /utf8/validate/63
2014s ok 66 /utf8/validate/64
2014s ok 67 /utf8/validate/65
2014s ok 68 /utf8/validate/66
2014s ok 69 /utf8/validate/67
2014s ok 70 /utf8/validate/68
2014s ok 71 /utf8/validate/69
2014s ok 72 /utf8/validate/70
2014s ok 73 /utf8/validate/71
2014s ok 74 /utf8/validate/72
2014s ok 75 /utf8/validate/73
2014s ok 76 /utf8/validate/74
2014s ok 77 /utf8/validate/75
2014s ok 78 /utf8/validate/76
2014s ok 79 /utf8/validate/77
2014s ok 80 /utf8/validate/78
2014s ok 81 /utf8/validate/79
2014s ok 82 /utf8/validate/80
2014s ok 83 /utf8/validate/81
2014s ok 84 /utf8/validate/82
2014s ok 85 /utf8/validate/83
2014s ok 86 /utf8/validate/84
2014s ok 87 /utf8/validate/85
2014s ok 88 /utf8/validate/86
2014s ok 89 /utf8/validate/87
2014s ok 90 /utf8/validate/88
2014s ok 91 /utf8/validate/89
2014s ok 92 /utf8/validate/90
2014s ok 93 /utf8/validate/91
2014s ok 94 /utf8/validate/92
2014s ok 95 /utf8/validate/93
2014s ok 96 /utf8/validate/94
2014s ok 97 /utf8/validate/95
2014s ok 98 /utf8/validate/96
2014s ok 99 /utf8/validate/97
2014s ok 100 /utf8/validate/98
2014s ok 101 /utf8/validate/99
2014s ok 102 /utf8/validate/100
2014s ok 103 /utf8/validate/101
2014s ok 104 /utf8/validate/102
2014s ok 105 /utf8/validate/103
2014s ok 106 /utf8/validate/104
2014s ok 107 /utf8/validate/105
2014s ok 108 /utf8/validate/106
2014s ok 109 /utf8/validate/107
2014s ok 110 /utf8/validate/108
2014s ok 111 /utf8/validate/109
2014s ok 112 /utf8/validate/110
2014s ok 113 /utf8/validate/111
2014s ok 114 /utf8/validate/112
2014s ok 115 /utf8/validate/113
2014s ok 116 /utf8/validate/114
2014s ok 117 /utf8/validate/115
2014s ok 118 /utf8/validate/116
2014s ok 119 /utf8/validate/117
2014s ok 120 /utf8/validate/118
2014s ok 121 /utf8/validate/119
2014s ok 122 /utf8/validate/120
2014s ok 123 /utf8/validate/121
2014s ok 124 /utf8/validate/122
2014s ok 125 /utf8/validate/123
2014s ok 126 /utf8/validate/124
2014s ok 127 /utf8/validate/125
2014s ok 128 /utf8/validate/126
2014s ok 129 /utf8/validate/127
2014s ok 130 /utf8/validate/128
2014s ok 131 /utf8/validate/129
2014s ok 132 /utf8/validate/130
2014s ok 133 /utf8/validate/131
2014s ok 134 /utf8/validate/132
2014s ok 135 /utf8/validate/133
2014s ok 136 /utf8/validate/134
2014s ok 137 /utf8/validate/135
2014s ok 138 /utf8/validate/136
2014s ok 139 /utf8/validate/137
2014s ok 140 /utf8/validate/138
2014s ok 141 /utf8/validate/139
2014s ok 142 /utf8/validate/140
2014s ok 143 /utf8/validate/141
2014s ok 144 /utf8/validate/142
2014s ok 145 /utf8/validate/143
2014s ok 146 /utf8/validate/144
2014s ok 147 /utf8/validate/145
2014s ok 148 /utf8/validate/146
2014s ok 149 /utf8/validate/147
2014s ok 150 /utf8/validate/148
2014s ok 151 /utf8/validate/149
2014s ok 152 /utf8/validate/150
2014s ok 153 /utf8/validate/151
2014s ok 154 /utf8/validate/152
2014s ok 155 /utf8/validate/153
2014s ok 156 /utf8/validate/154
2014s ok 157 /utf8/validate/155
2014s ok 158 /utf8/validate/156
2014s ok 159 /utf8/validate/157
2014s ok 160 /utf8/validate/158
2014s ok 161 /utf8/validate/159
2014s ok 162 /utf8/validate/160
2014s ok 163 /utf8/validate/161
2014s ok 164 /utf8/validate/162
2014s ok 165 /utf8/validate/163
2014s ok 166 /utf8/validate/164
2014s ok 167 /utf8/validate/165
2014s ok 168 /utf8/validate/166
2014s ok 169 /utf8/validate/167
2014s ok 170 /utf8/validate/168
2014s ok 171 /utf8/validate/169
2014s ok 172 /utf8/validate/170
2014s ok 173 /utf8/validate/171
2014s ok 174 /utf8/validate/172
2014s ok 175 /utf8/validate/173
2014s ok 176 /utf8/validate/174
2014s ok 177 /utf8/validate/175
2014s ok 178 /utf8/validate/176
2014s ok 179 /utf8/validate/177
2014s ok 180 /utf8/validate/178
2014s ok 181 /utf8/validate/179
2014s ok 182 /utf8/validate/180
2014s ok 183 /utf8/validate/181
2014s ok 184 /utf8/validate/182
2014s ok 185 /utf8/validate/183
2014s ok 186 /utf8/validate/184
2014s ok 187 /utf8/validate/185
2014s ok 188 /utf8/validate/186
2014s ok 189 /utf8/validate/187
2014s ok 190 /utf8/validate/188
2014s ok 191 /utf8/validate/189
2014s ok 192 /utf8/validate/190
2014s ok 193 /utf8/validate/191
2014s ok 194 /utf8/validate/192
2014s ok 195 /utf8/validate/193
2014s ok 196 /utf8/validate/194
2014s ok 197 /utf8/validate/195
2014s ok 198 /utf8/validate/196
2014s ok 199 /utf8/validate/197
2014s ok 200 /utf8/validate/198
2014s ok 201 /utf8/validate/199
2014s ok 202 /utf8/validate/200
2014s ok 203 /utf8/validate/201
2014s ok 204 /utf8/validate/202
2014s ok 205 /utf8/validate/203
2014s ok 206 /utf8/validate/204
2014s ok 207 /utf8/validate/205
2014s ok 208 /utf8/validate/206
2014s ok 209 /utf8/validate/207
2014s ok 210 /utf8/validate/208
2014s ok 211 /utf8/validate/209
2014s ok 212 /utf8/validate/210
2014s ok 213 /utf8/validate/211
2014s ok 214 /utf8/validate/212
2014s ok 215 /utf8/validate/213
2014s ok 216 /utf8/validate/214
2014s # End of validate tests
2014s # End of utf8 tests
2014s ok - glib/utf8-validate.test
2014s # Running test: glib/gdbus-proxy-threads.test
2014s TAP version 14
2014s # random seed: R02S73c3bc22341c50f1e1440d44fe966453
2014s 1..1
2014s # Start of gdbus tests
2014s # Start of proxy tests
2014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/home
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/cache
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/system-config2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/config
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/system-data2
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/data
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/state
2014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_AA8UX2/gdbus/proxy/vs-threads/.dirs/runtime
2014s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2016s ok 1 /gdbus/proxy/vs-threads
2016s # slow test /gdbus/proxy/vs-threads executed in 1.55 secs
2016s # End of proxy tests
2016s # End of gdbus tests
2016s cleaning up pid 11080
2016s ok - glib/gdbus-proxy-threads.test
2016s # Running test: glib/network-address.test
2016s TAP version 14
2016s # random seed: R02S607249a47811df738b2211ae222a4f2b
2016s 1..72
2016s # Start of network-address tests
2016s ok 1 /network-address/basic
2016s ok 2 /network-address/scope-id
2016s ok 3 /network-address/uri-scope-id
2016s ok 4 /network-address/to-string
2016s # Start of parse-host tests
2016s ok 5 /network-address/parse-host/0
2016s ok 6 /network-address/parse-host/1
2016s ok 7 /network-address/parse-host/2
2016s ok 8 /network-address/parse-host/3
2016s ok 9 /network-address/parse-host/4
2016s ok 10 /network-address/parse-host/5
2016s ok 11 /network-address/parse-host/6
2016s ok 12 /network-address/parse-host/7
2016s ok 13 /network-address/parse-host/8
2016s ok 14 /network-address/parse-host/9
2016s ok 15 /network-address/parse-host/10
2016s ok 16 /network-address/parse-host/11
2016s ok 17 /network-address/parse-host/12
2016s ok 18 /network-address/parse-host/13
2016s # End of parse-host tests
2016s # Start of parse-uri tests
2016s ok 19 /network-address/parse-uri/0
2016s ok 20 /network-address/parse-uri/1
2016s ok 21 /network-address/parse-uri/2
2016s ok 22 /network-address/parse-uri/3
2016s ok 23 /network-address/parse-uri/4
2016s ok 24 /network-address/parse-uri/5
2016s ok 25 /network-address/parse-uri/6
2016s ok 26 /network-address/parse-uri/7
2016s ok 27 /network-address/parse-uri/8
2016s ok 28 /network-address/parse-uri/9
2016s # End of parse-uri tests
2016s # Start of resolve-address tests
2016s # Input: 192.168.1.2
2016s ok 29 /network-address/resolve-address/0
2016s # Input: fe80::42
2016s ok 30 /network-address/resolve-address/1
2016s # Input: 192.168.1.2:80
2016s ok 31 /network-address/resolve-address/2
2016s # Input: [fe80::42]
2016s ok 32 /network-address/resolve-address/3
2016s # Input: [fe80::42]:80
2016s ok 33 /network-address/resolve-address/4
2016s # Input: 192.168.258
2016s ok 34 /network-address/resolve-address/5
2016s # Input: 192.11010306
2016s ok 35 /network-address/resolve-address/6
2016s # Input: 3232235778
2016s ok 36 /network-address/resolve-address/7
2016s # Input: 0300.0250.0001.0001
2016s ok 37 /network-address/resolve-address/8
2016s # Input: 0xC0.0xA8.0x01.0x02
2016s ok 38 /network-address/resolve-address/9
2016s # Input: 0xc0.0xa8.0x01.0x02
2016s ok 39 /network-address/resolve-address/10
2016s # Input: 0xc0a80102
2016s ok 40 /network-address/resolve-address/11
2016s # End of resolve-address tests
2016s # Start of loopback tests
2016s ok 41 /network-address/loopback/basic
2016s ok 42 /network-address/loopback/sync
2016s ok 43 /network-address/loopback/async
2016s # End of loopback tests
2016s # Start of localhost tests
2016s ok 44 /network-address/localhost/async
2016s ok 45 /network-address/localhost/sync
2016s # End of localhost tests
2016s # Start of happy-eyeballs tests
2016s ok 46 /network-address/happy-eyeballs/basic
2016s ok 47 /network-address/happy-eyeballs/parallel
2016s ok 48 /network-address/happy-eyeballs/slow-ipv4
2016s ok 49 /network-address/happy-eyeballs/slow-ipv6
2016s ok 50 /network-address/happy-eyeballs/very-slow-ipv6
2016s # Executing: glib/network-address.test
2017s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4
2017s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs
2017s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
2017s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first
2017s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
2017s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first
2017s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865
2017s # /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.
2017s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
2017s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow
2017s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
2017s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first
2017s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
2017s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first
2017s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
2017s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
2017s ok 57 /network-address/happy-eyeballs/both-error
2017s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
2017s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
2017s ok 58 /network-address/happy-eyeballs/both-error-delays-1
2017s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
2017s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
2017s ok 59 /network-address/happy-eyeballs/both-error-delays-2
2017s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
2017s ok 60 /network-address/happy-eyeballs/both-error-delays-3
2017s # End of happy-eyeballs tests
2017s # End of network-address tests
2017s # Start of gresolver tests
2017s # Start of resolve-address tests
2017s # Input: 192.168.1.2
2017s ok 61 /gresolver/resolve-address/0
2017s # Input: fe80::42
2017s ok 62 /gresolver/resolve-address/1
2017s # Input: 192.168.1.2:80
2017s # Error: Error resolving ?192.168.1.2:80?: Name or service not known
2017s ok 63 /gresolver/resolve-address/2
2017s # Input: [fe80::42]
2017s # Error: Error resolving ?[fe80::42]?: Name or service not known
2017s ok 64 /gresolver/resolve-address/3
2017s # Input: [fe80::42]:80
2017s # Error: Error resolving ?[fe80::42]:80?: Name or service not known
2017s ok 65 /gresolver/resolve-address/4
2017s # Input: 192.168.258
2017s # Error: Error resolving ?192.168.258?: Name or service not known
2017s ok 66 /gresolver/resolve-address/5
2017s # Input: 192.11010306
2017s # Error: Error resolving ?192.11010306?: Name or service not known
2017s ok 67 /gresolver/resolve-address/6
2017s # Input: 3232235778
2017s # Error: Error resolving ?3232235778?: Name or service not known
2017s ok 68 /gresolver/resolve-address/7
2017s # Input: 0300.0250.0001.0001
2017s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known
2017s ok 69 /gresolver/resolve-address/8
2017s # Input: 0xC0.0xA8.0x01.0x02
2017s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known
2017s ok 70 /gresolver/resolve-address/9
2017s # Input: 0xc0.0xa8.0x01.0x02
2017s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known
2017s ok 71 /gresolver/resolve-address/10
2017s # Input: 0xc0a80102
2017s # Error: Error resolving ?0xc0a80102?: Name or service not known
2017s ok 72 /gresolver/resolve-address/11
2017s # End of resolve-address tests
2017s # End of gresolver tests
2017s ok - glib/network-address.test
2017s # Running test: glib/performance-threaded.test
2017s Running test "liststore-is-a"
2018s 6968 runs, min/avg/max = 0.139/0.143/5.621 ms
2018s Running test "liststore-interface-peek"
2019s 8795 runs, min/avg/max = 0.110/0.113/5.326 ms
2019s Running test "liststore-interface-peek-same"
2020s 8790 runs, min/avg/max = 0.110/0.113/5.732 ms
2020s ok - glib/performance-threaded.test
2020s # Running test: glib/mem-overflow.test
2020s TAP version 14
2020s # random seed: R02S7deda4a763f30c37a1f5f11b01d17ea0
2020s 1..2
2020s # Start of mem tests
2020s ok 1 /mem/overflow
2020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379
2020s ok 2 /mem/empty-alloc
2020s # Start of overflow tests
2020s # Start of subprocess tests
2020s # End of subprocess tests
2020s # End of overflow tests
2020s # Start of empty-alloc tests
2020s # End of empty-alloc tests
2020s # End of mem tests
2020s ok - glib/mem-overflow.test
2020s # Running test: glib/scannerapi.test
2020s TAP version 14
2020s # random seed: R02S9be2a3451964441c5af161c1e68fa46f
2020s 1..4
2020s # Start of scanner tests
2020s ok 1 /scanner/warn
2020s ok 2 /scanner/error
2020s ok 3 /scanner/symbols
2020s ok 4 /scanner/tokens
2020s # End of scanner tests
2020s ok - glib/scannerapi.test
2020s # Running test: glib/io-channel.test
2020s TAP version 14
2020s # random seed: R02S9860f6fcf2ccf67ca618d41e5f987dc6
2020s 1..2
2020s # Start of io-channel tests
2020s # Line one
2020s #
2020s # Line two
2020s #
2020s # Line three
2020s #
2020s # /* Hello */
2020s #
2020s # \x1234\x567890\x6666
2020s #
2020s # read 62 bytes, wrote 62 bytes
2020s ok 1 /io-channel/read-write
2020s # Start of read-line tests
2020s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators.
2020s ok 2 /io-channel/read-line/embedded-nuls
2020s # End of read-line tests
2020s # End of io-channel tests
2020s ok - glib/io-channel.test
2020s # Running test: glib/properties-refcount4.test
2020s TAP version 14
2020s # random seed: R02Se497b383fdc61e5e82ca08f88003efa2
2020s 1..1
2020s # Start of gobject tests
2020s # Start of refcount tests
2020s ok 1 /gobject/refcount/properties-4
2020s # End of refcount tests
2020s # End of gobject tests
2020s ok - glib/properties-refcount4.test
2020s # Running test: glib/signalgroup.test
2020s TAP version 14
2020s # random seed: R02Sb3766e4d9a5a5f6c719c5535eb0c76a5
2020s 1..9
2020s # Start of GObject tests
2020s # Start of SignalGroup tests
2020s ok 1 /GObject/SignalGroup/invalid
2020s ok 2 /GObject/SignalGroup/simple
2020s ok 3 /GObject/SignalGroup/changing-target
2020s ok 4 /GObject/SignalGroup/blocking
2020s ok 5 /GObject/SignalGroup/weak-ref-target
2020s ok 6 /GObject/SignalGroup/connect-object
2020s ok 7 /GObject/SignalGroup/signal-parsing
2020s ok 8 /GObject/SignalGroup/properties
2020s ok 9 /GObject/SignalGroup/interface
2020s # Start of signal-parsing tests
2020s # End of signal-parsing tests
2020s # End of SignalGroup tests
2020s # End of GObject tests
2020s ok - glib/signalgroup.test
2020s # Running test: glib/fileattributematcher.test
2020s TAP version 14
2020s # random seed: R02Sbb3184904b1020e62920e6c4aecd5f07
2020s 1..3
2020s # Start of fileattributematcher tests
2020s ok 1 /fileattributematcher/exact
2020s ok 2 /fileattributematcher/equality
2020s ok 3 /fileattributematcher/subtract
2020s # End of fileattributematcher tests
2020s ok - glib/fileattributematcher.test
2020s # Running test: glib/basic-signals.test
2020s TAP version 14
2020s # random seed: R02S7f67ddb03920b312e3d7f24dccf9577f
2020s 1..1
2020s # Start of gobject tests
2020s ok 1 /gobject/basic-signals
2020s # End of gobject tests
2020s ok - glib/basic-signals.test
2020s # Running test: glib/gnotification.test
2020s TAP version 14
2020s # random seed: R02S208f55cafe86cd37160678ae46066442
2020s 1..2
2020s # Start of gnotification tests
2020s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2020s ok 1 /gnotification/basic
2020s ok 2 /gnotification/properties
2020s # End of gnotification tests
2020s ok - glib/gnotification.test
2020s # Running test: glib/simple-async-result.test
2020s TAP version 14
2020s # random seed: R02S0426fef8dc4634808a51fce1f82f443c
2020s 1..2
2020s # Start of gio tests
2020s # Start of simple-async-result tests
2020s ok 1 /gio/simple-async-result/test
2020s # GLib-GIO-DEBUG: GTask 0x73db218 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
2020s ok 2 /gio/simple-async-result/valid
2020s # End of simple-async-result tests
2020s # End of gio tests
2020s ok - glib/simple-async-result.test
2020s # Running test: glib/unix.test
2020s TAP version 14
2020s # random seed: R02S815b8c456f66e8833309d34dc5728d9e
2020s 1..20
2020s # Start of glib-unix tests
2020s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec()
2020s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247
2020s ok 1 /glib-unix/closefrom
2020s ok 2 /glib-unix/pipe
2020s # /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
2020s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795
2020s ok 3 /glib-unix/pipe-stdio-overwrite
2020s # /glib-unix/pipe-struct summary: Test GUnixPipe structure
2020s ok 4 /glib-unix/pipe-struct
2020s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe)
2020s ok 5 /glib-unix/pipe-struct-auto
2020s ok 6 /glib-unix/error
2020s ok 7 /glib-unix/nonblocking
2021s ok 8 /glib-unix/sighup
2021s # slow test /glib-unix/sighup executed in 0.50 secs
2021s ok 9 /glib-unix/sigterm
2021s # slow test /glib-unix/sigterm executed in 0.50 secs
2021s # Executing: glib/unix.test
2022s ok 10 /glib-unix/sighup_again
2022s # slow test /glib-unix/sighup_again executed in 0.50 secs
2022s ok 11 /glib-unix/sighup_add_remove
2022s ok 12 /glib-unix/sighup_nested
2024s ok 13 /glib-unix/callback_after_signal
2024s # slow test /glib-unix/callback_after_signal executed in 2.00 secs
2024s ok 14 /glib-unix/child-wait
2024s # Start of closefrom tests
2024s # Start of subprocess tests
2024s # End of subprocess tests
2024s # End of closefrom tests
2024s # Start of pipe tests
2024s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe()
2024s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459
2024s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
2024s ok 15 /glib-unix/pipe/fd-cloexec
2024s # End of pipe tests
2024s # Start of sighup tests
2025s ok 16 /glib-unix/sighup/alternate-stack
2025s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs
2025s # End of sighup tests
2025s # Start of sigterm tests
2026s ok 17 /glib-unix/sigterm/alternate-stack
2026s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs
2026s # End of sigterm tests
2026s # Start of sighup_again tests
2026s # Executing: glib/unix.test
2027s ok 18 /glib-unix/sighup_again/alternate-stack
2027s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs
2027s # End of sighup_again tests
2027s # Start of get-passwd-entry tests
2027s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username.
2027s ok 19 /glib-unix/get-passwd-entry/root
2027s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username.
2027s ok 20 /glib-unix/get-passwd-entry/nonexistent
2027s # End of get-passwd-entry tests
2027s # End of glib-unix tests
2027s ok - glib/unix.test
2027s # Running test: glib/gdbus-bz627724.test
2027s TAP version 14
2027s # random seed: R02S13d9a46335e4d52d0bab77acfa107e95
2027s 1..1
2027s # Start of gdbus tests
2027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/home
2027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/cache
2027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/system-config2
2027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/config
2027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/system-data2
2027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/data
2027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/state
2027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_NDLZX2/gdbus/bz627724/.dirs/runtime
2027s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2027s ok 1 /gdbus/bz627724
2027s # End of gdbus tests
2027s ok - glib/gdbus-bz627724.test
2027s # Running test: glib/utf8-pointer.test
2027s TAP version 14
2027s # random seed: R02S487bd7db5d4ae69d51eec76d4df51cde
2027s 1..3
2027s # Start of utf8 tests
2028s ok 1 /utf8/offsets
2028s # slow test /utf8/offsets executed in 1.00 secs
2028s ok 2 /utf8/lengths
2028s ok 3 /utf8/find
2028s # End of utf8 tests
2028s ok - glib/utf8-pointer.test
2028s # Running test: glib/markup-collect.test
2028s TAP version 14
2028s # random seed: R02Se9841e570271249a86994469a34d7230
2028s 1..21
2028s # Start of markup tests
2028s # Start of collect tests
2028s ok 1 /markup/collect/0
2028s ok 2 /markup/collect/1
2028s ok 3 /markup/collect/2
2028s ok 4 /markup/collect/3
2028s ok 5 /markup/collect/4
2028s ok 6 /markup/collect/5
2028s ok 7 /markup/collect/6
2028s ok 8 /markup/collect/7
2028s ok 9 /markup/collect/8
2028s ok 10 /markup/collect/9
2028s ok 11 /markup/collect/10
2028s ok 12 /markup/collect/11
2028s ok 13 /markup/collect/12
2028s ok 14 /markup/collect/13
2028s ok 15 /markup/collect/14
2028s ok 16 /markup/collect/15
2028s ok 17 /markup/collect/16
2028s ok 18 /markup/collect/17
2028s ok 19 /markup/collect/18
2028s ok 20 /markup/collect/19
2028s ok 21 /markup/collect/cleanup
2028s # End of collect tests
2028s # End of markup tests
2028s ok - glib/markup-collect.test
2028s # Running test: glib/unicode-normalize.test
2028s TAP version 14
2028s # random seed: R02S00b07ab57ba3d3a86a780765f971ce76
2028s 1..3
2028s # Start of unicode tests
2028s # Processing Part0 # Specific cases
2028s # Processing Part1 # Character by character test
2028s # Processing Part2 # Canonical Order Test
2028s # Processing Part3 # PRI #29 Test
2028s ok 1 /unicode/normalize
2028s # Invalid UTF-8 vector 0
2028s # Invalid UTF-8 vector 1
2028s # Invalid UTF-8 vector 2
2028s # Invalid UTF-8 vector 3
2028s # Invalid UTF-8 vector 4
2028s # Invalid UTF-8 vector 5
2028s # Invalid UTF-8 vector 6
2028s # Invalid UTF-8 vector 7
2028s # Invalid UTF-8 vector 8
2028s # Invalid UTF-8 vector 9
2028s # Invalid UTF-8 vector 10
2028s # Invalid UTF-8 vector 11
2028s # Invalid UTF-8 vector 12
2028s ok 2 /unicode/normalize-invalid
2028s # Start of normalize tests
2028s ok 3 /unicode/normalize/bad-length
2028s # End of normalize tests
2028s # End of unicode tests
2028s ok - glib/unicode-normalize.test
2028s # Running test: glib/gdbus-test-codegen.test
2028s TAP version 14
2028s # random seed: R02Sed060f5721744b7a5b96ea09099dca51
2028s 1..8
2028s # Start of gdbus tests
2028s # Start of codegen tests
2028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/home
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/cache
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/system-config2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/config
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/system-data2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/data
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/state
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/annotations/.dirs/runtime
2028s ok 1 /gdbus/codegen/annotations
2028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/home
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/cache
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/system-config2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/config
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/system-data2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/data
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/state
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/interface_stability/.dirs/runtime
2028s ok 2 /gdbus/codegen/interface_stability
2028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/home
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/cache
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/system-config2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/config
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/system-data2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/data
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/state
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/object-manager/.dirs/runtime
2028s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2028s ok 3 /gdbus/codegen/object-manager
2028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/home
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/cache
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/system-config2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/config
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/system-data2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/data
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/state
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/property-naming/.dirs/runtime
2028s ok 4 /gdbus/codegen/property-naming
2028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/home
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/cache
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/system-config2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/config
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/system-data2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/data
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/state
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/autocleanups/.dirs/runtime
2028s ok 5 /gdbus/codegen/autocleanups
2028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/home
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/cache
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/system-config2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/config
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/system-data2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/data
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/state
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/deprecations/.dirs/runtime
2028s ok 6 /gdbus/codegen/deprecations
2028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/home
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/cache
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/config
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/data
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/state
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/standalone-interface-info/.dirs/runtime
2028s ok 7 /gdbus/codegen/standalone-interface-info
2028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/home
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/cache
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/system-config2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/config
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/system-data2
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/data
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/state
2028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_0IFUX2/gdbus/codegen/unix-fd-list/.dirs/runtime
2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
2028s ok 8 /gdbus/codegen/unix-fd-list
2028s # End of codegen tests
2028s # End of gdbus tests
2028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2028s ok - glib/gdbus-test-codegen.test
2028s # Running test: glib/gsubprocess.test
2028s TAP version 14
2028s # random seed: R02S263a42129f64cfc0863caba7015fa565
2028s 1..83
2028s # Start of gsubprocess tests
2028s ok 1 /gsubprocess/noop
2028s ok 2 /gsubprocess/noop-all-to-null
2028s ok 3 /gsubprocess/noop-no-wait
2028s ok 4 /gsubprocess/noop-stdin-inherit
2028s ok 5 /gsubprocess/search-path
2028s ok 6 /gsubprocess/search-path-from-envp
2031s # Executing: glib/gsubprocess.test
2031s ok 7 /gsubprocess/signal
2031s # slow test /gsubprocess/signal executed in 3.23 secs
2031s ok 8 /gsubprocess/exit1
2031s ok 9 /gsubprocess/echo1
2031s ok 10 /gsubprocess/echo-merged
2031s ok 11 /gsubprocess/cat-utf8
2032s ok 12 /gsubprocess/cat-eof
2032s # slow test /gsubprocess/cat-eof executed in 1.00 secs
2036s ok 13 /gsubprocess/multi1
2036s # slow test /gsubprocess/multi1 executed in 3.01 secs
2036s ok 14 /gsubprocess/communicate
2036s # Executing: glib/gsubprocess.test
2038s ok 15 /gsubprocess/terminate
2038s # slow test /gsubprocess/terminate executed in 2.97 secs
2038s ok 16 /gsubprocess/env
2038s ok 17 /gsubprocess/cwd
2038s ok 18 /gsubprocess/launcher-close
2038s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2038s ok 19 /gsubprocess/stdout-file
2038s ok 20 /gsubprocess/stdout-fd
2038s ok 21 /gsubprocess/child-setup
2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2039s ok 22 /gsubprocess/launcher-environment
2039s # Start of exit1 tests
2039s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
2039s ok 23 /gsubprocess/exit1/cancel
2039s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
2039s ok 24 /gsubprocess/exit1/cancel_in_cb
2039s # End of exit1 tests
2039s # Start of communicate tests
2039s ok 25 /gsubprocess/communicate/cancelled
2039s ok 26 /gsubprocess/communicate/async
2039s ok 27 /gsubprocess/communicate/utf8
2039s # hello world
2039s ok 28 /gsubprocess/communicate/no-pipes
2039s ok 29 /gsubprocess/communicate/separate-stderr
2039s ok 30 /gsubprocess/communicate/stdout-only
2039s # hello world
2039s ok 31 /gsubprocess/communicate/stderr-only
2039s ok 32 /gsubprocess/communicate/stdout-silence
2039s ok 33 /gsubprocess/communicate/nothing
2039s # Start of async tests
2039s ok 34 /gsubprocess/communicate/async/cancelled
2039s # hello world
2039s ok 35 /gsubprocess/communicate/async/no-pipes
2039s ok 36 /gsubprocess/communicate/async/separate-stderr
2039s ok 37 /gsubprocess/communicate/async/stdout-only
2039s # hello world
2039s ok 38 /gsubprocess/communicate/async/stderr-only
2039s ok 39 /gsubprocess/communicate/async/stdout-silence
2039s # Start of cancelled tests
2039s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes
2039s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr
2039s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only
2039s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only
2039s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence
2039s # End of cancelled tests
2039s # End of async tests
2039s # Start of utf8 tests
2039s ok 45 /gsubprocess/communicate/utf8/cancelled
2039s ok 46 /gsubprocess/communicate/utf8/async
2039s # hello world
2039s ok 47 /gsubprocess/communicate/utf8/no-pipes
2039s ok 48 /gsubprocess/communicate/utf8/separate-stderr
2039s ok 49 /gsubprocess/communicate/utf8/stdout-only
2039s # hello world
2039s ok 50 /gsubprocess/communicate/utf8/stderr-only
2039s ok 51 /gsubprocess/communicate/utf8/stdout-silence
2039s ok 52 /gsubprocess/communicate/utf8/invalid
2039s # Start of async tests
2039s ok 53 /gsubprocess/communicate/utf8/async/cancelled
2039s # hello world
2039s ok 54 /gsubprocess/communicate/utf8/async/no-pipes
2039s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr
2039s ok 56 /gsubprocess/communicate/utf8/async/stdout-only
2039s # hello world
2039s ok 57 /gsubprocess/communicate/utf8/async/stderr-only
2039s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence
2039s ok 59 /gsubprocess/communicate/utf8/async/invalid
2039s # Start of cancelled tests
2039s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes
2039s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr
2039s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only
2039s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only
2039s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence
2039s # End of cancelled tests
2039s # End of async tests
2039s # Start of cancelled tests
2039s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes
2039s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr
2039s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only
2039s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only
2039s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence
2039s # End of cancelled tests
2039s # End of utf8 tests
2039s # Start of cancelled tests
2039s ok 70 /gsubprocess/communicate/cancelled/no-pipes
2039s ok 71 /gsubprocess/communicate/cancelled/separate-stderr
2039s ok 72 /gsubprocess/communicate/cancelled/stdout-only
2039s ok 73 /gsubprocess/communicate/cancelled/stderr-only
2039s ok 74 /gsubprocess/communicate/cancelled/stdout-silence
2039s # End of cancelled tests
2039s # End of communicate tests
2039s # Start of env tests
2039s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2039s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2039s ok 75 /gsubprocess/env/inherit
2039s # End of env tests
2039s # Start of pass-fd tests
2039s ok 76 /gsubprocess/pass-fd/basic
2039s ok 77 /gsubprocess/pass-fd/empty-child-setup
2039s ok 78 /gsubprocess/pass-fd/inherit-fds
2039s # End of pass-fd tests
2039s # Start of fd-conflation tests
2039s ok 79 /gsubprocess/fd-conflation/basic
2039s ok 80 /gsubprocess/fd-conflation/empty-child-setup
2039s ok 81 /gsubprocess/fd-conflation/inherit-fds
2039s ok 82 /gsubprocess/fd-conflation/child-err-report-fd
2039s # End of fd-conflation tests
2039s # Start of exit-status tests
2039s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes
2039s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433
2039s ok 83 /gsubprocess/exit-status/trapped
2039s # End of exit-status tests
2039s # End of gsubprocess tests
2039s ok - glib/gsubprocess.test
2039s # Running test: glib/autoptr-gio.test
2039s TAP version 14
2039s # random seed: R02Sd1c94bb0d6a5392939ea248ac726ff60
2039s 1..1
2039s # Start of autoptr tests
2039s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2039s ok 1 /autoptr/autoptr
2039s # End of autoptr tests
2039s ok - glib/autoptr-gio.test
2039s # Running test: glib/gdbus-error.test
2039s TAP version 14
2039s # random seed: R02S1971ab4505f324a8ccf2789d77a07d9b
2039s 1..4
2039s # Start of gdbus tests
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JHG5X2/gdbus/registered-errors/.dirs/runtime
2039s ok 1 /gdbus/registered-errors
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JHG5X2/gdbus/unregistered-errors/.dirs/runtime
2039s ok 2 /gdbus/unregistered-errors
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JHG5X2/gdbus/transparent-gerror/.dirs/runtime
2039s ok 3 /gdbus/transparent-gerror
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JHG5X2/gdbus/register-error/.dirs/runtime
2039s ok 4 /gdbus/register-error
2039s # End of gdbus tests
2039s ok - glib/gdbus-error.test
2039s # Running test: glib/file-thumbnail.test
2039s TAP version 14
2039s # random seed: R02Sa213f6604e9815307b4cb0024ceac2bd
2039s 1..7
2039s # Start of file-thumbnail tests
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/runtime
2039s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
2039s ok 1 /file-thumbnail/fail
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/runtime
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
2039s ok 2 /file-thumbnail/size-priority
2039s # Start of valid tests
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/runtime
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
2039s ok 3 /file-thumbnail/valid/normal
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/runtime
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
2039s ok 4 /file-thumbnail/valid/large
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/runtime
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
2039s ok 5 /file-thumbnail/valid/x-large
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/runtime
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
2039s ok 6 /file-thumbnail/valid/xx-large
2039s # End of valid tests
2039s # Start of unknown tests
2039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/home
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/cache
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/system-config2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/config
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/system-data2
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/data
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/state
2039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/runtime
2039s # Created test thumbnail at /tmp/test_file-thumbnail_GKC5X2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png
2039s ok 7 /file-thumbnail/unknown/super-large
2039s # End of unknown tests
2039s # End of file-thumbnail tests
2039s ok - glib/file-thumbnail.test
2039s # Running test: glib/date.test
2039s TAP version 14
2039s # random seed: R02S70833a32e463a5982538bf1f05040a1e
2039s 1..121
2039s # Start of date tests
2039s ok 1 /date/basic
2039s ok 2 /date/empty
2039s ok 3 /date/dmy
2039s ok 4 /date/julian
2039s ok 5 /date/compare
2039s ok 6 /date/dates
2039s ok 7 /date/strftime
2039s ok 8 /date/two-digit-years
2039s ok 9 /date/parse
2039s ok 10 /date/parse_locale_change # SKIP locale th_TH not available
2039s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550
2039s ok 11 /date/month_substring
2039s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206
2039s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names
2039s ok 13 /date/clamp
2039s ok 14 /date/order
2039s ok 15 /date/copy
2039s # Vector 0: 0000-00-00, invalid
2039s # Vector 1: 0001-01-01, valid
2039s # Vector 2: 0000-01-01, invalid
2039s # Vector 3: 2000-02-30, invalid
2039s # Vector 4: 2000-02-29, valid
2039s # Vector 5: 2001-02-29, invalid
2039s # Vector 6: 65535-01-01, valid
2039s ok 16 /date/valid-dmy
2039s # Start of parse tests
2039s # Test 0
2039s # Test 1
2039s ok 17 /date/parse/invalid
2039s # End of parse tests
2039s # Start of year tests
2039s ok 18 /date/year/1
2039s ok 19 /date/year/2
2039s ok 20 /date/year/3
2039s ok 21 /date/year/4
2039s ok 22 /date/year/5
2039s ok 23 /date/year/6
2039s ok 24 /date/year/7
2039s ok 25 /date/year/8
2039s ok 26 /date/year/9
2039s ok 27 /date/year/10
2039s ok 28 /date/year/11
2039s ok 29 /date/year/12
2039s ok 30 /date/year/13
2039s ok 31 /date/year/14
2039s ok 32 /date/year/98
2039s ok 33 /date/year/99
2039s ok 34 /date/year/100
2039s ok 35 /date/year/101
2039s ok 36 /date/year/102
2039s ok 37 /date/year/103
2039s ok 38 /date/year/397
2039s ok 39 /date/year/398
2039s ok 40 /date/year/399
2039s ok 41 /date/year/400
2039s ok 42 /date/year/401
2039s ok 43 /date/year/402
2039s ok 44 /date/year/403
2039s ok 45 /date/year/404
2039s ok 46 /date/year/405
2039s ok 47 /date/year/406
2039s ok 48 /date/year/1598
2039s ok 49 /date/year/1599
2039s ok 50 /date/year/1600
2039s ok 51 /date/year/1601
2039s ok 52 /date/year/1602
2039s ok 53 /date/year/1650
2039s ok 54 /date/year/1651
2039s ok 55 /date/year/1897
2039s ok 56 /date/year/1898
2039s ok 57 /date/year/1899
2039s ok 58 /date/year/1900
2039s ok 59 /date/year/1901
2039s ok 60 /date/year/1902
2039s ok 61 /date/year/1903
2039s ok 62 /date/year/1961
2039s ok 63 /date/year/1962
2039s ok 64 /date/year/1963
2039s ok 65 /date/year/1964
2039s ok 66 /date/year/1965
2039s ok 67 /date/year/1967
2039s ok 68 /date/year/1968
2039s ok 69 /date/year/1969
2039s ok 70 /date/year/1970
2039s ok 71 /date/year/1971
2039s ok 72 /date/year/1972
2039s ok 73 /date/year/1973
2039s ok 74 /date/year/1974
2039s ok 75 /date/year/1975
2039s ok 76 /date/year/1976
2039s ok 77 /date/year/1977
2039s ok 78 /date/year/1978
2039s ok 79 /date/year/1979
2039s ok 80 /date/year/1980
2039s ok 81 /date/year/1981
2039s ok 82 /date/year/1982
2039s ok 83 /date/year/1983
2039s ok 84 /date/year/1984
2039s ok 85 /date/year/1985
2039s ok 86 /date/year/1986
2039s ok 87 /date/year/1987
2039s ok 88 /date/year/1988
2039s ok 89 /date/year/1989
2039s ok 90 /date/year/1990
2039s ok 91 /date/year/1991
2039s ok 92 /date/year/1992
2039s ok 93 /date/year/1993
2039s ok 94 /date/year/1994
2039s ok 95 /date/year/1995
2039s ok 96 /date/year/1996
2039s ok 97 /date/year/1997
2039s ok 98 /date/year/1998
2039s ok 99 /date/year/1999
2039s ok 100 /date/year/2000
2039s ok 101 /date/year/2001
2039s ok 102 /date/year/2002
2039s ok 103 /date/year/2003
2039s ok 104 /date/year/2004
2039s ok 105 /date/year/2005
2039s ok 106 /date/year/2006
2039s ok 107 /date/year/2007
2039s ok 108 /date/year/2008
2039s ok 109 /date/year/2009
2039s ok 110 /date/year/2010
2039s ok 111 /date/year/2011
2039s ok 112 /date/year/2012
2039s ok 113 /date/year/3000
2039s ok 114 /date/year/3001
2039s ok 115 /date/year/3002
2039s ok 116 /date/year/3998
2039s ok 117 /date/year/3999
2039s ok 118 /date/year/4000
2039s ok 119 /date/year/4001
2039s ok 120 /date/year/4002
2039s ok 121 /date/year/4003
2039s # End of year tests
2039s # End of date tests
2039s ok - glib/date.test
2039s # Running test: glib/overflow-fallback.test
2039s TAP version 14
2039s # random seed: R02Sdad48c947b6e5adc1569011b4ef07aae
2039s 1..6
2039s # Start of glib tests
2039s # Start of checked-math tests
2039s ok 1 /glib/checked-math/guint-add
2039s ok 2 /glib/checked-math/guint-mul
2039s ok 3 /glib/checked-math/guint64-add
2039s ok 4 /glib/checked-math/guint64-mul
2039s ok 5 /glib/checked-math/gsize-add
2039s ok 6 /glib/checked-math/gsize-mul
2039s # End of checked-math tests
2039s # End of glib tests
2039s ok - glib/overflow-fallback.test
2039s # Running test: glib/cancellable.test
2039s TAP version 14
2039s # random seed: R02Sf8e42316278fa28dc9047b68f22779f0
2039s 1..10
2039s # Start of cancellable tests
2039s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test
2039s ok 2 /cancellable/null
2039s # /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
2039s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs
2039s # /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
2039s ok 4 /cancellable/resets-on-cancel-callback-hangs
2039s ok 5 /cancellable/poll-fd
2039s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation
2039s ok 6 /cancellable/poll-fd-cancelled
2039s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD
2039s ok 7 /cancellable/poll-fd-cancelled-threaded
2039s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable
2039s ok 8 /cancellable/cancel-reset-races
2039s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable
2039s ok 9 /cancellable/cancel-reset-connect-races
2039s # End of cancellable tests
2039s # Start of cancellable-source tests
2039s # /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)
2039s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841
2040s ok 10 /cancellable-source/threaded-dispose
2040s # slow test /cancellable-source/threaded-dispose executed in 0.94 secs
2040s # End of cancellable-source tests
2040s ok - glib/cancellable.test
2040s # Running test: glib/642026-ec.test
2040s TAP version 14
2040s # random seed: R02Se10dfd5805d133086c7ec1e0d3f70b04
2040s 1..1
2040s # Start of glib tests
2040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
2040s ok 1 /glib/642026
2040s # End of glib tests
2040s ok - glib/642026-ec.test
2040s # Running test: glib/network-monitor-race.test
2040s TAP version 14
2040s # random seed: R02Sf5cbc4e0fdd937441435466baa2b7171
2040s 1..1
2040s # Start of network-monitor tests
2040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727
2041s # Executing: glib/network-monitor-race.test
2042s ok 1 /network-monitor/create-in-thread
2042s # slow test /network-monitor/create-in-thread executed in 2.17 secs
2042s # End of network-monitor tests
2042s ok - glib/network-monitor-race.test
2042s # Running test: glib/gutils-user-database.test
2042s TAP version 14
2042s # random seed: R02S2bd045ccd731a34b83c1de305902b2ae
2042s 1..1
2042s # Start of gutils tests
2042s ok 1 /gutils/get_user_database_entry
2042s # End of gutils tests
2042s ok - glib/gutils-user-database.test
2042s # Running test: glib/hmac.test
2042s TAP version 14
2042s # random seed: R02S382b074ae81905e3d849094d746dc2e4
2042s 1..37
2042s # Start of hmac tests
2042s ok 1 /hmac/sha1-1
2042s ok 2 /hmac/sha1-2
2042s ok 3 /hmac/sha1-3
2042s ok 4 /hmac/sha1-4
2042s ok 5 /hmac/sha1-5
2042s ok 6 /hmac/sha1-6
2042s ok 7 /hmac/sha1-7
2042s ok 8 /hmac/sha256-1
2042s ok 9 /hmac/sha256-2
2042s ok 10 /hmac/sha256-3
2043s ok 11 /hmac/sha256-4
2043s ok 12 /hmac/sha256-5
2043s ok 13 /hmac/sha256-6
2043s ok 14 /hmac/sha384-1
2043s ok 15 /hmac/sha384-2
2043s ok 16 /hmac/sha384-3
2043s ok 17 /hmac/sha384-4
2043s ok 18 /hmac/sha384-5
2043s ok 19 /hmac/sha384-6
2043s ok 20 /hmac/sha512-1
2043s ok 21 /hmac/sha512-2
2043s ok 22 /hmac/sha512-3
2043s ok 23 /hmac/sha512-4
2043s ok 24 /hmac/sha512-5
2043s ok 25 /hmac/sha512-6
2043s ok 26 /hmac/md5-1
2043s ok 27 /hmac/md5-2
2043s ok 28 /hmac/md5-3
2043s ok 29 /hmac/md5-4
2043s ok 30 /hmac/md5-5
2043s ok 31 /hmac/md5-6
2043s ok 32 /hmac/md5-7
2043s ok 33 /hmac/ref-unref
2043s ok 34 /hmac/copy
2043s ok 35 /hmac/for-data
2043s ok 36 /hmac/for-string
2043s ok 37 /hmac/for-bytes
2043s # End of hmac tests
2043s ok - glib/hmac.test
2043s # Running test: glib/gdbus-test-codegen-old.test
2043s TAP version 14
2043s # random seed: R02S63c4d915d1f35bc721c4865437bd4d37
2043s 1..8
2043s # Start of gdbus tests
2043s # Start of codegen tests
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/annotations/.dirs/runtime
2043s ok 1 /gdbus/codegen/annotations
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/interface_stability/.dirs/runtime
2043s ok 2 /gdbus/codegen/interface_stability
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/object-manager/.dirs/runtime
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s ok 3 /gdbus/codegen/object-manager
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/property-naming/.dirs/runtime
2043s ok 4 /gdbus/codegen/property-naming
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/autocleanups/.dirs/runtime
2043s ok 5 /gdbus/codegen/autocleanups
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/deprecations/.dirs/runtime
2043s ok 6 /gdbus/codegen/deprecations
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/standalone-interface-info/.dirs/runtime
2043s ok 7 /gdbus/codegen/standalone-interface-info
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3OUNX2/gdbus/codegen/unix-fd-list/.dirs/runtime
2043s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
2043s ok 8 /gdbus/codegen/unix-fd-list
2043s # End of codegen tests
2043s # End of gdbus tests
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok - glib/gdbus-test-codegen-old.test
2043s # Running test: glib/gdbus-connection.test
2043s TAP version 14
2043s # random seed: R02S0ab1468a0948820165907c10f0c03ec3
2043s 1..9
2043s # Start of gdbus tests
2043s # Start of connection tests
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/bus-failure/.dirs/runtime
2043s ok 1 /gdbus/connection/bus-failure
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/basic/.dirs/runtime
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok 2 /gdbus/connection/basic
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/life-cycle/.dirs/runtime
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok 3 /gdbus/connection/life-cycle
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/send/.dirs/runtime
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok 4 /gdbus/connection/send
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signals/.dirs/runtime
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok 5 /gdbus/connection/signals
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/signal-match-rules/.dirs/runtime
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok 6 /gdbus/connection/signal-match-rules
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/filter/.dirs/runtime
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok 7 /gdbus/connection/filter
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/serials/.dirs/runtime
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok 8 /gdbus/connection/serials
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Z387X2/gdbus/connection/cancel/.dirs/runtime
2043s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2043s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2043s ok 9 /gdbus/connection/cancel
2043s # End of connection tests
2043s # End of gdbus tests
2043s ok - glib/gdbus-connection.test
2043s # Running test: glib/buffered-output-stream.test
2043s TAP version 14
2043s # random seed: R02S739572162d2618acce9795cf42e13fcf
2043s 1..5
2043s # Start of buffered-output-stream tests
2043s ok 1 /buffered-output-stream/write
2043s ok 2 /buffered-output-stream/grow
2043s ok 3 /buffered-output-stream/seek
2043s ok 4 /buffered-output-stream/truncate
2043s # End of buffered-output-stream tests
2043s # Start of filter-output-stream tests
2043s ok 5 /filter-output-stream/close
2043s # End of filter-output-stream tests
2043s ok - glib/buffered-output-stream.test
2043s # Running test: glib/gdbus-peer.test
2043s TAP version 14
2043s # random seed: R02S76aaa9c4dcfd4f107da58540e4706ae5
2043s 1..12
2043s # Start of gdbus tests
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/.dirs/runtime
2043s # Testing with unix:dir address
2043s # Testing with unix:tmpdir address
2043s # Testing with unix:path address
2043s ok 1 /gdbus/peer-to-peer
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/delayed-message-processing/.dirs/runtime
2043s # Testing with unix:dir address
2043s ok 2 /gdbus/delayed-message-processing
2043s # slow test /gdbus/delayed-message-processing executed in 0.51 secs
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/nonce-tcp/.dirs/runtime
2043s ok 3 /gdbus/nonce-tcp
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/tcp-anonymous/.dirs/runtime
2043s ok 4 /gdbus/tcp-anonymous
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/credentials/.dirs/runtime
2043s ok 5 /gdbus/credentials
2043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/home
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/cache
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/system-config2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/config
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/system-data2
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/data
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/state
2043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/codegen-peer-to-peer/.dirs/runtime
2043s # Testing with unix:dir address
2043s # Machine ID: 651387ea84a847dfa92457b7de5fecb4
2044s ok 6 /gdbus/codegen-peer-to-peer
2044s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs
2044s # Start of peer-to-peer tests
2044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/home
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/cache
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/system-config2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/config
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/system-data2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/data
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/state
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/signals/.dirs/runtime
2044s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620
2044s # Testing with unix:dir address
2044s ok 7 /gdbus/peer-to-peer/signals
2044s # Start of invalid tests
2044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/home
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/cache
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/config
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/data
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/state
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/server/.dirs/runtime
2044s ok 8 /gdbus/peer-to-peer/invalid/server
2044s # Start of conn tests
2044s # Start of stream tests
2044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime
2044s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async
2044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime
2044s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync
2044s # End of stream tests
2044s # Start of addr tests
2044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime
2044s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async
2044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_TR86X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime
2044s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync
2044s # End of addr tests
2044s # End of conn tests
2044s # End of invalid tests
2044s # End of peer-to-peer tests
2044s # End of gdbus tests
2044s ok - glib/gdbus-peer.test
2044s # Running test: glib/gobject-private.test
2044s TAP version 14
2044s # random seed: R02S40784301b7030083f6732a3e0122e794
2044s 1..3
2044s # Start of private tests
2044s ok 1 /private/instance
2044s ok 2 /private/derived-instance
2044s ok 3 /private/mixed-derived-instance
2044s # End of private tests
2044s ok - glib/gobject-private.test
2044s # Running test: glib/gdbus-connection-slow.test
2044s TAP version 14
2044s # random seed: R02Saab577fa2602de288e9023508367c287
2044s 1..2
2044s # Start of gdbus tests
2044s # Start of connection tests
2044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/home
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/cache
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/system-config2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/config
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/system-data2
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/data
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/state
2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/flush/.dirs/runtime
2044s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s ok 1 /gdbus/connection/flush
2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/home
2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/cache
2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/system-config2
2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/config
2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/system-data2
2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/data
2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/state
2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_WLKRX2/gdbus/connection/large_message/.dirs/runtime
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2046s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2046s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2046s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2046s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2046s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2046s ok 2 /gdbus/connection/large_message
2046s # slow test /gdbus/connection/large_message executed in 0.89 secs
2046s # End of connection tests
2046s # End of gdbus tests
2046s ok - glib/gdbus-connection-slow.test
2046s # Running test: glib/hook.test
2046s TAP version 14
2046s # random seed: R02S0640cfd2a80c160c1a29bffaf02b4979
2046s 1..2
2046s # Start of hook tests
2046s ok 1 /hook/basics
2046s ok 2 /hook/corner-cases
2046s # End of hook tests
2046s ok - glib/hook.test
2046s # Running test: glib/refstring.test
2046s TAP version 14
2046s # random seed: R02S8cd8744a871fe3156ce2250a0f3f30a7
2046s 1..6
2046s # Start of refstring tests
2046s # s = 'hello, world' (0x380cf00)
2046s ok 1 /refstring/base
2046s ok 2 /refstring/length
2046s ok 3 /refstring/length-auto
2046s ok 4 /refstring/length-nuls
2046s # s = 'hello, world' (0x3805000)
2046s # p = s = 'hello, world' (0x3805000)
2046s # releasing p[0x3805000] ('hello, world')
2046s # p = 'goodbye, world' (0x3805028)
2046s # releasing p[0x3805028] ('goodbye, world')
2046s # releasing s[0x3805000] ('hello, world')
2046s ok 5 /refstring/intern
2046s # Executing: glib/refstring.test
2047s ok 6 /refstring/intern-thread-safety
2047s # slow test /refstring/intern-thread-safety executed in 1.02 secs
2047s # End of refstring tests
2047s ok - glib/refstring.test
2047s # Running test: glib/async-splice-output-stream.test
2047s TAP version 14
2047s # random seed: R02Sa556a1b94a0bb9e65bc5d79955bc8f54
2047s 1..5
2047s # Start of async-splice tests
2047s ok 1 /async-splice/copy-chunks
2047s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2047s ok 2 /async-splice/copy-chunks-threaded-input
2047s ok 3 /async-splice/copy-chunks-threaded-output
2047s ok 4 /async-splice/copy-chunks-threaded
2047s ok 5 /async-splice/cancelled
2047s # End of async-splice tests
2047s ok - glib/async-splice-output-stream.test
2047s # Running test: glib/simple-proxy.test
2047s TAP version 14
2047s # random seed: R02S1d2475744ac0866daebaa723d831b941
2047s 1..3
2047s # Start of static-proxy tests
2047s ok 1 /static-proxy/uri
2047s ok 2 /static-proxy/socks
2047s ok 3 /static-proxy/ignore
2047s # End of static-proxy tests
2047s ok - glib/simple-proxy.test
2047s # Running test: glib/strfuncs.test
2047s TAP version 14
2047s # random seed: R02S7d5959ad3803b3ea9473f120d42e87d4
2047s 1..50
2047s # Start of strfuncs tests
2047s ok 1 /strfuncs/ascii-strcasecmp
2047s ok 2 /strfuncs/ascii_strdown
2047s ok 3 /strfuncs/ascii_strdup
2047s ok 4 /strfuncs/ascii_strtod
2047s ok 5 /strfuncs/bounds-check
2047s ok 6 /strfuncs/has-prefix
2047s ok 7 /strfuncs/has-prefix-macro
2047s ok 8 /strfuncs/has-suffix
2047s ok 9 /strfuncs/has-suffix-macro
2047s ok 10 /strfuncs/memdup
2047s ok 11 /strfuncs/memdup2
2047s ok 12 /strfuncs/set_str
2047s ok 13 /strfuncs/stpcpy
2047s ok 14 /strfuncs/str_match_string
2047s ok 15 /strfuncs/str_tokenize_and_fold
2047s ok 16 /strfuncs/strcanon
2047s ok 17 /strfuncs/strchomp
2047s ok 18 /strfuncs/strchug
2047s ok 19 /strfuncs/strcompress-strescape
2047s ok 20 /strfuncs/strconcat
2047s ok 21 /strfuncs/strdelimit
2047s ok 22 /strfuncs/strdup
2047s ok 23 /strfuncs/strdup-printf
2047s ok 24 /strfuncs/strdupv
2047s ok 25 /strfuncs/strerror
2047s ok 26 /strfuncs/strip-context
2047s ok 27 /strfuncs/strjoin
2047s ok 28 /strfuncs/strjoinv
2047s ok 29 /strfuncs/strlcat
2047s ok 30 /strfuncs/strlcpy
2047s ok 31 /strfuncs/strncasecmp
2047s ok 32 /strfuncs/strndup
2047s ok 33 /strfuncs/strnfill
2047s ok 34 /strfuncs/strreverse
2047s ok 35 /strfuncs/strsignal
2047s ok 36 /strfuncs/strsplit
2047s ok 37 /strfuncs/strsplit-set
2047s ok 38 /strfuncs/strstr
2047s ok 39 /strfuncs/strtod
2047s ok 40 /strfuncs/strtoull-strtoll
2047s ok 41 /strfuncs/strup
2047s ok 42 /strfuncs/strv-contains
2047s ok 43 /strfuncs/strv-equal
2047s ok 44 /strfuncs/strv-length
2047s ok 45 /strfuncs/test-is-to-digit
2047s ok 46 /strfuncs/transliteration
2047s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal()
2047s ok 47 /strfuncs/str-equal
2047s # Start of ascii-string-to-num tests
2047s ok 48 /strfuncs/ascii-string-to-num/pathological
2047s ok 49 /strfuncs/ascii-string-to-num/usual
2047s # End of ascii-string-to-num tests
2047s # Start of strdup tests
2047s ok 50 /strfuncs/strdup/inline
2047s # End of strdup tests
2047s # End of strfuncs tests
2047s ok - glib/strfuncs.test
2047s # Running test: glib/deftype.test
2047s ok - glib/deftype.test
2047s # Running test: glib/utf8-performance.test
2047s TAP version 14
2047s # random seed: R02Sd7e4cf755895af1975d289cec45e4a78
2047s 1..36
2047s # Start of utf8 tests
2047s # Start of perf tests
2047s # Start of get_char tests
2047s # max perf: 6.1 MB/s
2047s ok 1 /utf8/perf/get_char/ascii
2047s # max perf: inf MB/s
2047s ok 2 /utf8/perf/get_char/latin1
2047s # max perf: 160.0 MB/s
2047s ok 3 /utf8/perf/get_char/cyrillic
2047s # max perf: 156.0 MB/s
2047s ok 4 /utf8/perf/get_char/han
2047s # End of get_char tests
2047s # Start of get_char-backwards tests
2047s # max perf: 43.0 MB/s
2047s ok 5 /utf8/perf/get_char-backwards/ascii
2047s # max perf: 67.0 MB/s
2047s ok 6 /utf8/perf/get_char-backwards/latin1
2047s # max perf: 160.0 MB/s
2047s ok 7 /utf8/perf/get_char-backwards/cyrillic
2047s # max perf: 156.0 MB/s
2047s ok 8 /utf8/perf/get_char-backwards/han
2047s # End of get_char-backwards tests
2047s # Start of get_char_validated tests
2047s # max perf: 43.0 MB/s
2047s ok 9 /utf8/perf/get_char_validated/ascii
2047s # max perf: inf MB/s
2047s ok 10 /utf8/perf/get_char_validated/latin1
2047s # max perf: 160.0 MB/s
2047s ok 11 /utf8/perf/get_char_validated/cyrillic
2047s # max perf: 156.0 MB/s
2047s ok 12 /utf8/perf/get_char_validated/han
2047s # End of get_char_validated tests
2047s # Start of utf8_to_ucs4 tests
2047s # max perf: 43.0 MB/s
2047s ok 13 /utf8/perf/utf8_to_ucs4/ascii
2047s # max perf: 67.0 MB/s
2047s ok 14 /utf8/perf/utf8_to_ucs4/latin1
2047s # max perf: 80.0 MB/s
2047s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic
2047s # max perf: 156.0 MB/s
2047s ok 16 /utf8/perf/utf8_to_ucs4/han
2047s # End of utf8_to_ucs4 tests
2047s # Start of utf8_to_ucs4-sized tests
2047s # max perf: 43.0 MB/s
2047s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii
2047s # max perf: 67.0 MB/s
2047s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1
2047s # max perf: 160.0 MB/s
2047s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic
2047s # max perf: 156.0 MB/s
2047s ok 20 /utf8/perf/utf8_to_ucs4-sized/han
2047s # End of utf8_to_ucs4-sized tests
2047s # Start of utf8_to_ucs4_fast tests
2047s # max perf: 43.0 MB/s
2047s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii
2047s # max perf: 67.0 MB/s
2047s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1
2047s # max perf: 160.0 MB/s
2047s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic
2047s # max perf: 156.0 MB/s
2047s ok 24 /utf8/perf/utf8_to_ucs4_fast/han
2047s # End of utf8_to_ucs4_fast tests
2047s # Start of utf8_to_ucs4_fast-sized tests
2047s # max perf: 43.0 MB/s
2047s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii
2047s # max perf: inf MB/s
2047s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1
2047s # max perf: 160.0 MB/s
2047s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic
2047s # max perf: 156.0 MB/s
2047s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han
2047s # End of utf8_to_ucs4_fast-sized tests
2047s # Start of utf8_validate tests
2047s # max perf: inf MB/s
2047s ok 29 /utf8/perf/utf8_validate/ascii
2047s # max perf: inf MB/s
2047s ok 30 /utf8/perf/utf8_validate/latin1
2047s # max perf: inf MB/s
2047s ok 31 /utf8/perf/utf8_validate/cyrillic
2047s # max perf: 156.0 MB/s
2047s ok 32 /utf8/perf/utf8_validate/han
2047s # End of utf8_validate tests
2047s # Start of utf8_validate-sized tests
2047s # max perf: inf MB/s
2047s ok 33 /utf8/perf/utf8_validate-sized/ascii
2047s # max perf: inf MB/s
2047s ok 34 /utf8/perf/utf8_validate-sized/latin1
2047s # max perf: 160.0 MB/s
2047s ok 35 /utf8/perf/utf8_validate-sized/cyrillic
2047s # max perf: inf MB/s
2047s ok 36 /utf8/perf/utf8_validate-sized/han
2047s # End of utf8_validate-sized tests
2047s # End of perf tests
2047s # End of utf8 tests
2047s ok - glib/utf8-performance.test
2047s # Running test: glib/gio-tool.py.test
2047s TAP version 13
2047s ok 1 __main__.TestGioTool.test_help
2047s # tmpdir: /tmp/tmpgadsuwiz
2047s # gio: /usr/bin/gio
2047s # Running: ['/usr/bin/gio', '--help']
2047s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2047s # Output: Usage:
2047s # gio COMMAND [ARGS…]
2047s #
2047s # Commands:
2047s # help Print help
2047s # version Print version
2047s # cat Concatenate files to standard output
2047s # copy Copy one or more files
2047s # info Show information about locations
2047s # launch Launch an application from a desktop file
2047s # list List the contents of locations
2047s # mime Get or set the handler for a mimetype
2047s # mkdir Create directories
2047s # monitor Monitor files and directories for changes
2047s # mount Mount or unmount the locations
2047s # move Move one or more files
2047s # open Open files with the default application
2047s # rename Rename a file
2047s # remove Delete one or more files
2047s # save Read from standard input and save
2047s # set Set a file attribute
2047s # trash Move files or directories to the trash
2047s # tree Lists the contents of locations in a tree
2047s #
2047s # Use “gio help COMMAND†to get detailed help.
2047s # Running: ['/usr/bin/gio', 'help']
2047s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2047s # Output: Usage:
2047s # gio COMMAND [ARGS…]
2047s #
2047s # Commands:
2047s # help Print help
2047s # version Print version
2047s # cat Concatenate files to standard output
2047s # copy Copy one or more files
2047s # info Show information about locations
2047s # launch Launch an application from a desktop file
2047s # list List the contents of locations
2047s # mime Get or set the handler for a mimetype
2047s # mkdir Create directories
2047s # monitor Monitor files and directories for changes
2047s # mount Mount or unmount the locations
2047s # move Move one or more files
2047s # open Open files with the default application
2047s # rename Rename a file
2047s # remove Delete one or more files
2047s # save Read from standard input and save
2047s # set Set a file attribute
2047s # trash Move files or directories to the trash
2047s # tree Lists the contents of locations in a tree
2047s #
2047s # Use “gio help COMMAND†to get detailed help.
2047s ok 2 __main__.TestGioTool.test_info_non_default_attributes
2047s # tmpdir: /tmp/tmpzrda2jit
2047s # gio: /usr/bin/gio
2047s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpzrda2jit/tmpt6zi6mp9']
2047s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2047s # Output: uri: file:///tmp/tmpzrda2jit/tmpt6zi6mp9
2047s # local path: /tmp/tmpzrda2jit/tmpt6zi6mp9
2047s # unix mount: /dev/vda2[/lxd/containers/autopkgtest-lxd-jbisur/rootfs] / btrfs rw,relatime,idmapped,discard=async,space_cache=v2,user_subvol_rm_allowed,subvolid=4403,subvol=/lxd/containers/autopkgtest-lxd-jbisur
2047s # attributes:
2047s # standard::content-type: application/x-zerosize
2047s ok 3 __main__.TestGioTool.test_no_args
2047s # tmpdir: /tmp/tmpexe_w9t9
2047s # gio: /usr/bin/gio
2047s # Running: ['/usr/bin/gio']
2047s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2047s 1..3
2047s ok - glib/gio-tool.py.test
2047s # Running test: glib/gvariant.test
2047s TAP version 14
2047s # random seed: R02S5b09d6afa1d27b048846cc0a97435b8d
2047s 1..64
2047s # Start of gvariant tests
2047s ok 1 /gvariant/type
2047s ok 2 /gvariant/typeinfo
2047s ok 3 /gvariant/string
2047s ok 4 /gvariant/utf8
2047s ok 5 /gvariant/containers
2047s ok 6 /gvariant/format-strings
2047s ok 7 /gvariant/invalid-varargs
2047s ok 8 /gvariant/varargs
2047s ok 9 /gvariant/valist
2047s ok 10 /gvariant/builder-memory
2048s ok 11 /gvariant/hashing
2048s ok 12 /gvariant/byteswap
2048s ok 13 /gvariant/parser
2048s ok 14 /gvariant/parse-failures
2048s ok 15 /gvariant/parse-positional
2048s ok 16 /gvariant/floating
2048s ok 17 /gvariant/bytestring
2048s ok 18 /gvariant/lookup-value
2048s ok 19 /gvariant/lookup
2048s ok 20 /gvariant/compare
2048s ok 21 /gvariant/equal
2048s ok 22 /gvariant/fixed-array
2048s ok 23 /gvariant/check-format-string
2048s ok 24 /gvariant/checksum-basic
2048s ok 25 /gvariant/checksum-nested
2048s ok 26 /gvariant/gbytes
2048s ok 27 /gvariant/print-context
2048s ok 28 /gvariant/error-quark
2048s ok 29 /gvariant/stack-builder-init
2048s ok 30 /gvariant/stack-dict-init
2048s ok 31 /gvariant/unaligned-construction
2048s # Start of type tests
2048s # Start of string-scan tests
2048s # Start of recursion tests
2048s ok 32 /gvariant/type/string-scan/recursion/tuple
2048s ok 33 /gvariant/type/string-scan/recursion/array
2048s # End of recursion tests
2048s # End of string-scan tests
2048s # End of type tests
2048s # Start of serialiser tests
2048s ok 34 /gvariant/serialiser/maybe
2048s ok 35 /gvariant/serialiser/array
2048s ok 36 /gvariant/serialiser/tuple
2048s ok 37 /gvariant/serialiser/variant
2048s ok 38 /gvariant/serialiser/strings
2049s ok 39 /gvariant/serialiser/byteswap
2049s # slow test /gvariant/serialiser/byteswap executed in 0.66 secs
2049s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865
2049s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works
2049s ok 40 /gvariant/serialiser/children
2049s # Start of fuzz tests
2049s ok 41 /gvariant/serialiser/fuzz/1%
2050s ok 42 /gvariant/serialiser/fuzz/5%
2050s ok 43 /gvariant/serialiser/fuzz/9%
2050s # slow test /gvariant/serialiser/fuzz/9% executed in 0.57 secs
2051s ok 44 /gvariant/serialiser/fuzz/13%
2051s ok 45 /gvariant/serialiser/fuzz/17%
2051s # End of fuzz tests
2051s # End of serialiser tests
2051s # Start of varargs tests
2051s # Start of subprocess tests
2051s # End of subprocess tests
2051s # End of varargs tests
2051s # Start of byteswap tests
2051s # /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.
2051s ok 46 /gvariant/byteswap/non-normal-non-aligned
2051s # End of byteswap tests
2051s # Start of parser tests
2051s ok 47 /gvariant/parser/integer-bounds
2051s ok 48 /gvariant/parser/recursion
2051s # Start of recursion tests
2051s ok 49 /gvariant/parser/recursion/typedecls
2051s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants
2051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782
2051s # Text form 0: @mmmu 5
2051s # Text form 1: @mmmas ['hello']
2051s # Text form 2: @mmmu just just nothing
2051s # Text form 3: @mmmas just just nothing
2051s # Text form 4: @mmmu just nothing
2051s # Text form 5: @mmmas just nothing
2051s # Text form 6: @mmmu nothing
2051s # Text form 7: @mmmas nothing
2051s ok 50 /gvariant/parser/recursion/maybes
2051s # End of recursion tests
2051s # End of parser tests
2051s # Start of parse tests
2051s # Start of subprocess tests
2051s # End of subprocess tests
2051s # End of parse tests
2051s # Start of normal-checking tests
2051s ok 51 /gvariant/normal-checking/tuples
2051s ok 52 /gvariant/normal-checking/array-offsets
2051s ok 53 /gvariant/normal-checking/array-offsets2
2051s ok 54 /gvariant/normal-checking/tuple-offsets
2051s ok 55 /gvariant/normal-checking/tuple-offsets2
2051s ok 56 /gvariant/normal-checking/tuple-offsets3
2051s ok 57 /gvariant/normal-checking/tuple-offsets4
2051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840
2051s ok 58 /gvariant/normal-checking/tuple-offsets5
2051s ok 59 /gvariant/normal-checking/empty-object-path
2051s # Start of array-offsets tests
2051s ok 60 /gvariant/normal-checking/array-offsets/overlapped
2051s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized
2051s # End of array-offsets tests
2051s # Start of tuple-offsets tests
2051s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized
2051s # End of tuple-offsets tests
2051s # End of normal-checking tests
2051s # Start of recursion-limits tests
2051s ok 63 /gvariant/recursion-limits/variant-in-variant
2051s ok 64 /gvariant/recursion-limits/array-in-variant
2051s # End of recursion-limits tests
2051s # End of gvariant tests
2051s ok - glib/gvariant.test
2051s # Running test: glib/repository.test
2051s TAP version 14
2051s # random seed: R02S4a9d2d74cebb5dfa343bee4bdd4feac5
2051s 1..23
2051s # Start of repository tests
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/basic/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/basic/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/basic/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/basic/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/basic/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/basic/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/basic/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/basic/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/basic/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/basic/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/basic summary: Test basic opening of a repository and requiring a typelib
2051s ok 1 /repository/basic
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/info/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/info/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/info/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/info/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/info/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/info/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/info/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/info/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/info/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/info/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/info summary: Test retrieving some basic info blobs from a typelib
2051s ok 2 /repository/info
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/dependencies/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/dependencies/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/dependencies/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/dependencies/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/dependencies/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/dependencies/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/dependencies/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/dependencies/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed
2051s ok 3 /repository/dependencies
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/arg-info/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/arg-info/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/arg-info/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/arg-info/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/arg-info/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/arg-info/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/arg-info/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/arg-info/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib
2051s ok 4 /repository/arg-info
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/callable-info/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/callable-info/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/callable-info/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/callable-info/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/callable-info/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/callable-info/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/callable-info/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/callable-info/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib
2051s ok 5 /repository/callable-info
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/callback-info/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/callback-info/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/callback-info/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/callback-info/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/callback-info/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/callback-info/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/callback-info/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/callback-info/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib
2051s ok 6 /repository/callback-info
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/char-types/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/char-types/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/char-types/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/char-types/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/char-types/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/char-types/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/char-types/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/char-types/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/char-types/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/char-types/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively
2051s ok 7 /repository/char-types
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/constructor-return-type/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv()
2051s ok 8 /repository/constructor-return-type
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/enum-info-c-identifier/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier
2051s ok 9 /repository/enum-info-c-identifier
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/enum-info-static-methods/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/enum-info-static-methods summary: Test an enum with methods
2051s ok 10 /repository/enum-info-static-methods
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/error-quark/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/error-quark/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/error-quark/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/error-quark/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/error-quark/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/error-quark/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/error-quark/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/error-quark/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/error-quark summary: Test finding an error quark by error domain
2051s ok 11 /repository/error-quark
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/flags-info-c-identifier/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier
2051s ok 12 /repository/flags-info-c-identifier
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/fundamental-ref-func/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type
2051s ok 13 /repository/fundamental-ref-func
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/instance-method-ownership-transfer/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter
2051s ok 14 /repository/instance-method-ownership-transfer
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/object-gtype-interfaces/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces()
2051s ok 15 /repository/object-gtype-interfaces
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/signal-info-with-array-length-arg/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal
2051s ok 16 /repository/signal-info-with-array-length-arg
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/type-info-name/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo
2051s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96
2051s ok 17 /repository/type-info-name
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-no-invoker/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose
2051s ok 18 /repository/vfunc-info-with-no-invoker
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async
2051s ok 19 /repository/vfunc-info-with-invoker-on-interface
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display
2051s ok 20 /repository/vfunc-info-with-invoker-on-object
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/find-by-gtype/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/find-by-gtype summary: Test finding a GType
2051s ok 21 /repository/find-by-gtype
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/loaded-namespaces/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/loaded-namespaces summary: Test listing loaded namespaces
2051s ok 22 /repository/loaded-namespaces
2051s # Start of base-info tests
2051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/home
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/cache
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/system-config2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/config
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/system-data2
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/data
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/state
2051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HYO0X2/repository/base-info/clear/.dirs/runtime
2051s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2051s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct
2051s ok 23 /repository/base-info/clear
2051s # End of base-info tests
2051s # End of repository tests
2051s ok - glib/repository.test
2051s # Running test: glib/messages-low-memory.py.test
2051s TAP version 13
2051s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure
2051s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory
2051s # Running: /usr/libexec/installed-tests/glib/messages-low-memory
2051s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2051s # Return code: -6
2051s # Output:
2051s # Error: GLib-Message: 02:13:04.430: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting
2051s # GLib-Message: 02:13:04.430: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753
2051s # ../../../glib/gprintf.c:350: failed to allocate memory
2051s 1..1
2051s ok - glib/messages-low-memory.py.test
2051s # Running test: glib/network-monitor.test
2051s TAP version 14
2051s # random seed: R02S06c5254430acc16e7627453935283203
2051s 1..4
2051s # Start of network-monitor tests
2051s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
2051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2051s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running
2051s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor?
2051s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
2051s ok 1 /network-monitor/default
2051s ok 2 /network-monitor/remove_default
2051s ok 3 /network-monitor/add_networks
2051s ok 4 /network-monitor/remove_networks
2051s # End of network-monitor tests
2051s ok - glib/network-monitor.test
2051s # Running test: glib/keyfile.test
2051s TAP version 14
2051s # random seed: R02Sc1dce11027caa42593354f79e581adb7
2051s 1..36
2051s # Start of keyfile tests
2051s ok 1 /keyfile/line-ends
2051s ok 2 /keyfile/whitespace
2051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
2051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104
2051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
2051s ok 3 /keyfile/comments
2051s ok 4 /keyfile/listing
2051s ok 5 /keyfile/string
2051s ok 6 /keyfile/boolean
2051s ok 7 /keyfile/number
2051s ok 8 /keyfile/locale-string
2051s ok 9 /keyfile/lists
2051s ok 10 /keyfile/lists-set-get
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887
2051s ok 11 /keyfile/group-remove
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980
2051s ok 12 /keyfile/key-remove
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309
2051s ok 13 /keyfile/groups
2051s ok 14 /keyfile/duplicate-keys
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877
2051s ok 15 /keyfile/duplicate-groups
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910
2051s ok 16 /keyfile/duplicate-groups2
2051s ok 17 /keyfile/group-names
2051s ok 18 /keyfile/key-names
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686
2051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927
2051s ok 19 /keyfile/reload
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864
2051s ok 20 /keyfile/int64
2051s ok 21 /keyfile/load
2051s ok 22 /keyfile/save
2051s ok 23 /keyfile/load-fail
2051s ok 24 /keyfile/non-utf8
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695
2051s ok 25 /keyfile/page-boundary
2051s ok 26 /keyfile/ref
2051s ok 27 /keyfile/replace-value
2051s ok 28 /keyfile/list-separator
2051s ok 29 /keyfile/empty-string
2051s ok 30 /keyfile/limbo
2051s # Testing invalid encoding ?non-UTF-8?
2051s # Testing invalid encoding ?UTF?
2051s # Testing invalid encoding ?UTF-9?
2051s ok 31 /keyfile/utf8
2051s ok 32 /keyfile/roundtrip
2051s ok 33 /keyfile/bytes
2051s ok 34 /keyfile/get-locale
2051s ok 35 /keyfile/free-when-not-last-ref
2051s # Start of locale-string tests
2051s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works
2051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361
2051s ok 36 /keyfile/locale-string/multiple-loads
2051s # End of locale-string tests
2051s # End of keyfile tests
2051s ok - glib/keyfile.test
2051s # Running test: glib/cxx-17.test
2051s TAP version 14
2051s # random seed: R02Sd969765e5cf0ca2b77f8380124e653bc
2051s 1..2
2051s # Start of gtask tests
2051s # 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.
2051s ok 1 /gtask/name
2051s # Start of name tests
2051s # 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.
2051s ok 2 /gtask/name/macro-wrapper
2051s # End of name tests
2051s # End of gtask tests
2051s ok - glib/cxx-17.test
2051s # Running test: glib/cxx-11.test
2051s TAP version 14
2051s # random seed: R02Sb3f2e9e26b4308ba4d6401f8056350eb
2051s 1..2
2051s # Start of gtask tests
2051s # 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.
2051s ok 1 /gtask/name
2051s # Start of name tests
2051s # 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.
2051s ok 2 /gtask/name/macro-wrapper
2051s # End of name tests
2051s # End of gtask tests
2051s ok - glib/cxx-11.test
2051s # Running test: glib/642026.test
2051s TAP version 14
2051s # random seed: R02Sd877435da9f5832c8978f34e432de8fe
2051s 1..1
2051s # Start of glib tests
2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
2051s ok 1 /glib/642026
2051s # End of glib tests
2051s ok - glib/642026.test
2051s # Running test: glib/signals-refcount1.test
2051s TAP version 14
2051s # random seed: R02Sc7fcda86702872f4e76589dc8936ce47
2051s 1..1
2051s # Start of gobject tests
2051s # Start of refcount tests
2051s # init 0x10360a58
2051s #
2051s # init 0x10360bb0
2051s #
2051s # Executing: glib/signals-refcount1.test
2056s # dispose 0x10360a58!
2056s #
2056s # dispose 0x10360bb0!
2056s #
2056s ok 1 /gobject/refcount/signals
2056s # slow test /gobject/refcount/signals executed in 5.00 secs
2056s # End of refcount tests
2056s # End of gobject tests
2056s ok - glib/signals-refcount1.test
2056s # Running test: glib/markup.test
2056s TAP version 14
2056s # random seed: R02S63ce6526f9016e79d4d3e013bd864d30
2056s 1..1
2056s # Start of markup tests
2056s ok 1 /markup/stack
2056s # End of markup tests
2056s ok - glib/markup.test
2056s # Running test: glib/cxx-20.test
2056s TAP version 14
2056s # random seed: R02Sfbf93bcf080a600a4582ed16f4c181c6
2056s 1..2
2056s # Start of gtask tests
2056s # 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.
2056s ok 1 /gtask/name
2056s # Start of name tests
2056s # 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.
2056s ok 2 /gtask/name/macro-wrapper
2056s # End of name tests
2056s # End of gtask tests
2056s ok - glib/cxx-20.test
2056s # Running test: glib/gdbus-address-get-session.test
2056s TAP version 14
2056s # random seed: R02Saa253bc58a0862074efe98127ecc1b07
2056s 1..2
2056s # Start of gdbus tests
2056s ok 1 /gdbus/x11-autolaunch
2056s ok 2 /gdbus/xdg-runtime
2056s # End of gdbus tests
2056s ok - glib/gdbus-address-get-session.test
2056s # Running test: glib/g-file-info-filesystem-readonly.test
2056s TAP version 14
2056s # random seed: R02S69802d588aa2543932896d2ed5f53da1
2056s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731
2056s 1..2
2056s # Start of g-file-info-filesystem-readonly tests
2056s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
2056s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
2056s # End of g-file-info-filesystem-readonly tests
2056s ok - glib/g-file-info-filesystem-readonly.test
2056s # Running test: glib/macros.test
2056s TAP version 14
2056s # random seed: R02S6216e85206032bb81bc1ab3e33e3a10a
2056s 1..3
2056s # Start of alignof tests
2056s ok 1 /alignof/fallback
2056s # End of alignof tests
2056s # Start of assert tests
2056s ok 2 /assert/static
2056s # End of assert tests
2056s # Start of struct tests
2056s ok 3 /struct/sizeof_member
2056s # End of struct tests
2056s ok - glib/macros.test
2056s # Running test: glib/thumbnail-verification.test
2056s TAP version 14
2056s # random seed: R02S804246164e290163dc59751f6a9d0e96
2056s 1..1
2056s # Start of png-thumbs tests
2056s ok 1 /png-thumbs/validity
2056s # End of png-thumbs tests
2056s ok - glib/thumbnail-verification.test
2056s # Running test: glib/testfilemonitor.test
2056s TAP version 14
2056s # random seed: R02S0503f63a1390a38147e6fe9675ffe80b
2056s 1..8
2056s # Start of monitor tests
2056s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
2056s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
2056s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
2056s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
2056s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
2056s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
2056s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
2056s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
2056s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2056s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
2056s # Start of file tests
2056s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
2056s # End of file tests
2056s # End of monitor tests
2056s ok - glib/testfilemonitor.test
2056s # Running test: glib/utils-c-11.test
2056s TAP version 14
2056s # random seed: R02S27404d9b249e130b741aebb15a41ba40
2056s 1..40
2056s # Start of utils tests
2056s ok 1 /utils/language-names
2056s ok 2 /utils/locale-variants
2056s ok 3 /utils/version
2056s ok 4 /utils/appname
2056s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
2056s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
2056s ok 5 /utils/prgname-thread-safety
2056s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
2056s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
2056s ok 6 /utils/tmpdir
2056s ok 7 /utils/basic_bits
2056s ok 8 /utils/bits
2056s ok 9 /utils/swap
2056s ok 10 /utils/find-program
2056s ok 11 /utils/find-program-for-path
2056s ok 12 /utils/debug
2056s ok 13 /utils/codeset
2056s ok 14 /utils/codeset2
2056s ok 15 /utils/console-charset
2056s ok 16 /utils/gettext
2056s ok 17 /utils/username
2056s ok 18 /utils/realname
2056s ok 19 /utils/hostname
2056s ok 20 /utils/xdgdirs
2056s ok 21 /utils/specialdir
2056s # NAME: Ubuntu
2056s ok 22 /utils/os-info
2056s ok 23 /utils/clear-pointer
2056s ok 24 /utils/clear-pointer-cast
2056s ok 25 /utils/take-pointer
2056s ok 26 /utils/clear-source
2056s ok 27 /utils/misc-mem
2056s # /utils/aligned-mem summary: Aligned memory allocator
2056s # Alignment must not be zero
2056s # Alignment must be a power of two
2056s # Alignment must be a multiple of sizeof(void*)
2056s ok 28 /utils/aligned-mem
2056s # /utils/free-sized summary: Check that g_free_sized() works
2056s ok 29 /utils/free-sized
2056s ok 30 /utils/nullify
2056s ok 31 /utils/atexit
2056s ok 32 /utils/check-setuid
2056s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
2056s ok 33 /utils/int-limits
2056s ok 34 /utils/clear-list
2056s ok 35 /utils/clear-slist
2056s # Start of specialdir tests
2056s ok 36 /utils/specialdir/desktop
2056s # End of specialdir tests
2056s # Start of clear-pointer tests
2056s ok 37 /utils/clear-pointer/side-effects
2056s # End of clear-pointer tests
2056s # Start of aligned-mem tests
2056s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
2056s ok 38 /utils/aligned-mem/alignment
2056s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
2056s ok 39 /utils/aligned-mem/zeroed
2056s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
2056s ok 40 /utils/aligned-mem/free-sized
2056s # Start of subprocess tests
2056s # End of subprocess tests
2056s # End of aligned-mem tests
2056s # End of utils tests
2056s ok - glib/utils-c-11.test
2056s # Running test: glib/types.test
2056s TAP version 14
2056s # random seed: R02S0c30f3a023cf4640da8eb617abc24a07
2056s 1..1
2056s # Start of types tests
2056s ok 1 /types/basic_types
2056s # End of types tests
2056s ok - glib/types.test
2056s # Running test: glib/converter-stream.test
2056s TAP version 14
2056s # random seed: R02S81811d4065990848c34b4d5a498d61af
2056s 1..17
2056s # Start of converter tests
2056s ok 1 /converter/basics
2056s # End of converter tests
2056s # Start of converter-input-stream tests
2056s ok 2 /converter-input-stream/expander
2056s ok 3 /converter-input-stream/compressor
2056s # Start of truncation tests
2056s ok 4 /converter-input-stream/truncation/zlib
2056s # Executing: glib/converter-stream.test
2056s ok 5 /converter-input-stream/truncation/gzip
2057s ok 6 /converter-input-stream/truncation/raw
2057s # End of truncation tests
2057s # Start of charset tests
2057s ok 7 /converter-input-stream/charset/utf8->latin1
2057s ok 8 /converter-input-stream/charset/latin1->utf8
2057s ok 9 /converter-input-stream/charset/fallbacks
2057s # End of charset tests
2057s # End of converter-input-stream tests
2057s # Start of converter-output-stream tests
2057s # Start of roundtrip tests
2057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
2057s ok 10 /converter-output-stream/roundtrip/zlib-0
2057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
2057s ok 11 /converter-output-stream/roundtrip/zlib-9
2057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
2057s ok 12 /converter-output-stream/roundtrip/gzip-0
2057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
2057s ok 13 /converter-output-stream/roundtrip/gzip-9
2057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
2057s ok 14 /converter-output-stream/roundtrip/raw-0
2057s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
2057s ok 15 /converter-output-stream/roundtrip/raw-9
2057s # End of roundtrip tests
2057s # End of converter-output-stream tests
2057s # Start of converter-stream tests
2057s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
2057s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x7c30ad8 and GSocketClientAsyncConnectData 0x7c2ad20
2057s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2057s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2057s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x7c317b0 for GSocketClientAsyncConnectData 0x7c2ad20
2057s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2057s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2057s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2057s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2057s ok 16 /converter-stream/pollable
2057s ok 17 /converter-stream/leftover
2057s # End of converter-stream tests
2057s ok - glib/converter-stream.test
2057s # Running test: glib/unicode.test
2057s TAP version 14
2057s # random seed: R02S7cf6aeb2b3f3f49a742805bff210ff8a
2057s 1..39
2057s # Start of unicode tests
2057s ok 1 /unicode/alnum
2057s ok 2 /unicode/alpha
2057s ok 3 /unicode/break-type
2057s ok 4 /unicode/canonical-decomposition
2057s ok 5 /unicode/casefold
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s # Cannot set locale to lt_LT, skipping
2057s ok 6 /unicode/casemap_and_casefold
2057s ok 7 /unicode/cases
2057s ok 8 /unicode/character-type
2057s ok 9 /unicode/cntrl
2057s ok 10 /unicode/combining-class
2057s ok 11 /unicode/compose
2057s ok 12 /unicode/decompose
2057s ok 13 /unicode/decompose-tail
2057s ok 14 /unicode/defined
2057s ok 15 /unicode/digit
2057s ok 16 /unicode/digit-value
2057s ok 17 /unicode/fully-decompose-canonical
2057s ok 18 /unicode/fully-decompose-len
2057s ok 19 /unicode/normalization
2057s ok 20 /unicode/graph
2057s # Testing script Zyyy (code 1517910393)
2057s # Testing script Zinh (code 1516858984)
2057s # Testing script Zmth (code 1517122664)
2057s # Testing script Arab (code 1098015074)
2057s # Testing script Armn (code 1098018158)
2057s # Testing script Beng (code 1113943655)
2057s # Testing script Bopo (code 1114599535)
2057s # Testing script Cher (code 1130915186)
2057s # Testing script Copt (code 1131376756)
2057s # Testing script Cyrl (code 1132032620)
2057s # Testing script Dsrt (code 1148416628)
2057s # Testing script Deva (code 1147500129)
2057s # Testing script Ethi (code 1165256809)
2057s # Testing script Geor (code 1197830002)
2057s # Testing script Goth (code 1198486632)
2057s # Testing script Grek (code 1198679403)
2057s # Testing script Gujr (code 1198877298)
2057s # Testing script Guru (code 1198879349)
2057s # Testing script Hani (code 1214344809)
2057s # Testing script Hang (code 1214344807)
2057s # Testing script Hebr (code 1214603890)
2057s # Testing script Hira (code 1214870113)
2057s # Testing script Knda (code 1265525857)
2057s # Testing script Kana (code 1264676449)
2057s # Testing script Khmr (code 1265134962)
2057s # Testing script Laoo (code 1281453935)
2057s # Testing script Latn (code 1281455214)
2057s # Testing script Mlym (code 1298954605)
2057s # Testing script Mong (code 1299148391)
2057s # Testing script Mymr (code 1299803506)
2057s # Testing script Ogam (code 1332175213)
2057s # Testing script Ital (code 1232363884)
2057s # Testing script Orya (code 1332902241)
2057s # Testing script Runr (code 1383427698)
2057s # Testing script Sinh (code 1399418472)
2057s # Testing script Syrc (code 1400468067)
2057s # Testing script Taml (code 1415671148)
2057s # Testing script Telu (code 1415933045)
2057s # Testing script Thaa (code 1416126817)
2057s # Testing script Thai (code 1416126825)
2057s # Testing script Tibt (code 1416192628)
2057s # Testing script Cans (code 1130458739)
2057s # Testing script Yiii (code 1500080489)
2057s # Testing script Tglg (code 1416064103)
2057s # Testing script Hano (code 1214344815)
2057s # Testing script Buhd (code 1114990692)
2057s # Testing script Tagb (code 1415669602)
2057s # Testing script Brai (code 1114792297)
2057s # Testing script Cprt (code 1131442804)
2057s # Testing script Limb (code 1281977698)
2057s # Testing script Osma (code 1332964705)
2057s # Testing script Shaw (code 1399349623)
2057s # Testing script Linb (code 1281977954)
2057s # Testing script Tale (code 1415670885)
2057s # Testing script Ugar (code 1432838514)
2057s # Testing script Talu (code 1415670901)
2057s # Testing script Bugi (code 1114990441)
2057s # Testing script Glag (code 1198285159)
2057s # Testing script Tfng (code 1415999079)
2057s # Testing script Sylo (code 1400466543)
2057s # Testing script Xpeo (code 1483761007)
2057s # Testing script Khar (code 1265131890)
2057s # Testing script Zzzz (code 1517976186)
2057s # Testing script Bali (code 1113681001)
2057s # Testing script Xsux (code 1483961720)
2057s # Testing script Phnx (code 1349021304)
2057s # Testing script Phag (code 1349017959)
2057s # Testing script Nkoo (code 1315663727)
2057s # Testing script Kali (code 1264675945)
2057s # Testing script Lepc (code 1281716323)
2057s # Testing script Rjng (code 1382706791)
2057s # Testing script Sund (code 1400204900)
2057s # Testing script Saur (code 1398895986)
2057s # Testing script Cham (code 1130914157)
2057s # Testing script Olck (code 1332503403)
2057s # Testing script Vaii (code 1449224553)
2057s # Testing script Cari (code 1130459753)
2057s # Testing script Lyci (code 1283023721)
2057s # Testing script Lydi (code 1283023977)
2057s # Testing script Avst (code 1098281844)
2057s # Testing script Bamu (code 1113681269)
2057s # Testing script Egyp (code 1164409200)
2057s # Testing script Armi (code 1098018153)
2057s # Testing script Phli (code 1349020777)
2057s # Testing script Prti (code 1349678185)
2057s # Testing script Java (code 1247901281)
2057s # Testing script Kthi (code 1265920105)
2057s # Testing script Lisu (code 1281979253)
2057s # Testing script Mtei (code 1299473769)
2057s # Testing script Sarb (code 1398895202)
2057s # Testing script Orkh (code 1332898664)
2057s # Testing script Samr (code 1398893938)
2057s # Testing script Lana (code 1281453665)
2057s # Testing script Tavt (code 1415673460)
2057s # Testing script Batk (code 1113683051)
2057s # Testing script Brah (code 1114792296)
2057s # Testing script Mand (code 1298230884)
2057s # Testing script Cakm (code 1130457965)
2057s # Testing script Merc (code 1298494051)
2057s # Testing script Mero (code 1298494063)
2057s # Testing script Plrd (code 1349284452)
2057s # Testing script Shrd (code 1399353956)
2057s # Testing script Sora (code 1399812705)
2057s # Testing script Takr (code 1415670642)
2057s # Testing script Bass (code 1113682803)
2057s # Testing script Aghb (code 1097295970)
2057s # Testing script Dupl (code 1148547180)
2057s # Testing script Elba (code 1164730977)
2057s # Testing script Gran (code 1198678382)
2057s # Testing script Khoj (code 1265135466)
2057s # Testing script Sind (code 1399418468)
2057s # Testing script Lina (code 1281977953)
2057s # Testing script Mahj (code 1298229354)
2057s # Testing script Mani (code 1298230889)
2057s # Testing script Mend (code 1298493028)
2057s # Testing script Modi (code 1299145833)
2057s # Testing script Mroo (code 1299345263)
2057s # Testing script Nbat (code 1315070324)
2057s # Testing script Narb (code 1315009122)
2057s # Testing script Perm (code 1348825709)
2057s # Testing script Hmng (code 1215131239)
2057s # Testing script Palm (code 1348562029)
2057s # Testing script Pauc (code 1348564323)
2057s # Testing script Phlp (code 1349020784)
2057s # Testing script Sidd (code 1399415908)
2057s # Testing script Tirh (code 1416196712)
2057s # Testing script Wara (code 1466004065)
2057s # Testing script Ahom (code 1097363309)
2057s # Testing script Hluw (code 1215067511)
2057s # Testing script Hatr (code 1214346354)
2057s # Testing script Mult (code 1299541108)
2057s # Testing script Hung (code 1215655527)
2057s # Testing script Sgnw (code 1399287415)
2057s # Testing script Adlm (code 1097100397)
2057s # Testing script Bhks (code 1114139507)
2057s # Testing script Marc (code 1298231907)
2057s # Testing script Newa (code 1315272545)
2057s # Testing script Osge (code 1332963173)
2057s # Testing script Tang (code 1415671399)
2057s # Testing script Gonm (code 1198485101)
2057s # Testing script Nshu (code 1316186229)
2057s # Testing script Soyo (code 1399814511)
2057s # Testing script Zanb (code 1516334690)
2057s # Testing script Dogr (code 1148151666)
2057s # Testing script Gong (code 1198485095)
2057s # Testing script Rohg (code 1383032935)
2057s # Testing script Maka (code 1298230113)
2057s # Testing script Medf (code 1298490470)
2057s # Testing script Sogo (code 1399809903)
2057s # Testing script Sogd (code 1399809892)
2057s # Testing script Elym (code 1164736877)
2057s # Testing script Nand (code 1315008100)
2057s # Testing script Hmnp (code 1215131248)
2057s # Testing script Wcho (code 1466132591)
2057s # Testing script Chrs (code 1130918515)
2057s # Testing script Diak (code 1147756907)
2057s # Testing script Kits (code 1265202291)
2057s # Testing script Yezi (code 1499822697)
2057s # Testing script Cpmn (code 1131441518)
2057s # Testing script Ougr (code 1333094258)
2057s # Testing script Tnsa (code 1416524641)
2057s # Testing script Toto (code 1416590447)
2057s # Testing script Vith (code 1449751656)
2057s # Testing script Kawi (code 1264678761)
2057s # Testing script Nagm (code 1315006317)
2057s ok 21 /unicode/iso15924
2057s ok 22 /unicode/lower
2057s ok 23 /unicode/mark
2057s ok 24 /unicode/mirror
2057s ok 25 /unicode/print
2057s ok 26 /unicode/punctuation
2057s ok 27 /unicode/script
2057s ok 28 /unicode/space
2057s ok 29 /unicode/strdown
2057s ok 30 /unicode/strup
2057s ok 31 /unicode/turkish-strupdown
2057s ok 32 /unicode/title
2057s ok 33 /unicode/upper
2057s ok 34 /unicode/validate
2057s ok 35 /unicode/wide
2057s ok 36 /unicode/xdigit
2057s ok 37 /unicode/xdigit-value
2057s ok 38 /unicode/zero-width
2057s ok 39 /unicode/normalize
2057s # End of unicode tests
2057s ok - glib/unicode.test
2057s # Running test: glib/gdbus-peer-object-manager.test
2057s TAP version 14
2057s # random seed: R02S8a6ec69a79e0e41bb44509804e5ea3b3
2057s 1..2
2057s # Start of gdbus tests
2057s # Start of peer-object-manager tests
2057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/home
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/cache
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/system-config2
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/config
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/system-data2
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/data
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/state
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/normal/.dirs/runtime
2057s ok 1 /gdbus/peer-object-manager/normal
2057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/home
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/cache
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/system-config2
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/config
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/system-data2
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/data
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/state
2057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_T3NQX2/gdbus/peer-object-manager/root/.dirs/runtime
2057s ok 2 /gdbus/peer-object-manager/root
2057s # End of peer-object-manager tests
2057s # End of gdbus tests
2057s ok - glib/gdbus-peer-object-manager.test
2057s # Running test: glib/objects-refcount1.test
2057s TAP version 14
2057s # random seed: R02Saabf2fc6729a756d9c369206fd48d6de
2057s 1..1
2057s # Start of gobject tests
2057s # Start of refcount tests
2057s # init 0xac911e0
2057s #
2057s # init 0xac91330
2057s #
2061s # Executing: glib/objects-refcount1.test
2062s # dispose 0xac911e0!
2062s #
2062s # dispose 0xac91330!
2062s #
2062s ok 1 /gobject/refcount/object-basics
2062s # slow test /gobject/refcount/object-basics executed in 5.00 secs
2062s # End of refcount tests
2062s # End of gobject tests
2062s ok - glib/objects-refcount1.test
2062s # Running test: glib/portal-support-env-var.test
2062s TAP version 14
2062s # random seed: R02Sc1fdff846742d994c7fce679cc2f6794
2062s 1..1
2062s # Start of portal-support tests
2062s ok 1 /portal-support/env-var
2062s # End of portal-support tests
2062s ok - glib/portal-support-env-var.test
2062s # Running test: glib/null-settings-backend.test
2062s TAP version 14
2062s # random seed: R02Sb195804c494cdc3358fa02666c734f3f
2062s 1..1
2062s # Start of null-settings-backend tests
2062s ok 1 /null-settings-backend/extension-point-registered
2062s # End of null-settings-backend tests
2062s ok - glib/null-settings-backend.test
2062s # Running test: glib/throws.test
2062s TAP version 14
2062s # random seed: R02S52ac490c010e1696eff9c1b3f8264877
2062s 1..3
2062s # Start of throws tests
2062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/home
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/cache
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/system-config2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/config
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/system-data2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/data
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/state
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RN2PX2/throws/invoke-gerror/.dirs/runtime
2062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2062s # /throws/invoke-gerror summary: Test invoking a function that throws a GError
2062s ok 1 /throws/invoke-gerror
2062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/home
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/cache
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/system-config2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/config
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/system-data2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/data
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/state
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RN2PX2/throws/vfunc-can-throw-gerror/.dirs/runtime
2062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2062s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc
2062s ok 2 /throws/vfunc-can-throw-gerror
2062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/home
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/cache
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/system-config2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/config
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/system-data2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/data
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/state
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RN2PX2/throws/callback-can-throw-gerror/.dirs/runtime
2062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2062s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback
2062s ok 3 /throws/callback-can-throw-gerror
2062s # End of throws tests
2062s ok - glib/throws.test
2062s # Running test: glib/once.test
2062s TAP version 14
2062s # random seed: R02S1aff336e60f6425fef792a743236df31
2062s 1..5
2062s # Start of once tests
2062s # /once/single-threaded summary: Test g_once() usage from a single thread
2062s ok 1 /once/single-threaded
2062s # /once/multi-threaded summary: Test g_once() usage from multiple threads
2062s ok 2 /once/multi-threaded
2062s # End of once tests
2062s # Start of once-init tests
2062s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread
2062s ok 3 /once-init/single-threaded
2062s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads
2062s ok 4 /once-init/multi-threaded
2062s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string
2062s ok 5 /once-init/string
2062s # End of once-init tests
2062s ok - glib/once.test
2062s # Running test: glib/environment.test
2062s TAP version 14
2062s # random seed: R02S39f2b4e071a15b17f825c456ff74e61f
2062s 1..6
2062s # Start of environ tests
2062s # /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.
2062s ok 1 /environ/listenv
2062s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv().
2062s ok 2 /environ/getenv
2062s ok 3 /environ/setenv
2062s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp).
2062s ok 4 /environ/array
2062s # /environ/null summary: Test getting and setting variables on a NULL envp array.
2062s ok 5 /environ/null
2062s # /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.
2062s ok 6 /environ/case
2062s # End of environ tests
2062s ok - glib/environment.test
2062s # Running test: glib/tls-certificate.test
2062s TAP version 14
2062s # random seed: R02Sa48af0ece3ae33f12261bca8edd4d4d0
2062s 1..19
2062s # Start of tls-certificate tests
2062s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
2062s ok 1 /tls-certificate/pem-parser
2062s ok 2 /tls-certificate/pem-parser-handles-chain
2062s ok 3 /tls-certificate/from_file
2062s ok 4 /tls-certificate/from_files
2062s ok 5 /tls-certificate/from_files_crlf
2062s ok 6 /tls-certificate/from_files_pkcs8
2062s ok 7 /tls-certificate/from_files_pkcs8enc
2062s ok 8 /tls-certificate/list_from_file
2062s ok 9 /tls-certificate/pkcs11-uri
2062s ok 10 /tls-certificate/pkcs11-uri-unsupported
2062s ok 11 /tls-certificate/from_pkcs12
2062s ok 12 /tls-certificate/from_pkcs12_file
2062s ok 13 /tls-certificate/not-valid-before
2062s ok 14 /tls-certificate/not-valid-after
2062s ok 15 /tls-certificate/subject-name
2062s ok 16 /tls-certificate/issuer-name
2062s ok 17 /tls-certificate/dns-names
2062s ok 18 /tls-certificate/ip-addresses
2062s ok 19 /tls-certificate/pem-parser-no-sentinel
2062s # End of tls-certificate tests
2062s ok - glib/tls-certificate.test
2062s # Running test: glib/cxx-98.test
2062s TAP version 14
2062s # random seed: R02Se3230756bb925258ffd9a74772ad2280
2062s 1..2
2062s # Start of gtask tests
2062s # 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.
2062s ok 1 /gtask/name
2062s # Start of name tests
2062s # 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.
2062s ok 2 /gtask/name/macro-wrapper
2062s # End of name tests
2062s # End of gtask tests
2062s ok - glib/cxx-98.test
2062s # Running test: glib/boxed.test
2062s TAP version 14
2062s # random seed: R02S60d25768f233e5565c23505b2c4b30c5
2062s 1..27
2062s # Start of boxed tests
2062s ok 1 /boxed/define
2062s ok 2 /boxed/ownership
2062s ok 3 /boxed/closure
2062s ok 4 /boxed/date
2062s ok 5 /boxed/value
2062s ok 6 /boxed/string
2062s ok 7 /boxed/hashtable
2062s ok 8 /boxed/array
2062s ok 9 /boxed/ptrarray
2062s ok 10 /boxed/regex
2062s ok 11 /boxed/varianttype
2062s ok 12 /boxed/error
2062s ok 13 /boxed/datetime
2062s ok 14 /boxed/matchinfo
2062s ok 15 /boxed/keyfile
2062s ok 16 /boxed/mainloop
2062s ok 17 /boxed/maincontext
2062s ok 18 /boxed/source
2062s ok 19 /boxed/variantbuilder
2062s ok 20 /boxed/timezone
2062s ok 21 /boxed/pollfd
2062s ok 22 /boxed/markup
2062s ok 23 /boxed/thread
2062s ok 24 /boxed/checksum
2062s ok 25 /boxed/tree
2062s ok 26 /boxed/patternspec
2062s ok 27 /boxed/rand
2062s # End of boxed tests
2062s ok - glib/boxed.test
2062s # Running test: glib/union-info.test
2062s TAP version 14
2062s # random seed: R02S333580f421b08e394d8d262b5bce6a16
2062s 1..2
2062s # Start of union-info tests
2062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_UHNPX2/union-info/basic/.dirs/home
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_UHNPX2/union-info/basic/.dirs/cache
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_UHNPX2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_UHNPX2/union-info/basic/.dirs/system-config2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_UHNPX2/union-info/basic/.dirs/config
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_UHNPX2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_UHNPX2/union-info/basic/.dirs/system-data2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_UHNPX2/union-info/basic/.dirs/data
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_UHNPX2/union-info/basic/.dirs/state
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_UHNPX2/union-info/basic/.dirs/runtime
2062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2062s # /union-info/basic summary: Test basic properties of GIUnionInfo
2062s ok 1 /union-info/basic
2062s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_UHNPX2/union-info/methods/.dirs/home
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_UHNPX2/union-info/methods/.dirs/cache
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_UHNPX2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_UHNPX2/union-info/methods/.dirs/system-config2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_UHNPX2/union-info/methods/.dirs/config
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_UHNPX2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_UHNPX2/union-info/methods/.dirs/system-data2
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_UHNPX2/union-info/methods/.dirs/data
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_UHNPX2/union-info/methods/.dirs/state
2062s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_UHNPX2/union-info/methods/.dirs/runtime
2062s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2062s # /union-info/methods summary: Test retrieving methods from GIUnionInfo
2062s ok 2 /union-info/methods
2062s # End of union-info tests
2062s ok - glib/union-info.test
2062s # Running test: glib/atomic.test
2062s TAP version 14
2062s # random seed: R02Sbb79c9cc3bd5178727e147bf99912fbb
2062s 1..2
2062s # Start of atomic tests
2062s ok 1 /atomic/types
2063s ok 2 /atomic/threaded
2063s # End of atomic tests
2063s ok - glib/atomic.test
2063s # Running test: glib/gdbus-introspection.test
2063s TAP version 14
2063s # random seed: R02S7dcf12679bbf01cc26e7b8079a7bd68b
2063s 1..4
2063s # Start of gdbus tests
2063s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/home
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/cache
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/system-config2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/config
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/system-data2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/data
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/state
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-parser/.dirs/runtime
2063s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2063s ok 1 /gdbus/introspection-parser
2063s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/home
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/cache
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/system-config2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/config
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/system-data2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/data
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/state
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-generate/.dirs/runtime
2063s ok 2 /gdbus/introspection-generate
2063s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/home
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/cache
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/system-config2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/config
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/system-data2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/data
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/state
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-default-direction/.dirs/runtime
2063s ok 3 /gdbus/introspection-default-direction
2063s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/home
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/cache
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/system-config2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/config
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/system-data2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/data
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/state
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_892MX2/gdbus/introspection-extra-data/.dirs/runtime
2063s ok 4 /gdbus/introspection-extra-data
2063s # End of gdbus tests
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s ok - glib/gdbus-introspection.test
2063s # Running test: glib/cxx-14.test
2063s TAP version 14
2063s # random seed: R02S1cea66501e376534439968dbb244fd68
2063s 1..2
2063s # Start of gtask tests
2063s # 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.
2063s ok 1 /gtask/name
2063s # Start of name tests
2063s # 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.
2063s ok 2 /gtask/name/macro-wrapper
2063s # End of name tests
2063s # End of gtask tests
2063s ok - glib/cxx-14.test
2063s # Running test: glib/option-context.test
2063s TAP version 14
2063s # random seed: R02S8b75150f7450757c71a089691cda1648
2063s 1..57
2063s # Start of option tests
2063s ok 1 /option/basic
2063s ok 2 /option/translate
2063s ok 3 /option/strict-posix
2063s # Start of help tests
2063s ok 4 /option/help/options
2063s ok 5 /option/help/no-options
2063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652
2063s ok 6 /option/help/no-help-options
2063s # End of help tests
2063s # Start of group tests
2063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142
2063s ok 7 /option/group/captions
2063s ok 8 /option/group/main
2063s ok 9 /option/group/error-hook
2063s ok 10 /option/group/parse
2063s # Start of captions tests
2063s # Start of subprocess tests
2063s # End of subprocess tests
2063s # End of captions tests
2063s # End of group tests
2063s # Start of restoration tests
2063s ok 11 /option/restoration/int
2063s ok 12 /option/restoration/string
2063s ok 13 /option/restoration/boolean
2063s # End of restoration tests
2063s # Start of arg tests
2063s ok 14 /option/arg/reverse-string
2063s ok 15 /option/arg/optional-int
2063s # Start of repetition tests
2063s ok 16 /option/arg/repetition/int
2063s ok 17 /option/arg/repetition/string
2063s ok 18 /option/arg/repetition/filename
2063s ok 19 /option/arg/repetition/double
2063s ok 20 /option/arg/repetition/locale
2063s ok 21 /option/arg/repetition/int64
2063s # End of repetition tests
2063s # Start of array tests
2063s ok 22 /option/arg/array/string
2063s # End of array tests
2063s # Start of callback tests
2063s ok 23 /option/arg/callback/string
2063s ok 24 /option/arg/callback/count
2063s ok 25 /option/arg/callback/optional1
2063s ok 26 /option/arg/callback/optional2
2063s ok 27 /option/arg/callback/optional3
2063s ok 28 /option/arg/callback/optional4
2063s ok 29 /option/arg/callback/optional5
2063s ok 30 /option/arg/callback/optional6
2063s ok 31 /option/arg/callback/optional7
2063s ok 32 /option/arg/callback/optional8
2063s # End of callback tests
2063s # Start of remaining tests
2063s ok 33 /option/arg/remaining/callback
2063s ok 34 /option/arg/remaining/callback-false
2063s ok 35 /option/arg/remaining/non-option
2063s ok 36 /option/arg/remaining/separator
2063s ok 37 /option/arg/remaining/array
2063s # End of remaining tests
2063s # Start of ignore tests
2063s ok 38 /option/arg/ignore/long
2063s ok 39 /option/arg/ignore/short
2063s ok 40 /option/arg/ignore/arg
2063s # End of ignore tests
2063s # Start of rest tests
2063s ok 41 /option/arg/rest/non-option
2063s ok 42 /option/arg/rest/separator1
2063s ok 43 /option/arg/rest/separator2
2063s ok 44 /option/arg/rest/separator3
2063s ok 45 /option/arg/rest/separator4
2063s ok 46 /option/arg/rest/separator5
2063s # End of rest tests
2063s # End of arg tests
2063s # Start of context tests
2063s ok 47 /option/context/add
2063s ok 48 /option/context/empty2
2063s ok 49 /option/context/empty3
2063s # End of context tests
2063s # Start of bug tests
2063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609
2063s ok 50 /option/bug/unknown-short
2063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008
2063s ok 51 /option/bug/lonely-dash
2063s ok 52 /option/bug/triple-dash
2063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576
2063s ok 53 /option/bug/missing-arg
2063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638
2063s ok 54 /option/bug/dash-arg
2063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563
2063s ok 55 /option/bug/short-remaining
2063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926
2063s ok 56 /option/bug/double-free
2063s ok 57 /option/bug/double-zero
2063s # End of bug tests
2063s # End of option tests
2063s ok - glib/option-context.test
2063s # Running test: glib/refcount-macro.test
2063s TAP version 14
2063s # random seed: R02S5d4fb0ce927be668f9e228b22138577e
2063s 1..4
2063s # Start of refcount tests
2063s ok 1 /refcount/grefcount
2063s ok 2 /refcount/gatomicrefcount
2063s # Start of grefcount tests
2063s ok 3 /refcount/grefcount/saturation
2063s # End of grefcount tests
2063s # Start of gatomicrefcount tests
2063s ok 4 /refcount/gatomicrefcount/saturation
2063s # End of gatomicrefcount tests
2063s # End of refcount tests
2063s ok - glib/refcount-macro.test
2063s # Running test: glib/gdbus-connection-loss.test
2063s TAP version 14
2063s # random seed: R02S69d35f85573b8ebad1c2f4e9e5e71eab
2063s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2063s 1..1
2063s # Start of gdbus tests
2063s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/home
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/cache
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/system-config2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/config
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/system-data2
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/data
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/state
2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_AWV7X2/gdbus/connection-loss/.dirs/runtime
2063s ok 1 /gdbus/connection-loss
2063s # End of gdbus tests
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2063s ok - glib/gdbus-connection-loss.test
2063s # Running test: glib/guuid.test
2063s TAP version 14
2063s # random seed: R02S4c8de9ec92537cfb8570121aab9a7eeb
2063s 1..2
2063s # Start of uuid tests
2063s ok 1 /uuid/string
2063s ok 2 /uuid/random
2063s # End of uuid tests
2063s ok - glib/guuid.test
2063s # Running test: glib/atomic-c-99.test
2063s TAP version 14
2063s # random seed: R02S287482773523a124990333a7aca420a6
2063s 1..2
2063s # Start of atomic tests
2063s ok 1 /atomic/types
2063s ok 2 /atomic/threaded
2063s # End of atomic tests
2063s ok - glib/atomic-c-99.test
2063s # Running test: glib/gdatetime.test
2063s TAP version 14
2063s # random seed: R02S41cbc54a670a218a13dde534bab2611d
2063s 1..68
2063s # Start of GDateTime tests
2063s # Bug Reference: http://bugzilla.gnome.org/702674
2063s ok 1 /GDateTime/invalid
2063s ok 2 /GDateTime/add_days
2063s ok 3 /GDateTime/add_full
2063s ok 4 /GDateTime/add_hours
2063s ok 5 /GDateTime/add_minutes
2063s ok 6 /GDateTime/add_months
2063s ok 7 /GDateTime/add_seconds
2063s ok 8 /GDateTime/add_weeks
2063s ok 9 /GDateTime/add_years
2063s ok 10 /GDateTime/compare
2063s ok 11 /GDateTime/diff
2063s ok 12 /GDateTime/equal
2063s ok 13 /GDateTime/get_day_of_week
2063s ok 14 /GDateTime/get_day_of_month
2063s ok 15 /GDateTime/get_day_of_year
2063s ok 16 /GDateTime/get_hour
2063s ok 17 /GDateTime/get_microsecond
2063s ok 18 /GDateTime/get_minute
2063s ok 19 /GDateTime/get_month
2063s ok 20 /GDateTime/get_second
2063s ok 21 /GDateTime/get_utc_offset
2063s ok 22 /GDateTime/get_year
2063s ok 23 /GDateTime/hash
2063s ok 24 /GDateTime/new_from_unix
2063s ok 25 /GDateTime/new_from_unix_utc
2063s ok 26 /GDateTime/new_from_timeval
2063s ok 27 /GDateTime/new_from_timeval_utc
2063s ok 28 /GDateTime/new_from_iso8601
2063s ok 29 /GDateTime/new_full
2063s ok 30 /GDateTime/now
2063s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215
2063s ok 31 /GDateTime/test-6-days-until-end-of-the-month
2063s # %a -> expected: Sat
2063s # %a -> actual: Sat
2063s # %A -> expected: Saturday
2063s # %A -> actual: Saturday
2063s # %b -> expected: Oct
2063s # %b -> actual: Oct
2063s # %B -> expected: October
2063s # %B -> actual: October
2063s # %d -> expected: 24
2063s # %d -> actual: 24
2063s # %d -> expected: 01
2063s # %d -> actual: 01
2063s # %e -> expected: 24
2063s # %e -> actual: 24
2063s # %e -> expected:  1
2063s # %e -> actual:  1
2063s # %f -> expected: 001000
2063s # %f -> actual: 001000
2063s # %h -> expected: Oct
2063s # %h -> actual: Oct
2063s # %H -> expected: 00
2063s # %H -> actual: 00
2063s # %H -> expected: 15
2063s # %H -> actual: 15
2063s # %I -> expected: 12
2063s # %I -> actual: 12
2063s # %I -> expected: 12
2063s # %I -> actual: 12
2063s # %I -> expected: 03
2063s # %I -> actual: 03
2063s # %j -> expected: 297
2063s # %j -> actual: 297
2063s # %k -> expected:  0
2063s # %k -> actual:  0
2063s # %k -> expected: 13
2063s # %k -> actual: 13
2063s # %l -> expected: 12
2063s # %l -> actual: 12
2063s # %I -> expected: 12
2063s # %I -> actual: 12
2063s # %l -> expected:  1
2063s # %l -> actual:  1
2063s # %l -> expected: 10
2063s # %l -> actual: 10
2063s # %m -> expected: 10
2063s # %m -> actual: 10
2063s # %M -> expected: 00
2063s # %M -> actual: 00
2063s # %p -> expected: AM
2063s # %p -> actual: AM
2063s # %p -> expected: PM
2063s # %p -> actual: PM
2063s # %P -> expected: am
2063s # %P -> actual: am
2063s # %P -> expected: pm
2063s # %P -> actual: pm
2063s # %r -> expected: 12:00:00 AM
2063s # %r -> actual: 12:00:00 AM
2063s # %r -> expected: 01:13:13 PM
2063s # %r -> actual: 01:13:13 PM
2063s # %R -> expected: 00:00
2063s # %R -> actual: 00:00
2063s # %R -> expected: 13:13
2063s # %R -> actual: 13:13
2063s # %S -> expected: 00
2063s # %S -> actual: 00
2063s # %t -> expected:
2063s # %t -> actual:
2063s # %u -> expected: 6
2063s # %u -> actual: 6
2063s # %x -> expected: 10/24/09
2063s # %x -> actual: 10/24/09
2063s # %X -> expected: 00:00:00
2063s # %X -> actual: 00:00:00
2063s # %X -> expected: 13:14:15
2063s # %X -> actual: 13:14:15
2063s # %y -> expected: 09
2063s # %y -> actual: 09
2063s # %Y -> expected: 2009
2063s # %Y -> actual: 2009
2063s # %% -> expected: %
2063s # %% -> actual: %
2063s # % -> expected:
2063s # % -> actual:
2063s # %9 -> expected: (null)
2063s # %9 -> actual: (null)
2063s # %Z -> expected: UTC
2063s # %Z -> actual: UTC
2063s ok 32 /GDateTime/printf
2063s # %a -> expected: ÅÚ
2063s # %a -> actual: ÅÚ
2063s # %A -> expected: ÅÚÍËÆü
2063s # %A -> actual: ÅÚÍËÆü
2063s # %b -> expected: 10·î
2063s # %b -> actual: 10·î
2063s # %B -> expected: 10·î
2063s # %B -> actual: 10·î
2063s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
2063s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
2063s # %C -> expected: 20
2063s # %C -> actual: 20
2063s # %d -> expected: 24
2063s # %d -> actual: 24
2063s # %d -> expected: 01
2063s # %d -> actual: 01
2063s # %e -> expected: 24
2063s # %e -> actual: 24
2063s # %h -> expected: 10·î
2063s # %h -> actual: 10·î
2063s # %H -> expected: 00
2063s # %H -> actual: 00
2063s # %H -> expected: 15
2063s # %H -> actual: 15
2063s # %I -> expected: 12
2063s # %I -> actual: 12
2063s # %I -> expected: 12
2063s # %I -> actual: 12
2063s # %I -> expected: 03
2063s # %I -> actual: 03
2063s # %j -> expected: 297
2063s # %j -> actual: 297
2063s # %k -> expected: ?0
2063s # %k -> actual: ?0
2063s # %k -> expected: 13
2063s # %k -> actual: 13
2063s # %l -> expected: 12
2063s # %l -> actual: 12
2063s # %I -> expected: 12
2063s # %I -> actual: 12
2063s # %l -> expected: ?1
2063s # %l -> actual: ?1
2063s # %l -> expected: 10
2063s # %l -> actual: 10
2063s # %m -> expected: 10
2063s # %m -> actual: 10
2063s # %M -> expected: 00
2063s # %M -> actual: 00
2063s # %p -> expected: ¸áÁ°
2063s # %p -> actual: ¸áÁ°
2063s # %p -> expected: ¸á¸å
2063s # %p -> actual: ¸á¸å
2063s # %P -> expected: ¸áÁ°
2063s # %P -> actual: ¸áÁ°
2063s # %P -> expected: ¸á¸å
2063s # %P -> actual: ¸á¸å
2063s # %r -> expected: ¸áÁ°12»þ00ʬ00ÉÃ
2063s # %r -> actual: ¸áÁ°12»þ00ʬ00ÉÃ
2063s # %r -> expected: ¸á¸å01»þ13ʬ13ÉÃ
2063s # %r -> actual: ¸á¸å01»þ13ʬ13ÉÃ
2063s # %R -> expected: 00:00
2063s # %R -> actual: 00:00
2063s # %R -> expected: 13:13
2063s # %R -> actual: 13:13
2063s # %S -> expected: 00
2063s # %S -> actual: 00
2063s # %t -> expected:
2063s # %t -> actual:
2063s # %u -> expected: 6
2063s # %u -> actual: 6
2063s # %x -> expected: 2009ǯ10·î24Æü
2063s # %x -> actual: 2009ǯ10·î24Æü
2063s # %X -> expected: 00»þ00ʬ00ÉÃ
2063s # %X -> actual: 00»þ00ʬ00ÉÃ
2063s # %X -> expected: 13»þ14ʬ15ÉÃ
2063s # %X -> actual: 13»þ14ʬ15ÉÃ
2063s # %y -> expected: 09
2063s # %y -> actual: 09
2063s # %Y -> expected: 2009
2063s # %Y -> actual: 2009
2063s # %% -> expected: %
2063s # %% -> actual: %
2063s # % -> expected:
2063s # % -> actual:
2063s # %9 -> expected: (null)
2063s # %9 -> actual: (null)
2063s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00ÉÃ
2063s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00ÉÃ
2063s # %EC -> expected: Ê¿À®
2063s # %EC -> actual: Ê¿À®
2063s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü
2063s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü
2063s # %EX -> expected: 00»þ00ʬ00ÉÃ
2063s # %EX -> actual: 00»þ00ʬ00ÉÃ
2063s # %Ey -> expected: 21
2063s # %Ey -> actual: 21
2063s # %EY -> expected: Ê¿À®21ǯ
2063s # %EY -> actual: Ê¿À®21ǯ
2063s ok 33 /GDateTime/non_utf8_printf
2063s # ???? -> expected: ????
2063s # ???? -> actual: ????
2063s # %H?%M -> expected: 23?15
2063s # %H?%M -> actual: 23?15
2063s # %H?%M -> expected: 23?15
2063s # %H?%M -> actual: 23?15
2063s ok 34 /GDateTime/format_unrepresentable
2063s ok 35 /GDateTime/format_iso8601
2063s ok 36 /GDateTime/strftime
2063s # %d -> expected: 01
2063s # %d -> actual: 01
2063s # %_d -> expected: 1
2063s # %_d -> actual: 1
2063s # %-d -> expected: 1
2063s # %-d -> actual: 1
2063s # %0d -> expected: 01
2063s # %0d -> actual: 01
2063s # %d -> expected: 21
2063s # %d -> actual: 21
2063s # %_d -> expected: 21
2063s # %_d -> actual: 21
2063s # %-d -> expected: 21
2063s # %-d -> actual: 21
2063s # %0d -> expected: 21
2063s # %0d -> actual: 21
2063s # %e -> expected:  1
2063s # %e -> actual:  1
2063s # %_e -> expected: 1
2063s # %_e -> actual: 1
2063s # %-e -> expected: 1
2063s # %-e -> actual: 1
2063s # %0e -> expected: 01
2063s # %0e -> actual: 01
2063s # %e -> expected: 21
2063s # %e -> actual: 21
2063s # %_e -> expected: 21
2063s # %_e -> actual: 21
2063s # %-e -> expected: 21
2063s # %-e -> actual: 21
2063s # %0e -> expected: 21
2063s # %0e -> actual: 21
2063s # %a -> expected: Thu
2063s # %a -> actual: Thu
2063s # %^a -> expected: THU
2063s # %^a -> actual: THU
2063s # %#a -> expected: THU
2063s # %#a -> actual: THU
2063s # %A -> expected: Thursday
2063s # %A -> actual: Thursday
2063s # %^A -> expected: THURSDAY
2063s # %^A -> actual: THURSDAY
2063s # %#A -> expected: THURSDAY
2063s # %#A -> actual: THURSDAY
2063s # %b -> expected: Jan
2063s # %b -> actual: Jan
2063s # %^b -> expected: JAN
2063s # %^b -> actual: JAN
2063s # %#b -> expected: JAN
2063s # %#b -> actual: JAN
2063s # %B -> expected: January
2063s # %B -> actual: January
2063s # %^B -> expected: JANUARY
2063s # %^B -> actual: JANUARY
2063s # %#B -> expected: JANUARY
2063s # %#B -> actual: JANUARY
2063s # %h -> expected: Jan
2063s # %h -> actual: Jan
2063s # %^h -> expected: JAN
2063s # %^h -> actual: JAN
2063s # %#h -> expected: JAN
2063s # %#h -> actual: JAN
2063s # %Z -> expected: UTC
2063s # %Z -> actual: UTC
2063s # %^Z -> expected: UTC
2063s # %^Z -> actual: UTC
2063s # %#Z -> expected: utc
2063s # %#Z -> actual: utc
2063s # %H -> expected: 01
2063s # %H -> actual: 01
2063s # %_H -> expected: 1
2063s # %_H -> actual: 1
2063s # %-H -> expected: 1
2063s # %-H -> actual: 1
2063s # %0H -> expected: 01
2063s # %0H -> actual: 01
2063s # %H -> expected: 21
2063s # %H -> actual: 21
2063s # %_H -> expected: 21
2063s # %_H -> actual: 21
2063s # %-H -> expected: 21
2063s # %-H -> actual: 21
2063s # %0H -> expected: 21
2063s # %0H -> actual: 21
2063s # %I -> expected: 01
2063s # %I -> actual: 01
2063s # %_I -> expected: 1
2063s # %_I -> actual: 1
2063s # %-I -> expected: 1
2063s # %-I -> actual: 1
2063s # %0I -> expected: 01
2063s # %0I -> actual: 01
2063s # %I -> expected: 11
2063s # %I -> actual: 11
2063s # %_I -> expected: 11
2063s # %_I -> actual: 11
2063s # %-I -> expected: 11
2063s # %-I -> actual: 11
2063s # %0I -> expected: 11
2063s # %0I -> actual: 11
2063s # %k -> expected:  1
2063s # %k -> actual:  1
2063s # %_k -> expected: 1
2063s # %_k -> actual: 1
2063s # %-k -> expected: 1
2063s # %-k -> actual: 1
2063s # %0k -> expected: 01
2063s # %0k -> actual: 01
2063s # %l -> expected:  1
2063s # %l -> actual:  1
2063s # %_l -> expected: 1
2063s # %_l -> actual: 1
2063s # %-l -> expected: 1
2063s # %-l -> actual: 1
2063s # %0l -> expected: 01
2063s # %0l -> actual: 01
2063s # %l -> expected: 11
2063s # %l -> actual: 11
2063s # %_l -> expected: 11
2063s # %_l -> actual: 11
2063s # %-l -> expected: 11
2063s # %-l -> actual: 11
2063s # %0l -> expected: 11
2063s # %0l -> actual: 11
2063s # %p -> expected: AM
2063s # %p -> actual: AM
2063s # %^p -> expected: AM
2063s # %^p -> actual: AM
2063s # %#p -> expected: am
2063s # %#p -> actual: am
2063s # %P -> expected: am
2063s # %P -> actual: am
2063s # %^P -> expected: AM
2063s # %^P -> actual: AM
2063s # %#P -> expected: am
2063s # %#P -> actual: am
2063s # %OH -> expected: Û²Û³
2063s # %OH -> actual: Û²Û³
2063s # %OI -> expected: Û±Û±
2063s # %OI -> actual: Û±Û±
2063s # %OM -> expected: Û°Û°
2063s # %OM -> actual: Û°Û°
2063s # %Om -> expected: Û°Û·
2063s # %Om -> actual: Û°Û·
2063s # %0Om -> expected: Û°Û·
2063s # %0Om -> actual: Û°Û·
2063s # %-Om -> expected: Û·
2063s # %-Om -> actual: Û·
2063s # %_Om -> expected: Û·
2063s # %_Om -> actual: Û·
2063s # %c -> expected: thu 01 jan 2009 00:00:00 utc
2063s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC
2063s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc
2063s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC
2063s # %C -> expected: 20
2063s # %C -> actual: 20
2063s # %EC -> expected: 20
2063s # %EC -> actual: 20
2063s # %x -> expected: 02/01/09
2063s # %x -> actual: 02/01/09
2063s # %Ex -> expected: 02/01/09
2063s # %Ex -> actual: 02/01/09
2063s # %X -> expected: 01:02:03
2063s # %X -> actual: 01:02:03
2063s # %EX -> expected: 01:02:03
2063s # %EX -> actual: 01:02:03
2063s # %y -> expected: 09
2063s # %y -> actual: 09
2063s # %Ey -> expected: 09
2063s # %Ey -> actual: 09
2063s # %Y -> expected: 2009
2063s # %Y -> actual: 2009
2063s # %EY -> expected: 2009
2063s # %EY -> actual: 2009
2063s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests
2063s # Bug Reference: http://bugzilla.gnome.org/749206
2063s # %B -> expected: January
2063s # %B -> actual: January
2063s # %OB -> expected: February
2063s # %OB -> actual: February
2063s # %b -> expected: Mar
2063s # %b -> actual: Mar
2063s # %Ob -> expected: Apr
2063s # %Ob -> actual: Apr
2063s # %h -> expected: May
2063s # %h -> actual: May
2063s # %Oh -> expected: Jun
2063s # %Oh -> actual: Jun
2063s # %B -> expected: Juli
2063s # %B -> actual: Juli
2063s # %OB -> expected: August
2063s # %OB -> actual: August
2063s # %b -> expected: Sep
2063s # %b -> actual: Sep
2063s # %Ob -> expected: Okt
2063s # %Ob -> actual: Okt
2063s # %h -> expected: Nov
2063s # %h -> actual: Nov
2063s # %Oh -> expected: Dez
2063s # %Oh -> actual: Dez
2063s # %B -> expected: enero
2063s # %B -> actual: enero
2063s # %OB -> expected: febrero
2063s # %OB -> actual: febrero
2063s # %b -> expected: mar
2063s # %b -> actual: mar
2063s # %Ob -> expected: abr
2063s # %Ob -> actual: abr
2063s # %h -> expected: may
2063s # %h -> actual: may
2063s # %Oh -> expected: jun
2063s # %Oh -> actual: jun
2063s # %B -> expected: juillet
2063s # %B -> actual: juillet
2063s # %OB -> expected: août
2063s # %OB -> actual: août
2063s # %b -> expected: sept.
2063s # %b -> actual: sept.
2063s # %Ob -> expected: oct.
2063s # %Ob -> actual: oct.
2063s # %h -> expected: nov.
2063s # %h -> actual: nov.
2063s # %Oh -> expected: déc.
2063s # %Oh -> actual: déc.
2063s # %B -> expected: ΙανουαÏίου
2063s # %B -> actual: ΙανουαÏίου
2063s # %B -> expected: ΦεβÏουαÏίου
2063s # %B -> actual: ΦεβÏουαÏίου
2063s # %B -> expected: ΜαÏτίου
2063s # %B -> actual: ΜαÏτίου
2063s # %OB -> expected: ΑπÏίλιος
2063s # %OB -> actual: ΑπÏίλιος
2063s # %OB -> expected: Μάιος
2063s # %OB -> actual: Μάιος
2063s # %OB -> expected: ΙοÏνιος
2063s # %OB -> actual: ΙοÏνιος
2063s # %b -> expected: Ιουλ
2063s # %b -> actual: Ιουλ
2063s # %Ob -> expected: ΑÏγ
2063s # %Ob -> actual: ΑÏγ
2063s # %B -> expected: svibnja
2063s # %B -> actual: svibnja
2063s # %B -> expected: lipnja
2063s # %B -> actual: lipnja
2063s # %B -> expected: srpnja
2063s # %B -> actual: srpnja
2063s # %OB -> expected: Kolovoz
2063s # %OB -> actual: kolovoz
2063s # %OB -> expected: Rujan
2063s # %OB -> actual: rujan
2063s # %OB -> expected: Listopad
2063s # %OB -> actual: listopad
2063s # %b -> expected: Stu
2063s # %b -> actual: stu
2063s # %Ob -> expected: Pro
2063s # %Ob -> actual: pro
2063s # %B -> expected: sausio
2063s # %B -> actual: sausio
2063s # %B -> expected: vasario
2063s # %B -> actual: vasario
2063s # %B -> expected: kovo
2063s # %B -> actual: kovo
2063s # %OB -> expected: balandis
2063s # %OB -> actual: balandis
2063s # %OB -> expected: gegužė
2063s # %OB -> actual: gegužė
2063s # %OB -> expected: birželis
2063s # %OB -> actual: birželis
2063s # %b -> expected: liep.
2063s # %b -> actual: liep.
2063s # %Ob -> expected: rugp.
2063s # %Ob -> actual: rugp.
2063s # %B -> expected: maja
2063s # %B -> actual: maja
2063s # %B -> expected: czerwca
2063s # %B -> actual: czerwca
2063s # %B -> expected: lipca
2063s # %B -> actual: lipca
2063s # %OB -> expected: sierpień
2063s # %OB -> actual: sierpień
2063s # %OB -> expected: wrzesień
2063s # %OB -> actual: wrzesień
2063s # %OB -> expected: październik
2063s # %OB -> actual: październik
2063s # %b -> expected: lis
2063s # %b -> actual: lis
2063s # %Ob -> expected: gru
2063s # %Ob -> actual: gru
2063s # %B -> expected: ÑнварÑ
2063s # %B -> actual: ÑнварÑ
2063s # %B -> expected: февралÑ
2063s # %B -> actual: февралÑ
2063s # %B -> expected: марта
2063s # %B -> actual: марта
2063s # %OB -> expected: Ðпрель
2063s # %OB -> actual: Ðпрель
2063s # %OB -> expected: Май
2063s # %OB -> actual: Май
2063s # %OB -> expected: Июнь
2063s # %OB -> actual: Июнь
2063s # %b -> expected: июл
2063s # %b -> actual: июл
2063s # %Ob -> expected: авг
2063s # %Ob -> actual: авг
2063s # %b -> expected: маÑ
2063s # %b -> actual: маÑ
2063s # %Ob -> expected: май
2063s # %Ob -> actual: май
2063s ok 38 /GDateTime/month_names
2063s ok 39 /GDateTime/to_local
2063s ok 40 /GDateTime/to_unix
2063s ok 41 /GDateTime/to_timeval
2063s ok 42 /GDateTime/to_utc
2063s ok 43 /GDateTime/now_utc
2063s ok 44 /GDateTime/dst
2063s # Bug Reference: http://bugzilla.gnome.org/642935
2063s ok 45 /GDateTime/test_z
2065s ok 46 /GDateTime/test-all-dates
2065s # slow test /GDateTime/test-all-dates executed in 1.67 secs
2065s ok 47 /GDateTime/unix_usec
2065s # Start of new_from_unix tests
2065s # Bug Reference: http://bugzilla.gnome.org/782089
2065s ok 48 /GDateTime/new_from_unix/overflow
2065s # End of new_from_unix tests
2065s # Start of new_from_timeval tests
2065s # Bug Reference: http://bugzilla.gnome.org/782089
2065s # Maximum supported GTimeVal.tv_sec = 2147483647
2065s ok 49 /GDateTime/new_from_timeval/overflow
2065s # End of new_from_timeval tests
2065s # Start of new_from_iso8601 tests
2065s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors.
2065s # Vector 0: 1990-11-01T10:21:17Z
2065s # Vector 1: 19901101T102117Z
2065s # Vector 2: 1970-01-01T00:00:17.12Z
2065s # Vector 3: 1970-01-01T00:00:17.1234Z
2065s # Vector 4: 1970-01-01T00:00:17.123456Z
2065s # Vector 5: 1980-02-22T12:36:00+02:00
2065s # Vector 6: 1990-12-31T15:59:60-08:00
2065s # Vector 7:
2065s # Vector 8: x
2065s # Vector 9: 123x
2065s # Vector 10: 2001-10+x
2065s # Vector 11: 1980-02-22T
2065s # Vector 12: 2001-10-08Tx
2065s # Vector 13: 2001-10-08T10:11x
2065s # Vector 14: Wed Dec 19 17:20:20 GMT 2007
2065s # Vector 15: 1980-02-22T10:36:00Zulu
2065s # Vector 16: 2T0+819855292164632335
2065s # Vector 17: 2018-08-03T14:08:05.446178377+01:00
2065s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00
2065s # Vector 19: 2018-13-03T14:08:05.446178377+01:00
2065s # Vector 20: 2018-00-03T14:08:05.446178377+01:00
2065s # Vector 21: 2018-08-00T14:08:05.446178377+01:00
2065s # Vector 22: 2018-08-32T14:08:05.446178377+01:00
2065s # Vector 23: 2018-08-03T24:08:05.446178377+01:00
2065s # Vector 24: 2018-08-03T14:60:05.446178377+01:00
2065s # Vector 25: 2018-08-03T14:08:63.446178377+01:00
2065s # Vector 26: 2018-08-03T14:08:05.446178377+100:00
2065s # Vector 27: 20180803T140805.446178377+0100
2065s # Vector 28: 21474836480803T140805.446178377+0100
2065s # Vector 29: 20181303T140805.446178377+0100
2065s # Vector 30: 20180003T140805.446178377+0100
2065s # Vector 31: 20180800T140805.446178377+0100
2065s # Vector 32: 20180832T140805.446178377+0100
2065s # Vector 33: 20180803T240805.446178377+0100
2065s # Vector 34: 20180803T146005.446178377+0100
2065s # Vector 35: 20180803T140863.446178377+0100
2065s # Vector 36: 20180803T140805.446178377+10000
2065s # Vector 37: -0005-01-01T00:00:00Z
2065s # Vector 38: 2018-08-06
2065s # Vector 39: 20180803T140805,446178377+0100
2065s # Vector 40: 2018-08-03T14:08:05.446178377-01:00
2065s # Vector 41: 2018-08-03T14:08:05.446178377 01:00
2065s # Vector 42: 1990-11-01T10:21:17
2065s # Vector 43: 1719W462 407777-07
2065s # Vector 44: 4011090 260528Z
2065s # Vector 45: 0000W011 228214-22
2065s ok 50 /GDateTime/new_from_iso8601/2
2065s # End of new_from_iso8601 tests
2065s # Start of format_mixed tests
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
2065s # %b -> expected: mar
2065s # %b -> actual: Mar
2065s # %B -> expected: march
2065s # %B -> actual: March
2065s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
2065s # %b -> expected: mar
2065s # %b -> actual: Mar
2065s # %B -> expected: march
2065s # %B -> actual: March
2065s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
2065s # %b -> expected: Mär
2065s # %b -> actual: Mär
2065s # %B -> expected: März
2065s # %B -> actual: März
2065s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
2065s # %b -> expected: Mär
2065s # %b -> actual: Mär
2065s # %B -> expected: März
2065s # %B -> actual: März
2065s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages
2065s # End of format_mixed tests
2065s # Start of strftime tests
2065s # %r -> expected: (null)
2065s # %r -> actual: (null)
2065s ok 55 /GDateTime/strftime/error_handling
2065s # End of strftime tests
2065s # Start of eras tests
2065s # %Ec -> expected: 令和05年06月01日 00時00分00秒
2065s # %Ec -> actual: 令和05年06月01日 00時00分00秒
2065s # %EC -> expected: 令和
2065s # %EC -> actual: 令和
2065s # %Ex -> expected: 令和05年06月01日
2065s # %Ex -> actual: 令和05年06月01日
2065s # %EX -> expected: 00時00分00秒
2065s # %EX -> actual: 00時00分00秒
2065s # %Ey -> expected: 05
2065s # %Ey -> actual: 05
2065s # %EY -> expected: 令和05年
2065s # %EY -> actual: 令和05年
2065s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒
2065s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒
2065s # %EC -> expected: å¹³æˆ
2065s # %EC -> actual: å¹³æˆ
2065s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥
2065s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥
2065s # %EX -> expected: 00時00分00秒
2065s # %EX -> actual: 00時00分00秒
2065s # %Ey -> expected: 31
2065s # %Ey -> actual: 31
2065s # %EY -> expected: å¹³æˆ31å¹´
2065s # %EY -> actual: å¹³æˆ31å¹´
2065s # %Ec -> expected: æ˜å’Œå…ƒå¹´12月25æ—¥ 00時00分00秒
2065s # %Ec -> actual: æ˜å’Œå…ƒå¹´12月25æ—¥ 00時00分00秒
2065s # %EC -> expected: æ˜å’Œ
2065s # %EC -> actual: æ˜å’Œ
2065s # %Ex -> expected: æ˜å’Œå…ƒå¹´12月25æ—¥
2065s # %Ex -> actual: æ˜å’Œå…ƒå¹´12月25æ—¥
2065s # %EX -> expected: 00時00分00秒
2065s # %EX -> actual: 00時00分00秒
2065s # %Ey -> expected: 01
2065s # %Ey -> actual: 01
2065s # %EY -> expected: æ˜å’Œå…ƒå¹´
2065s # %EY -> actual: æ˜å’Œå…ƒå¹´
2065s ok 56 /GDateTime/eras/japan
2065s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests
2065s # Vector 0:
2065s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey
2065s # 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å¹´
2065s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年
2065s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年
2065s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年
2065s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年
2065s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年
2065s # Vector 8: +
2065s # Vector 9: +:
2065s # Vector 10: +::
2065s # Vector 11: +:200
2065s # Vector 12: +:2nonsense
2065s # Vector 13: +:2nonsense:
2065s # Vector 14: +:2:
2065s # Vector 15: +:2::
2065s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年
2065s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年
2065s # Vector 18: +:2:2020:+*:令和:%EC%Ey年
2065s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年
2065s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年
2065s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年
2065s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年
2065s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年
2065s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年
2065s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年
2065s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年
2065s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年
2065s # Vector 28: +:2:2020/01/01
2065s # Vector 29: +:2:2020/01/01:
2065s # Vector 30: +:2:2020/01/01::
2065s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年
2065s # Vector 32: +:2:2020/01/01:+*
2065s # Vector 33: +:2:2020/01/01:+*:
2065s # Vector 34: +:2:2020/01/01:+*::
2065s # Vector 35: +:2:2020/01/01:+*:令和
2065s # Vector 36: +:2:2020/01/01:+*:令和:
2065s # Vector 37: +:2:2020/01/01:+*:令和:;
2065s ok 58 /GDateTime/eras/parsing
2065s # End of eras tests
2065s # End of GDateTime tests
2065s # Start of GTimeZone tests
2065s ok 59 /GTimeZone/find-interval
2065s ok 60 /GTimeZone/adjust-time
2065s ok 61 /GTimeZone/no-header
2065s ok 62 /GTimeZone/no-header-identifier
2065s ok 63 /GTimeZone/posix-parse
2065s # Bug Reference: http://bugzilla.gnome.org/697715
2065s ok 64 /GTimeZone/floating-point
2065s # System time zone identifier: Etc/UTC
2065s ok 65 /GTimeZone/identifier
2065s # Vector 0: -158400
2065s # Vector 1: -10000
2065s # Vector 2: -3600
2065s # Vector 3: -61
2065s # Vector 4: -60
2065s # Vector 5: -59
2065s # Vector 6: 0
2065s # Vector 7: 59
2065s # Vector 8: 60
2065s # Vector 9: 61
2065s # Vector 10: 3600
2065s # Vector 11: 10000
2065s # Vector 12: 158400
2065s ok 66 /GTimeZone/new-offset
2065s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129
2065s ok 67 /GTimeZone/parse-rfc8536
2065s # /GTimeZone/caching summary: GTimeZone instances are cached
2065s ok 68 /GTimeZone/caching
2065s # End of GTimeZone tests
2065s ok - glib/gdatetime.test
2065s # Running test: glib/regex.test
2065s TAP version 14
2065s # random seed: R02Sb7c9324cfe41eca6814497ad750b16cd
2065s 1..848
2065s # Start of regex tests
2065s ok 1 /regex/properties
2065s ok 2 /regex/class
2065s ok 3 /regex/lookahead
2065s ok 4 /regex/lookbehind
2065s ok 5 /regex/subpattern
2065s ok 6 /regex/condition
2065s ok 7 /regex/recursion
2065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489
2065s ok 8 /regex/multiline
2065s ok 9 /regex/explicit-crlf
2065s ok 10 /regex/max-lookbehind
2065s ok 11 /regex/compile-errors
2065s ok 12 /regex/jit-unsupported-matching
2065s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881
2065s ok 13 /regex/unmatched-named-subpattern
2065s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824
2065s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
2065s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
2065s ok 14 /regex/compiled-regex-after-jit-failure
2065s # Start of new tests
2065s ok 15 /regex/new/1
2065s ok 16 /regex/new/2
2065s ok 17 /regex/new/3
2065s ok 18 /regex/new/4
2065s ok 19 /regex/new/5
2065s ok 20 /regex/new/6
2065s ok 21 /regex/new/7
2065s ok 22 /regex/new/8
2065s ok 23 /regex/new/9
2065s ok 24 /regex/new/10
2065s ok 25 /regex/new/11
2065s ok 26 /regex/new/12
2065s ok 27 /regex/new/13
2065s ok 28 /regex/new/14
2065s ok 29 /regex/new/15
2065s ok 30 /regex/new/16
2065s ok 31 /regex/new/17
2065s ok 32 /regex/new/18
2065s ok 33 /regex/new/19
2065s ok 34 /regex/new/71
2065s ok 35 /regex/new/80
2065s ok 36 /regex/new/82
2065s # End of new tests
2065s # Start of new-check-flags tests
2065s ok 37 /regex/new-check-flags/20
2065s ok 38 /regex/new-check-flags/21
2065s ok 39 /regex/new-check-flags/22
2065s ok 40 /regex/new-check-flags/23
2065s ok 41 /regex/new-check-flags/24
2065s ok 42 /regex/new-check-flags/25
2065s ok 43 /regex/new-check-flags/26
2065s ok 44 /regex/new-check-flags/27
2065s ok 45 /regex/new-check-flags/28
2065s ok 46 /regex/new-check-flags/29
2065s ok 47 /regex/new-check-flags/30
2065s ok 48 /regex/new-check-flags/31
2065s ok 49 /regex/new-check-flags/32
2065s ok 50 /regex/new-check-flags/33
2065s ok 51 /regex/new-check-flags/34
2065s ok 52 /regex/new-check-flags/35
2065s ok 53 /regex/new-check-flags/36
2065s # End of new-check-flags tests
2065s # Start of new-fail tests
2065s ok 54 /regex/new-fail/37
2065s ok 55 /regex/new-fail/38
2065s ok 56 /regex/new-fail/39
2065s ok 57 /regex/new-fail/40
2065s ok 58 /regex/new-fail/41
2065s ok 59 /regex/new-fail/42
2065s ok 60 /regex/new-fail/43
2065s ok 61 /regex/new-fail/44
2065s ok 62 /regex/new-fail/45
2065s ok 63 /regex/new-fail/46
2065s ok 64 /regex/new-fail/47
2065s ok 65 /regex/new-fail/48
2065s ok 66 /regex/new-fail/49
2065s ok 67 /regex/new-fail/50
2065s ok 68 /regex/new-fail/51
2065s ok 69 /regex/new-fail/52
2065s ok 70 /regex/new-fail/53
2065s ok 71 /regex/new-fail/54
2065s ok 72 /regex/new-fail/55
2065s ok 73 /regex/new-fail/56
2065s ok 74 /regex/new-fail/57
2065s ok 75 /regex/new-fail/58
2065s ok 76 /regex/new-fail/59
2065s ok 77 /regex/new-fail/60
2065s ok 78 /regex/new-fail/61
2065s ok 79 /regex/new-fail/62
2065s ok 80 /regex/new-fail/63
2065s ok 81 /regex/new-fail/64
2065s ok 82 /regex/new-fail/65
2065s ok 83 /regex/new-fail/66
2065s ok 84 /regex/new-fail/67
2065s ok 85 /regex/new-fail/68
2065s ok 86 /regex/new-fail/69
2065s ok 87 /regex/new-fail/70
2065s ok 88 /regex/new-fail/72
2065s ok 89 /regex/new-fail/73
2065s ok 90 /regex/new-fail/74
2065s ok 91 /regex/new-fail/75
2065s ok 92 /regex/new-fail/76
2065s ok 93 /regex/new-fail/77
2065s ok 94 /regex/new-fail/78
2065s ok 95 /regex/new-fail/79
2065s ok 96 /regex/new-fail/81
2065s ok 97 /regex/new-fail/83
2065s ok 98 /regex/new-fail/84
2065s ok 99 /regex/new-fail/85
2065s ok 100 /regex/new-fail/86
2065s ok 101 /regex/new-fail/87
2065s ok 102 /regex/new-fail/88
2065s ok 103 /regex/new-fail/89
2065s ok 104 /regex/new-fail/90
2065s ok 105 /regex/new-fail/91
2065s # End of new-fail tests
2065s # Start of match-simple tests
2065s ok 106 /regex/match-simple/92
2065s ok 107 /regex/match-simple/93
2065s ok 108 /regex/match-simple/94
2065s ok 109 /regex/match-simple/95
2065s ok 110 /regex/match-simple/96
2065s ok 111 /regex/match-simple/97
2065s ok 112 /regex/match-simple/98
2065s ok 113 /regex/match-simple/99
2065s ok 114 /regex/match-simple/100
2065s ok 115 /regex/match-simple/101
2065s ok 116 /regex/match-simple/102
2065s ok 117 /regex/match-simple/103
2065s ok 118 /regex/match-simple/104
2065s ok 119 /regex/match-simple/105
2065s ok 120 /regex/match-simple/106
2065s ok 121 /regex/match-simple/107
2065s ok 122 /regex/match-simple/108
2065s ok 123 /regex/match-simple/109
2065s ok 124 /regex/match-simple/110
2065s ok 125 /regex/match-simple/111
2065s ok 126 /regex/match-simple/112
2065s ok 127 /regex/match-simple/113
2065s ok 128 /regex/match-simple/114
2065s ok 129 /regex/match-simple/115
2065s ok 130 /regex/match-simple/116
2065s ok 131 /regex/match-simple/117
2065s ok 132 /regex/match-simple/118
2065s ok 133 /regex/match-simple/119
2065s ok 134 /regex/match-simple/120
2065s ok 135 /regex/match-simple/121
2065s ok 136 /regex/match-simple/122
2065s ok 137 /regex/match-simple/123
2065s ok 138 /regex/match-simple/124
2065s ok 139 /regex/match-simple/125
2065s ok 140 /regex/match-simple/126
2065s ok 141 /regex/match-simple/127
2065s ok 142 /regex/match-simple/128
2065s ok 143 /regex/match-simple/129
2065s ok 144 /regex/match-simple/130
2065s ok 145 /regex/match-simple/131
2065s ok 146 /regex/match-simple/132
2065s ok 147 /regex/match-simple/133
2065s ok 148 /regex/match-simple/134
2065s ok 149 /regex/match-simple/135
2065s ok 150 /regex/match-simple/136
2065s ok 151 /regex/match-simple/137
2065s ok 152 /regex/match-simple/138
2065s ok 153 /regex/match-simple/139
2065s ok 154 /regex/match-simple/140
2065s ok 155 /regex/match-simple/141
2065s ok 156 /regex/match-simple/142
2065s ok 157 /regex/match-simple/143
2065s ok 158 /regex/match-simple/144
2065s ok 159 /regex/match-simple/145
2065s ok 160 /regex/match-simple/146
2065s ok 161 /regex/match-simple/147
2065s ok 162 /regex/match-simple/148
2065s ok 163 /regex/match-simple/149
2065s ok 164 /regex/match-simple/150
2065s ok 165 /regex/match-simple/151
2065s ok 166 /regex/match-simple/152
2065s ok 167 /regex/match-simple/153
2065s ok 168 /regex/match-simple/154
2065s ok 169 /regex/match-simple/155
2065s ok 170 /regex/match-simple/156
2065s ok 171 /regex/match-simple/157
2065s ok 172 /regex/match-simple/158
2065s ok 173 /regex/match-simple/159
2065s ok 174 /regex/match-simple/160
2065s ok 175 /regex/match-simple/161
2065s ok 176 /regex/match-simple/162
2065s ok 177 /regex/match-simple/163
2065s ok 178 /regex/match-simple/164
2065s # End of match-simple tests
2065s # Start of match-simple-optimized tests
2065s ok 179 /regex/match-simple-optimized/92
2065s ok 180 /regex/match-simple-optimized/93
2065s ok 181 /regex/match-simple-optimized/94
2065s ok 182 /regex/match-simple-optimized/95
2065s ok 183 /regex/match-simple-optimized/96
2065s ok 184 /regex/match-simple-optimized/97
2065s ok 185 /regex/match-simple-optimized/98
2065s ok 186 /regex/match-simple-optimized/99
2065s ok 187 /regex/match-simple-optimized/100
2065s ok 188 /regex/match-simple-optimized/101
2065s ok 189 /regex/match-simple-optimized/102
2065s ok 190 /regex/match-simple-optimized/103
2065s ok 191 /regex/match-simple-optimized/104
2065s ok 192 /regex/match-simple-optimized/105
2065s ok 193 /regex/match-simple-optimized/106
2065s ok 194 /regex/match-simple-optimized/107
2065s ok 195 /regex/match-simple-optimized/108
2065s ok 196 /regex/match-simple-optimized/109
2065s ok 197 /regex/match-simple-optimized/110
2065s ok 198 /regex/match-simple-optimized/111
2065s ok 199 /regex/match-simple-optimized/112
2065s ok 200 /regex/match-simple-optimized/113
2065s ok 201 /regex/match-simple-optimized/114
2065s ok 202 /regex/match-simple-optimized/115
2065s ok 203 /regex/match-simple-optimized/116
2065s ok 204 /regex/match-simple-optimized/117
2065s ok 205 /regex/match-simple-optimized/118
2065s ok 206 /regex/match-simple-optimized/119
2065s ok 207 /regex/match-simple-optimized/120
2065s ok 208 /regex/match-simple-optimized/121
2065s ok 209 /regex/match-simple-optimized/122
2065s ok 210 /regex/match-simple-optimized/123
2065s ok 211 /regex/match-simple-optimized/124
2065s ok 212 /regex/match-simple-optimized/125
2065s ok 213 /regex/match-simple-optimized/126
2065s ok 214 /regex/match-simple-optimized/127
2065s ok 215 /regex/match-simple-optimized/128
2065s ok 216 /regex/match-simple-optimized/129
2065s ok 217 /regex/match-simple-optimized/130
2065s ok 218 /regex/match-simple-optimized/131
2065s ok 219 /regex/match-simple-optimized/132
2065s ok 220 /regex/match-simple-optimized/133
2065s ok 221 /regex/match-simple-optimized/134
2065s ok 222 /regex/match-simple-optimized/135
2065s ok 223 /regex/match-simple-optimized/136
2065s ok 224 /regex/match-simple-optimized/137
2065s ok 225 /regex/match-simple-optimized/138
2065s ok 226 /regex/match-simple-optimized/139
2065s ok 227 /regex/match-simple-optimized/140
2065s ok 228 /regex/match-simple-optimized/141
2065s ok 229 /regex/match-simple-optimized/142
2065s ok 230 /regex/match-simple-optimized/143
2065s ok 231 /regex/match-simple-optimized/144
2065s ok 232 /regex/match-simple-optimized/145
2065s ok 233 /regex/match-simple-optimized/146
2065s ok 234 /regex/match-simple-optimized/147
2065s ok 235 /regex/match-simple-optimized/148
2065s ok 236 /regex/match-simple-optimized/149
2065s ok 237 /regex/match-simple-optimized/150
2065s ok 238 /regex/match-simple-optimized/151
2065s ok 239 /regex/match-simple-optimized/152
2065s ok 240 /regex/match-simple-optimized/153
2065s ok 241 /regex/match-simple-optimized/154
2065s ok 242 /regex/match-simple-optimized/155
2065s ok 243 /regex/match-simple-optimized/156
2065s ok 244 /regex/match-simple-optimized/157
2065s ok 245 /regex/match-simple-optimized/158
2065s ok 246 /regex/match-simple-optimized/159
2065s ok 247 /regex/match-simple-optimized/160
2065s ok 248 /regex/match-simple-optimized/161
2065s ok 249 /regex/match-simple-optimized/162
2065s ok 250 /regex/match-simple-optimized/163
2065s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
2065s ok 251 /regex/match-simple-optimized/164
2065s # End of match-simple-optimized tests
2065s # Start of match tests
2065s ok 252 /regex/match/165
2065s ok 253 /regex/match/166
2065s ok 254 /regex/match/167
2065s ok 255 /regex/match/168
2065s ok 256 /regex/match/169
2065s ok 257 /regex/match/170
2065s ok 258 /regex/match/171
2065s ok 259 /regex/match/172
2065s ok 260 /regex/match/173
2065s ok 261 /regex/match/174
2065s ok 262 /regex/match/175
2065s ok 263 /regex/match/176
2065s ok 264 /regex/match/177
2065s ok 265 /regex/match/178
2065s ok 266 /regex/match/179
2065s ok 267 /regex/match/180
2065s ok 268 /regex/match/181
2065s ok 269 /regex/match/182
2065s ok 270 /regex/match/183
2065s ok 271 /regex/match/184
2065s ok 272 /regex/match/185
2065s ok 273 /regex/match/186
2065s ok 274 /regex/match/187
2065s ok 275 /regex/match/188
2065s ok 276 /regex/match/189
2065s ok 277 /regex/match/190
2065s ok 278 /regex/match/191
2065s ok 279 /regex/match/192
2065s ok 280 /regex/match/193
2065s ok 281 /regex/match/194
2065s ok 282 /regex/match/195
2065s ok 283 /regex/match/196
2065s ok 284 /regex/match/197
2065s ok 285 /regex/match/198
2065s ok 286 /regex/match/199
2065s ok 287 /regex/match/200
2065s ok 288 /regex/match/201
2065s ok 289 /regex/match/202
2065s ok 290 /regex/match/203
2065s ok 291 /regex/match/204
2065s ok 292 /regex/match/205
2065s ok 293 /regex/match/206
2065s ok 294 /regex/match/207
2065s ok 295 /regex/match/208
2065s ok 296 /regex/match/209
2065s ok 297 /regex/match/210
2065s ok 298 /regex/match/211
2065s ok 299 /regex/match/212
2065s ok 300 /regex/match/213
2065s ok 301 /regex/match/214
2065s ok 302 /regex/match/215
2065s ok 303 /regex/match/216
2065s ok 304 /regex/match/217
2065s ok 305 /regex/match/218
2065s ok 306 /regex/match/219
2065s ok 307 /regex/match/220
2065s ok 308 /regex/match/221
2065s ok 309 /regex/match/222
2065s ok 310 /regex/match/223
2065s ok 311 /regex/match/224
2065s ok 312 /regex/match/225
2065s ok 313 /regex/match/226
2065s ok 314 /regex/match/227
2065s ok 315 /regex/match/228
2065s ok 316 /regex/match/229
2065s ok 317 /regex/match/230
2065s ok 318 /regex/match/231
2065s ok 319 /regex/match/232
2065s ok 320 /regex/match/233
2065s ok 321 /regex/match/234
2065s ok 322 /regex/match/235
2065s ok 323 /regex/match/236
2065s ok 324 /regex/match/237
2065s ok 325 /regex/match/238
2065s ok 326 /regex/match/239
2065s ok 327 /regex/match/240
2065s ok 328 /regex/match/241
2065s ok 329 /regex/match/242
2065s ok 330 /regex/match/243
2065s ok 331 /regex/match/244
2065s ok 332 /regex/match/245
2065s ok 333 /regex/match/246
2065s ok 334 /regex/match/partial281
2065s ok 335 /regex/match/partial282
2065s ok 336 /regex/match/partial283
2065s ok 337 /regex/match/partial284
2065s ok 338 /regex/match/partial285
2065s ok 339 /regex/match/partial286
2065s ok 340 /regex/match/partial287
2065s ok 341 /regex/match/partial288
2065s ok 342 /regex/match/partial289
2065s ok 343 /regex/match/partial290
2065s ok 344 /regex/match/partial291
2065s ok 345 /regex/match/partial292
2065s ok 346 /regex/match/partial293
2065s ok 347 /regex/match/partial294
2065s ok 348 /regex/match/partial295
2065s ok 349 /regex/match/partial296
2065s ok 350 /regex/match/partial297
2065s ok 351 /regex/match/partial298
2065s ok 352 /regex/match/partial299
2065s ok 353 /regex/match/partial300
2065s ok 354 /regex/match/partial301
2065s ok 355 /regex/match/partial302
2065s # Start of next0 tests
2065s ok 356 /regex/match/next0/247
2065s ok 357 /regex/match/next0/248
2065s ok 358 /regex/match/next0/249
2065s ok 359 /regex/match/next0/250
2065s # End of next0 tests
2065s # Start of next1 tests
2065s ok 360 /regex/match/next1/251
2065s ok 361 /regex/match/next1/252
2065s ok 362 /regex/match/next1/253
2065s ok 363 /regex/match/next1/254
2065s ok 364 /regex/match/next1/255
2065s # End of next1 tests
2065s # Start of next2 tests
2065s ok 365 /regex/match/next2/256
2065s ok 366 /regex/match/next2/257
2065s ok 367 /regex/match/next2/258
2065s ok 368 /regex/match/next2/259
2065s ok 369 /regex/match/next2/260
2065s ok 370 /regex/match/next2/261
2065s ok 371 /regex/match/next2/262
2065s ok 372 /regex/match/next2/263
2065s # End of next2 tests
2065s # Start of next3 tests
2065s ok 373 /regex/match/next3/264
2065s ok 374 /regex/match/next3/265
2065s ok 375 /regex/match/next3/266
2065s ok 376 /regex/match/next3/267
2065s ok 377 /regex/match/next3/268
2065s ok 378 /regex/match/next3/269
2065s # End of next3 tests
2065s # Start of next4 tests
2065s ok 379 /regex/match/next4/270
2065s # End of next4 tests
2065s # Start of count tests
2065s ok 380 /regex/match/count/271
2065s ok 381 /regex/match/count/272
2065s ok 382 /regex/match/count/273
2065s ok 383 /regex/match/count/274
2065s ok 384 /regex/match/count/275
2065s ok 385 /regex/match/count/276
2065s ok 386 /regex/match/count/277
2065s ok 387 /regex/match/count/278
2065s ok 388 /regex/match/count/279
2065s ok 389 /regex/match/count/280
2065s # End of count tests
2065s # Start of count-optimized tests
2065s ok 390 /regex/match/count-optimized/271
2065s ok 391 /regex/match/count-optimized/272
2065s ok 392 /regex/match/count-optimized/273
2065s ok 393 /regex/match/count-optimized/274
2065s ok 394 /regex/match/count-optimized/275
2065s ok 395 /regex/match/count-optimized/276
2065s ok 396 /regex/match/count-optimized/277
2065s ok 397 /regex/match/count-optimized/278
2065s ok 398 /regex/match/count-optimized/279
2065s ok 399 /regex/match/count-optimized/280
2065s # End of count-optimized tests
2065s # Start of partial-optimized tests
2065s ok 400 /regex/match/partial-optimized/281
2065s ok 401 /regex/match/partial-optimized/282
2065s ok 402 /regex/match/partial-optimized/283
2065s ok 403 /regex/match/partial-optimized/284
2065s ok 404 /regex/match/partial-optimized/285
2065s ok 405 /regex/match/partial-optimized/286
2065s ok 406 /regex/match/partial-optimized/287
2065s ok 407 /regex/match/partial-optimized/288
2065s ok 408 /regex/match/partial-optimized/289
2065s ok 409 /regex/match/partial-optimized/290
2065s ok 410 /regex/match/partial-optimized/291
2065s ok 411 /regex/match/partial-optimized/292
2065s ok 412 /regex/match/partial-optimized/293
2065s ok 413 /regex/match/partial-optimized/294
2065s ok 414 /regex/match/partial-optimized/295
2065s ok 415 /regex/match/partial-optimized/296
2065s ok 416 /regex/match/partial-optimized/297
2065s ok 417 /regex/match/partial-optimized/298
2065s ok 418 /regex/match/partial-optimized/299
2065s ok 419 /regex/match/partial-optimized/300
2065s ok 420 /regex/match/partial-optimized/301
2065s ok 421 /regex/match/partial-optimized/302
2065s # End of partial-optimized tests
2065s # Start of subpattern tests
2065s ok 422 /regex/match/subpattern/303
2065s ok 423 /regex/match/subpattern/304
2065s ok 424 /regex/match/subpattern/305
2065s ok 425 /regex/match/subpattern/306
2065s ok 426 /regex/match/subpattern/307
2065s ok 427 /regex/match/subpattern/308
2065s ok 428 /regex/match/subpattern/309
2065s ok 429 /regex/match/subpattern/310
2065s ok 430 /regex/match/subpattern/311
2065s ok 431 /regex/match/subpattern/312
2065s ok 432 /regex/match/subpattern/313
2065s ok 433 /regex/match/subpattern/314
2065s ok 434 /regex/match/subpattern/315
2065s # Start of named tests
2065s # Start of dupnames tests
2065s ok 435 /regex/match/subpattern/named/dupnames/325
2065s ok 436 /regex/match/subpattern/named/dupnames/326
2065s ok 437 /regex/match/subpattern/named/dupnames/327
2065s ok 438 /regex/match/subpattern/named/dupnames/328
2065s ok 439 /regex/match/subpattern/named/dupnames/329
2065s # End of dupnames tests
2065s # End of named tests
2065s # End of subpattern tests
2065s # Start of subpattern-optimized tests
2065s ok 440 /regex/match/subpattern-optimized/303
2065s ok 441 /regex/match/subpattern-optimized/304
2065s ok 442 /regex/match/subpattern-optimized/305
2065s ok 443 /regex/match/subpattern-optimized/306
2065s ok 444 /regex/match/subpattern-optimized/307
2065s ok 445 /regex/match/subpattern-optimized/308
2065s ok 446 /regex/match/subpattern-optimized/309
2065s ok 447 /regex/match/subpattern-optimized/310
2065s ok 448 /regex/match/subpattern-optimized/311
2065s ok 449 /regex/match/subpattern-optimized/312
2065s ok 450 /regex/match/subpattern-optimized/313
2065s ok 451 /regex/match/subpattern-optimized/314
2065s ok 452 /regex/match/subpattern-optimized/315
2065s # End of subpattern-optimized tests
2065s # Start of named tests
2065s # Start of subpattern tests
2065s ok 453 /regex/match/named/subpattern/316
2065s ok 454 /regex/match/named/subpattern/317
2065s ok 455 /regex/match/named/subpattern/318
2065s ok 456 /regex/match/named/subpattern/319
2065s ok 457 /regex/match/named/subpattern/320
2065s ok 458 /regex/match/named/subpattern/321
2065s ok 459 /regex/match/named/subpattern/322
2065s ok 460 /regex/match/named/subpattern/323
2065s ok 461 /regex/match/named/subpattern/324
2065s ok 462 /regex/match/named/subpattern/330
2065s ok 463 /regex/match/named/subpattern/331
2065s ok 464 /regex/match/named/subpattern/332
2065s ok 465 /regex/match/named/subpattern/333
2065s ok 466 /regex/match/named/subpattern/334
2065s # End of subpattern tests
2065s # End of named tests
2065s # End of match tests
2065s # Start of match-optimized tests
2065s ok 467 /regex/match-optimized/165
2065s ok 468 /regex/match-optimized/166
2065s ok 469 /regex/match-optimized/167
2065s ok 470 /regex/match-optimized/168
2065s ok 471 /regex/match-optimized/169
2065s ok 472 /regex/match-optimized/170
2065s ok 473 /regex/match-optimized/171
2065s ok 474 /regex/match-optimized/172
2065s ok 475 /regex/match-optimized/173
2065s ok 476 /regex/match-optimized/174
2065s ok 477 /regex/match-optimized/175
2065s ok 478 /regex/match-optimized/176
2065s ok 479 /regex/match-optimized/177
2065s ok 480 /regex/match-optimized/178
2065s ok 481 /regex/match-optimized/179
2065s ok 482 /regex/match-optimized/180
2065s ok 483 /regex/match-optimized/181
2065s ok 484 /regex/match-optimized/182
2065s ok 485 /regex/match-optimized/183
2065s ok 486 /regex/match-optimized/184
2065s ok 487 /regex/match-optimized/185
2065s ok 488 /regex/match-optimized/186
2065s ok 489 /regex/match-optimized/187
2065s ok 490 /regex/match-optimized/188
2065s ok 491 /regex/match-optimized/189
2065s ok 492 /regex/match-optimized/190
2065s ok 493 /regex/match-optimized/191
2065s ok 494 /regex/match-optimized/192
2065s ok 495 /regex/match-optimized/193
2065s ok 496 /regex/match-optimized/194
2065s ok 497 /regex/match-optimized/195
2065s ok 498 /regex/match-optimized/196
2065s ok 499 /regex/match-optimized/197
2065s ok 500 /regex/match-optimized/198
2065s ok 501 /regex/match-optimized/199
2065s ok 502 /regex/match-optimized/200
2065s ok 503 /regex/match-optimized/201
2065s ok 504 /regex/match-optimized/202
2065s ok 505 /regex/match-optimized/203
2065s ok 506 /regex/match-optimized/204
2065s ok 507 /regex/match-optimized/205
2065s ok 508 /regex/match-optimized/206
2065s ok 509 /regex/match-optimized/207
2065s ok 510 /regex/match-optimized/208
2065s ok 511 /regex/match-optimized/209
2065s ok 512 /regex/match-optimized/210
2065s ok 513 /regex/match-optimized/211
2065s ok 514 /regex/match-optimized/212
2065s ok 515 /regex/match-optimized/213
2065s ok 516 /regex/match-optimized/214
2065s ok 517 /regex/match-optimized/215
2065s ok 518 /regex/match-optimized/216
2065s ok 519 /regex/match-optimized/217
2065s ok 520 /regex/match-optimized/218
2065s ok 521 /regex/match-optimized/219
2065s ok 522 /regex/match-optimized/220
2065s ok 523 /regex/match-optimized/221
2065s ok 524 /regex/match-optimized/222
2065s ok 525 /regex/match-optimized/223
2065s ok 526 /regex/match-optimized/224
2065s ok 527 /regex/match-optimized/225
2065s ok 528 /regex/match-optimized/226
2065s ok 529 /regex/match-optimized/227
2065s ok 530 /regex/match-optimized/228
2065s ok 531 /regex/match-optimized/229
2065s ok 532 /regex/match-optimized/230
2065s ok 533 /regex/match-optimized/231
2065s ok 534 /regex/match-optimized/232
2065s ok 535 /regex/match-optimized/233
2065s ok 536 /regex/match-optimized/234
2065s ok 537 /regex/match-optimized/235
2065s ok 538 /regex/match-optimized/236
2065s ok 539 /regex/match-optimized/237
2065s ok 540 /regex/match-optimized/238
2065s ok 541 /regex/match-optimized/239
2065s ok 542 /regex/match-optimized/240
2065s ok 543 /regex/match-optimized/241
2065s ok 544 /regex/match-optimized/242
2065s ok 545 /regex/match-optimized/243
2065s ok 546 /regex/match-optimized/244
2065s ok 547 /regex/match-optimized/245
2065s ok 548 /regex/match-optimized/246
2065s # End of match-optimized tests
2065s # Start of fetch-all0 tests
2065s ok 549 /regex/fetch-all0/335
2065s ok 550 /regex/fetch-all0/336
2065s # End of fetch-all0 tests
2065s # Start of fetch-all1 tests
2065s ok 551 /regex/fetch-all1/337
2065s ok 552 /regex/fetch-all1/338
2065s ok 553 /regex/fetch-all1/339
2065s # End of fetch-all1 tests
2065s # Start of fetch-all2 tests
2065s ok 554 /regex/fetch-all2/340
2065s ok 555 /regex/fetch-all2/341
2065s ok 556 /regex/fetch-all2/342
2065s # End of fetch-all2 tests
2065s # Start of fetch-all3 tests
2065s ok 557 /regex/fetch-all3/343
2065s ok 558 /regex/fetch-all3/344
2065s ok 559 /regex/fetch-all3/345
2065s ok 560 /regex/fetch-all3/346
2065s ok 561 /regex/fetch-all3/347
2065s # End of fetch-all3 tests
2065s # Start of split tests
2065s # Start of simple0 tests
2065s ok 562 /regex/split/simple0/348
2065s ok 563 /regex/split/simple0/349
2065s ok 564 /regex/split/simple0/364
2065s ok 565 /regex/split/simple0/365
2065s # End of simple0 tests
2065s # Start of simple1 tests
2065s ok 566 /regex/split/simple1/350
2065s ok 567 /regex/split/simple1/351
2065s # End of simple1 tests
2065s # Start of simple2 tests
2065s ok 568 /regex/split/simple2/352
2065s ok 569 /regex/split/simple2/358
2065s ok 570 /regex/split/simple2/360
2065s # End of simple2 tests
2065s # Start of simple3 tests
2065s ok 571 /regex/split/simple3/353
2065s ok 572 /regex/split/simple3/354
2065s ok 573 /regex/split/simple3/355
2065s ok 574 /regex/split/simple3/356
2065s ok 575 /regex/split/simple3/357
2065s ok 576 /regex/split/simple3/359
2065s ok 577 /regex/split/simple3/361
2065s ok 578 /regex/split/simple3/362
2065s ok 579 /regex/split/simple3/363
2065s # End of simple3 tests
2065s # End of split tests
2065s # Start of split0 tests
2065s ok 580 /regex/split0/366
2065s ok 581 /regex/split0/368
2065s # End of split0 tests
2065s # Start of full-split0 tests
2065s ok 582 /regex/full-split0/367
2065s ok 583 /regex/full-split0/369
2065s ok 584 /regex/full-split0/370
2065s ok 585 /regex/full-split0/371
2065s ok 586 /regex/full-split0/372
2065s # End of full-split0 tests
2065s # Start of split1 tests
2065s ok 587 /regex/split1/373
2065s ok 588 /regex/split1/376
2065s # End of split1 tests
2065s # Start of full-split1 tests
2065s ok 589 /regex/full-split1/374
2065s ok 590 /regex/full-split1/375
2065s ok 591 /regex/full-split1/377
2065s ok 592 /regex/full-split1/378
2065s ok 593 /regex/full-split1/404
2065s # End of full-split1 tests
2065s # Start of split2 tests
2065s ok 594 /regex/split2/379
2065s ok 595 /regex/split2/383
2065s ok 596 /regex/split2/395
2065s # End of split2 tests
2065s # Start of full-split2 tests
2065s ok 597 /regex/full-split2/380
2065s ok 598 /regex/full-split2/381
2065s ok 599 /regex/full-split2/382
2065s ok 600 /regex/full-split2/384
2065s ok 601 /regex/full-split2/396
2065s ok 602 /regex/full-split2/399
2065s ok 603 /regex/full-split2/405
2065s # End of full-split2 tests
2065s # Start of split3 tests
2065s ok 604 /regex/split3/385
2065s ok 605 /regex/split3/387
2065s ok 606 /regex/split3/389
2065s ok 607 /regex/split3/391
2065s ok 608 /regex/split3/393
2065s ok 609 /regex/split3/397
2065s ok 610 /regex/split3/400
2065s ok 611 /regex/split3/402
2065s # End of split3 tests
2065s # Start of full-split3 tests
2065s ok 612 /regex/full-split3/386
2065s ok 613 /regex/full-split3/388
2065s ok 614 /regex/full-split3/390
2065s ok 615 /regex/full-split3/392
2065s ok 616 /regex/full-split3/394
2065s ok 617 /regex/full-split3/398
2065s ok 618 /regex/full-split3/401
2065s ok 619 /regex/full-split3/403
2065s ok 620 /regex/full-split3/406
2065s ok 621 /regex/full-split3/407
2065s # End of full-split3 tests
2065s # Start of check-repacement tests
2065s ok 622 /regex/check-repacement/408
2065s ok 623 /regex/check-repacement/409
2065s ok 624 /regex/check-repacement/410
2065s ok 625 /regex/check-repacement/411
2065s ok 626 /regex/check-repacement/412
2065s ok 627 /regex/check-repacement/413
2065s ok 628 /regex/check-repacement/414
2065s ok 629 /regex/check-repacement/415
2065s # End of check-repacement tests
2065s # Start of expand tests
2065s ok 630 /regex/expand/416
2065s ok 631 /regex/expand/417
2065s ok 632 /regex/expand/418
2065s ok 633 /regex/expand/419
2065s ok 634 /regex/expand/420
2065s ok 635 /regex/expand/421
2065s ok 636 /regex/expand/422
2065s ok 637 /regex/expand/423
2065s ok 638 /regex/expand/424
2065s ok 639 /regex/expand/425
2065s ok 640 /regex/expand/426
2065s ok 641 /regex/expand/427
2065s ok 642 /regex/expand/428
2065s ok 643 /regex/expand/429
2065s ok 644 /regex/expand/430
2065s ok 645 /regex/expand/431
2065s ok 646 /regex/expand/432
2065s ok 647 /regex/expand/433
2065s ok 648 /regex/expand/434
2065s ok 649 /regex/expand/435
2065s ok 650 /regex/expand/436
2065s ok 651 /regex/expand/437
2065s ok 652 /regex/expand/438
2065s ok 653 /regex/expand/439
2065s ok 654 /regex/expand/440
2065s ok 655 /regex/expand/441
2065s ok 656 /regex/expand/442
2065s ok 657 /regex/expand/443
2065s ok 658 /regex/expand/444
2065s ok 659 /regex/expand/445
2065s ok 660 /regex/expand/446
2065s ok 661 /regex/expand/447
2065s ok 662 /regex/expand/448
2065s ok 663 /regex/expand/449
2065s ok 664 /regex/expand/450
2065s ok 665 /regex/expand/451
2065s ok 666 /regex/expand/452
2065s ok 667 /regex/expand/453
2065s ok 668 /regex/expand/454
2065s ok 669 /regex/expand/455
2065s ok 670 /regex/expand/456
2065s ok 671 /regex/expand/457
2065s ok 672 /regex/expand/458
2065s ok 673 /regex/expand/459
2065s ok 674 /regex/expand/460
2065s ok 675 /regex/expand/461
2065s ok 676 /regex/expand/462
2065s ok 677 /regex/expand/463
2065s ok 678 /regex/expand/464
2065s ok 679 /regex/expand/465
2065s ok 680 /regex/expand/466
2065s ok 681 /regex/expand/467
2065s ok 682 /regex/expand/468
2065s ok 683 /regex/expand/469
2065s ok 684 /regex/expand/470
2065s ok 685 /regex/expand/471
2065s ok 686 /regex/expand/472
2065s ok 687 /regex/expand/473
2065s ok 688 /regex/expand/474
2065s ok 689 /regex/expand/475
2065s ok 690 /regex/expand/476
2065s ok 691 /regex/expand/477
2065s ok 692 /regex/expand/478
2065s ok 693 /regex/expand/479
2065s ok 694 /regex/expand/480
2065s ok 695 /regex/expand/481
2065s # End of expand tests
2065s # Start of replace tests
2065s ok 696 /regex/replace/482
2065s ok 697 /regex/replace/483
2065s ok 698 /regex/replace/484
2065s ok 699 /regex/replace/485
2065s ok 700 /regex/replace/486
2065s ok 701 /regex/replace/487
2065s ok 702 /regex/replace/488
2065s ok 703 /regex/replace/489
2065s ok 704 /regex/replace/490
2065s ok 705 /regex/replace/491
2065s ok 706 /regex/replace/492
2065s ok 707 /regex/replace/493
2065s ok 708 /regex/replace/494
2065s ok 709 /regex/replace/495
2065s ok 710 /regex/replace/496
2065s ok 711 /regex/replace/497
2065s ok 712 /regex/replace/498
2065s ok 713 /regex/replace/499
2065s ok 714 /regex/replace/500
2065s ok 715 /regex/replace/501
2065s ok 716 /regex/replace/502
2065s ok 717 /regex/replace/503
2065s ok 718 /regex/replace/504
2065s ok 719 /regex/replace/505
2065s ok 720 /regex/replace/506
2065s ok 721 /regex/replace/507
2065s ok 722 /regex/replace/508
2065s ok 723 /regex/replace/509
2065s # End of replace tests
2065s # Start of replace-optimized tests
2065s ok 724 /regex/replace-optimized/482
2065s ok 725 /regex/replace-optimized/483
2065s ok 726 /regex/replace-optimized/484
2065s ok 727 /regex/replace-optimized/485
2065s ok 728 /regex/replace-optimized/486
2065s ok 729 /regex/replace-optimized/487
2065s ok 730 /regex/replace-optimized/488
2065s ok 731 /regex/replace-optimized/489
2065s ok 732 /regex/replace-optimized/490
2065s ok 733 /regex/replace-optimized/491
2065s ok 734 /regex/replace-optimized/492
2065s ok 735 /regex/replace-optimized/493
2065s ok 736 /regex/replace-optimized/494
2065s ok 737 /regex/replace-optimized/495
2065s ok 738 /regex/replace-optimized/496
2065s ok 739 /regex/replace-optimized/497
2065s ok 740 /regex/replace-optimized/498
2065s ok 741 /regex/replace-optimized/499
2065s ok 742 /regex/replace-optimized/500
2065s ok 743 /regex/replace-optimized/501
2065s ok 744 /regex/replace-optimized/502
2065s ok 745 /regex/replace-optimized/503
2065s ok 746 /regex/replace-optimized/504
2065s ok 747 /regex/replace-optimized/505
2065s ok 748 /regex/replace-optimized/506
2065s ok 749 /regex/replace-optimized/507
2065s ok 750 /regex/replace-optimized/508
2065s ok 751 /regex/replace-optimized/509
2065s # End of replace-optimized tests
2065s # Start of replace-literally tests
2065s ok 752 /regex/replace-literally/510
2065s ok 753 /regex/replace-literally/511
2065s ok 754 /regex/replace-literally/512
2065s ok 755 /regex/replace-literally/513
2065s ok 756 /regex/replace-literally/514
2065s ok 757 /regex/replace-literally/515
2065s ok 758 /regex/replace-literally/516
2065s ok 759 /regex/replace-literally/517
2065s ok 760 /regex/replace-literally/518
2065s ok 761 /regex/replace-literally/519
2065s ok 762 /regex/replace-literally/520
2065s ok 763 /regex/replace-literally/521
2065s ok 764 /regex/replace-literally/522
2065s ok 765 /regex/replace-literally/523
2065s ok 766 /regex/replace-literally/524
2065s ok 767 /regex/replace-literally/525
2065s ok 768 /regex/replace-literally/526
2065s ok 769 /regex/replace-literally/527
2065s ok 770 /regex/replace-literally/528
2065s ok 771 /regex/replace-literally/529
2065s # End of replace-literally tests
2065s # Start of string-number tests
2065s ok 772 /regex/string-number/530
2065s ok 773 /regex/string-number/531
2065s ok 774 /regex/string-number/532
2065s ok 775 /regex/string-number/533
2065s ok 776 /regex/string-number/534
2065s ok 777 /regex/string-number/535
2065s ok 778 /regex/string-number/536
2065s ok 779 /regex/string-number/537
2065s ok 780 /regex/string-number/538
2065s ok 781 /regex/string-number/539
2065s ok 782 /regex/string-number/540
2065s ok 783 /regex/string-number/541
2065s ok 784 /regex/string-number/542
2065s ok 785 /regex/string-number/543
2065s ok 786 /regex/string-number/544
2065s # End of string-number tests
2065s # Start of escape_nul tests
2065s ok 787 /regex/escape_nul/545
2065s ok 788 /regex/escape_nul/546
2065s ok 789 /regex/escape_nul/547
2065s ok 790 /regex/escape_nul/548
2065s ok 791 /regex/escape_nul/549
2065s ok 792 /regex/escape_nul/550
2065s ok 793 /regex/escape_nul/551
2065s ok 794 /regex/escape_nul/552
2065s ok 795 /regex/escape_nul/553
2065s ok 796 /regex/escape_nul/554
2065s ok 797 /regex/escape_nul/555
2065s ok 798 /regex/escape_nul/556
2065s ok 799 /regex/escape_nul/557
2065s ok 800 /regex/escape_nul/558
2065s ok 801 /regex/escape_nul/559
2065s # End of escape_nul tests
2065s # Start of escape tests
2065s ok 802 /regex/escape/560
2065s ok 803 /regex/escape/561
2065s ok 804 /regex/escape/562
2065s ok 805 /regex/escape/563
2065s ok 806 /regex/escape/564
2065s ok 807 /regex/escape/565
2065s ok 808 /regex/escape/566
2065s ok 809 /regex/escape/567
2065s ok 810 /regex/escape/568
2065s ok 811 /regex/escape/569
2065s ok 812 /regex/escape/570
2065s ok 813 /regex/escape/571
2065s ok 814 /regex/escape/572
2065s ok 815 /regex/escape/573
2065s ok 816 /regex/escape/574
2065s ok 817 /regex/escape/575
2065s ok 818 /regex/escape/576
2065s ok 819 /regex/escape/577
2065s # End of escape tests
2065s # Start of match-all0 tests
2065s ok 820 /regex/match-all0/578
2065s ok 821 /regex/match-all0/580
2065s # End of match-all0 tests
2065s # Start of match-all-full0 tests
2065s ok 822 /regex/match-all-full0/579
2065s ok 823 /regex/match-all-full0/581
2065s ok 824 /regex/match-all-full0/582
2065s ok 825 /regex/match-all-full0/583
2065s # End of match-all-full0 tests
2065s # Start of match-all1 tests
2065s ok 826 /regex/match-all1/584
2065s ok 827 /regex/match-all1/586
2065s ok 828 /regex/match-all1/591
2065s # End of match-all1 tests
2065s # Start of match-all-full1 tests
2065s ok 829 /regex/match-all-full1/585
2065s ok 830 /regex/match-all-full1/587
2065s ok 831 /regex/match-all-full1/588
2065s ok 832 /regex/match-all-full1/589
2065s ok 833 /regex/match-all-full1/590
2065s ok 834 /regex/match-all-full1/592
2065s # End of match-all-full1 tests
2065s # Start of match-all2 tests
2065s ok 835 /regex/match-all2/593
2065s ok 836 /regex/match-all2/595
2065s ok 837 /regex/match-all2/597
2065s # End of match-all2 tests
2065s # Start of match-all-full2 tests
2065s ok 838 /regex/match-all-full2/594
2065s ok 839 /regex/match-all-full2/596
2065s ok 840 /regex/match-all-full2/598
2065s # End of match-all-full2 tests
2065s # Start of match-all3 tests
2065s ok 841 /regex/match-all3/599
2065s ok 842 /regex/match-all3/601
2065s # End of match-all3 tests
2065s # Start of match-all-full3 tests
2065s ok 843 /regex/match-all-full3/600
2065s ok 844 /regex/match-all-full3/602
2065s # End of match-all-full3 tests
2065s # Start of match-notempty tests
2065s ok 845 /regex/match-notempty/603
2065s # End of match-notempty tests
2065s # Start of match-notempty-optimized tests
2065s ok 846 /regex/match-notempty-optimized/603
2065s # End of match-notempty-optimized tests
2065s # Start of match-notempty-atstart tests
2065s ok 847 /regex/match-notempty-atstart/604
2065s # End of match-notempty-atstart tests
2065s # Start of match-notempty-atstart-optimized tests
2065s ok 848 /regex/match-notempty-atstart-optimized/604
2065s # End of match-notempty-atstart-optimized tests
2065s # End of regex tests
2065s ok - glib/regex.test
2065s # Running test: glib/atomic-c-89.test
2065s TAP version 14
2065s # random seed: R02S4dc39dd192d822fbdf3be12ca414cac2
2065s 1..2
2065s # Start of atomic tests
2065s ok 1 /atomic/types
2065s ok 2 /atomic/threaded
2065s # End of atomic tests
2065s ok - glib/atomic-c-89.test
2065s # Running test: glib/gthash.test
2065s TAP version 14
2065s # random seed: R02S898b481559ef4c613afa864813a8e24f
2065s 1..1
2065s # Start of gthash tests
2065s ok 1 /gthash/build-retrieve
2065s # End of gthash tests
2065s ok - glib/gthash.test
2065s # Running test: glib/utils-c-89.test
2065s TAP version 14
2065s # random seed: R02Sdddfb0cef6d50657d59a5856fe80d620
2065s 1..40
2065s # Start of utils tests
2065s ok 1 /utils/language-names
2065s ok 2 /utils/locale-variants
2065s ok 3 /utils/version
2065s ok 4 /utils/appname
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
2065s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
2065s ok 5 /utils/prgname-thread-safety
2065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
2065s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
2065s ok 6 /utils/tmpdir
2065s ok 7 /utils/basic_bits
2065s ok 8 /utils/bits
2065s ok 9 /utils/swap
2065s ok 10 /utils/find-program
2065s ok 11 /utils/find-program-for-path
2065s ok 12 /utils/debug
2065s ok 13 /utils/codeset
2065s ok 14 /utils/codeset2
2065s ok 15 /utils/console-charset
2065s ok 16 /utils/gettext
2065s ok 17 /utils/username
2065s ok 18 /utils/realname
2065s ok 19 /utils/hostname
2065s ok 20 /utils/xdgdirs
2065s ok 21 /utils/specialdir
2065s # NAME: Ubuntu
2065s ok 22 /utils/os-info
2065s ok 23 /utils/clear-pointer
2065s ok 24 /utils/clear-pointer-cast
2065s ok 25 /utils/take-pointer
2065s ok 26 /utils/clear-source
2065s ok 27 /utils/misc-mem
2065s # /utils/aligned-mem summary: Aligned memory allocator
2065s # Alignment must not be zero
2065s # Alignment must be a power of two
2065s # Alignment must be a multiple of sizeof(void*)
2065s ok 28 /utils/aligned-mem
2065s # /utils/free-sized summary: Check that g_free_sized() works
2065s ok 29 /utils/free-sized
2065s ok 30 /utils/nullify
2065s ok 31 /utils/atexit
2065s ok 32 /utils/check-setuid
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
2065s ok 33 /utils/int-limits
2065s ok 34 /utils/clear-list
2065s ok 35 /utils/clear-slist
2065s # Start of specialdir tests
2065s ok 36 /utils/specialdir/desktop
2065s # End of specialdir tests
2065s # Start of clear-pointer tests
2065s ok 37 /utils/clear-pointer/side-effects
2065s # End of clear-pointer tests
2065s # Start of aligned-mem tests
2065s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
2065s ok 38 /utils/aligned-mem/alignment
2065s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
2065s ok 39 /utils/aligned-mem/zeroed
2065s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
2065s ok 40 /utils/aligned-mem/free-sized
2065s # Start of subprocess tests
2065s # End of subprocess tests
2065s # End of aligned-mem tests
2065s # End of utils tests
2065s ok - glib/utils-c-89.test
2065s # Running test: glib/thread-pool.test
2065s TAP version 14
2065s # random seed: R02S8dfad3d17d6e778ae5d5ab79392e3335
2065s 1..5
2065s # Start of thread_pool tests
2065s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works.
2065s ok 1 /thread_pool/shared
2065s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works.
2065s ok 2 /thread_pool/exclusive
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
2065s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works.
2065s ok 3 /thread_pool/create_shared_after_exclusive
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121
2065s ok 4 /thread_pool/create_full
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
2065s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works.
2065s ok 5 /thread_pool/create_exclusive_after_shared
2065s # End of thread_pool tests
2065s ok - glib/thread-pool.test
2065s # Running test: glib/flags.test
2065s TAP version 14
2065s # random seed: R02S1a279c1b094dffc197962df713a5f3e9
2065s 1..1
2065s # Start of gobject tests
2065s # Start of flags tests
2065s ok 1 /gobject/flags/validate
2065s # End of flags tests
2065s # End of gobject tests
2065s ok - glib/flags.test
2065s # Running test: glib/proxy-test.test
2065s TAP version 14
2065s # random seed: R02Sd0f1802bb9adf5920743c6192566a0a2
2065s 1..11
2065s # Start of proxy tests
2065s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver?
2065s ok 1 /proxy/direct_sync
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa1820 and GSocketClientAsyncConnectData 0xda9f0e8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa20c0 for GSocketClientAsyncConnectData 0xda9f0e8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2065s ok 2 /proxy/direct_async
2065s ok 3 /proxy/single_sync
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa2000 and GSocketClientAsyncConnectData 0xdaa1fb8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa31a8 for GSocketClientAsyncConnectData 0xdaa1fb8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
2065s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2065s ok 4 /proxy/single_async
2065s ok 5 /proxy/multiple_sync
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xda9d080 and GSocketClientAsyncConnectData 0xdaa2d88
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa3678 for GSocketClientAsyncConnectData 0xdaa2d88
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xda9d130 for GSocketClientAsyncConnectData 0xdaa2d88
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
2065s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2065s ok 6 /proxy/multiple_async
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
2065s ok 7 /proxy/invalid-uris-sync
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xda9d080 and GSocketClientAsyncConnectData 0xdaa3118
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
2065s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa2ca0 and GSocketClientAsyncConnectData 0xdaa3118
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
2065s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa1bb0 and GSocketClientAsyncConnectData 0xdaa3118
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa3730 for GSocketClientAsyncConnectData 0xdaa3118
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa2ca0 and GSocketClientAsyncConnectData 0xdaa1fe8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa3868 for GSocketClientAsyncConnectData 0xdaa1fe8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2065s ok 8 /proxy/invalid-uris-async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa31d0 and GSocketClientAsyncConnectData 0xdaa2ea8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: IPv6 DNS error: Not found
2065s # GLib-GIO-DEBUG: IPv4 DNS error: Not found
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found
2065s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa3400 and GSocketClientAsyncConnectData 0xdaa1fe8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa3660 for GSocketClientAsyncConnectData 0xdaa1fe8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
2065s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa3400 and GSocketClientAsyncConnectData 0xdaa2ea8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa3218 for GSocketClientAsyncConnectData 0xdaa2ea8
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
2065s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2065s ok 9 /proxy/dns
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa3400 and GSocketClientAsyncConnectData 0xdaa1c88
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa3610 for GSocketClientAsyncConnectData 0xdaa1c88
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
2065s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa3400 and GSocketClientAsyncConnectData 0xdaa2a90
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa3610 for GSocketClientAsyncConnectData 0xdaa2a90
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
2065s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2065s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
2065s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xdaa3400 and GSocketClientAsyncConnectData 0xdaa2c98
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2065s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xdaa3610 for GSocketClientAsyncConnectData 0xdaa2c98
2065s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2065s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2065s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
2065s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
2065s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
2065s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
2065s ok 10 /proxy/override
2065s ok 11 /proxy/enumerator-ports
2065s # End of proxy tests
2065s ok - glib/proxy-test.test
2065s # Running test: glib/tls-interaction.test
2065s TAP version 14
2065s # random seed: R02S548f5940a8c158cf8f7e942b115be1ed
2065s 1..42
2065s # Start of tls-interaction tests
2065s # Start of ask-password tests
2065s # Start of invoke-with-loop tests
2065s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation
2065s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success
2065s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure
2065s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success
2065s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure
2065s # End of invoke-with-loop tests
2065s # Start of invoke-without-loop tests
2065s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation
2065s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success
2065s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure
2065s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success
2065s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure
2065s # End of invoke-without-loop tests
2065s # Start of invoke-in-loop tests
2065s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation
2065s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success
2065s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure
2065s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success
2065s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure
2065s # End of invoke-in-loop tests
2065s # Start of sync tests
2065s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation
2065s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success
2065s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure
2065s # End of sync tests
2065s # Start of async tests
2065s ok 19 /tls-interaction/ask-password/async/unhandled-implementation
2065s ok 20 /tls-interaction/ask-password/async/async-implementation-success
2065s ok 21 /tls-interaction/ask-password/async/async-implementation-failure
2065s # End of async tests
2065s # End of ask-password tests
2065s # Start of request-certificate tests
2065s # Start of invoke-with-loop tests
2065s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation
2065s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success
2065s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure
2065s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success
2065s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure
2065s # End of invoke-with-loop tests
2065s # Start of invoke-without-loop tests
2065s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation
2065s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success
2065s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure
2065s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success
2065s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure
2065s # End of invoke-without-loop tests
2065s # Start of invoke-in-loop tests
2065s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation
2065s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success
2065s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure
2065s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success
2065s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure
2065s # End of invoke-in-loop tests
2065s # Start of sync tests
2065s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation
2065s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success
2065s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure
2065s # End of sync tests
2065s # Start of async tests
2065s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation
2065s ok 41 /tls-interaction/request-certificate/async/async-implementation-success
2065s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure
2065s # End of async tests
2065s # End of request-certificate tests
2065s # End of tls-interaction tests
2065s ok - glib/tls-interaction.test
2065s # Running test: glib/trash.test
2065s TAP version 14
2065s # random seed: R02Scdfe6c26784cb5b79245cf404b7cc82a
2065s 1..3
2065s # Start of trash tests
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251
2065s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2065s # File: /tmp/test-trashFNIZX2 (parent st_dev: 127)
2065s # Home: /home/ubuntu (st_dev: 127)
2065s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test
2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522
2065s # Target: /home/ubuntu/.local (mount: /)
2065s # Tmp: /tmp/test-trashJFHZX2 (mount: /)
2065s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test
2065s ok 3 /trash/long-filename
2065s # End of trash tests
2065s ok - glib/trash.test
2065s # Running test: glib/pattern.test
2065s TAP version 14
2065s # random seed: R02S8c602c5d48049e5d07c369838467dc08
2065s 1..90
2065s # Start of pattern tests
2065s # Start of compile tests
2065s ok 1 /pattern/compile/0
2065s ok 2 /pattern/compile/1
2065s ok 3 /pattern/compile/2
2065s ok 4 /pattern/compile/3
2065s ok 5 /pattern/compile/4
2065s ok 6 /pattern/compile/5
2065s ok 7 /pattern/compile/6
2065s ok 8 /pattern/compile/7
2065s ok 9 /pattern/compile/8
2065s ok 10 /pattern/compile/9
2065s ok 11 /pattern/compile/10
2065s ok 12 /pattern/compile/11
2065s ok 13 /pattern/compile/12
2065s ok 14 /pattern/compile/13
2065s # End of compile tests
2065s # Start of copy tests
2065s ok 15 /pattern/copy/0
2065s ok 16 /pattern/copy/1
2065s ok 17 /pattern/copy/2
2065s ok 18 /pattern/copy/3
2065s ok 19 /pattern/copy/4
2065s ok 20 /pattern/copy/5
2065s ok 21 /pattern/copy/6
2065s ok 22 /pattern/copy/7
2065s ok 23 /pattern/copy/8
2065s ok 24 /pattern/copy/9
2065s ok 25 /pattern/copy/10
2065s ok 26 /pattern/copy/11
2065s ok 27 /pattern/copy/12
2065s ok 28 /pattern/copy/13
2065s # End of copy tests
2065s # Start of match tests
2065s ok 29 /pattern/match/0
2065s ok 30 /pattern/match/1
2065s ok 31 /pattern/match/2
2065s ok 32 /pattern/match/3
2065s ok 33 /pattern/match/4
2065s ok 34 /pattern/match/5
2065s ok 35 /pattern/match/6
2065s ok 36 /pattern/match/7
2065s ok 37 /pattern/match/8
2065s ok 38 /pattern/match/9
2065s ok 39 /pattern/match/10
2065s ok 40 /pattern/match/11
2065s ok 41 /pattern/match/12
2065s ok 42 /pattern/match/13
2065s ok 43 /pattern/match/14
2065s ok 44 /pattern/match/15
2065s ok 45 /pattern/match/16
2065s ok 46 /pattern/match/17
2065s ok 47 /pattern/match/18
2065s ok 48 /pattern/match/19
2065s ok 49 /pattern/match/20
2065s ok 50 /pattern/match/21
2065s ok 51 /pattern/match/22
2065s ok 52 /pattern/match/23
2065s ok 53 /pattern/match/24
2065s ok 54 /pattern/match/25
2065s ok 55 /pattern/match/26
2065s ok 56 /pattern/match/27
2065s ok 57 /pattern/match/28
2065s ok 58 /pattern/match/29
2065s ok 59 /pattern/match/30
2065s ok 60 /pattern/match/31
2065s ok 61 /pattern/match/32
2065s ok 62 /pattern/match/33
2065s ok 63 /pattern/match/34
2065s ok 64 /pattern/match/35
2065s ok 65 /pattern/match/36
2065s ok 66 /pattern/match/37
2065s ok 67 /pattern/match/38
2065s ok 68 /pattern/match/39
2065s ok 69 /pattern/match/40
2065s ok 70 /pattern/match/41
2065s ok 71 /pattern/match/42
2065s ok 72 /pattern/match/43
2065s ok 73 /pattern/match/44
2065s ok 74 /pattern/match/45
2065s ok 75 /pattern/match/46
2065s ok 76 /pattern/match/47
2065s ok 77 /pattern/match/48
2065s ok 78 /pattern/match/49
2065s ok 79 /pattern/match/50
2065s # End of match tests
2065s # Start of equal tests
2065s ok 80 /pattern/equal/0
2065s ok 81 /pattern/equal/1
2065s ok 82 /pattern/equal/2
2065s ok 83 /pattern/equal/3
2065s ok 84 /pattern/equal/4
2065s ok 85 /pattern/equal/5
2065s ok 86 /pattern/equal/6
2065s ok 87 /pattern/equal/7
2065s ok 88 /pattern/equal/8
2065s ok 89 /pattern/equal/9
2065s ok 90 /pattern/equal/10
2065s # End of equal tests
2065s # End of pattern tests
2065s ok - glib/pattern.test
2065s # Running test: glib/1bit-mutex.test
2065s TAP version 14
2065s # random seed: R02S20594ca36e4479801c865ff234d99aa8
2065s 1..2
2065s # Start of glib tests
2065s # Start of 1bit-mutex tests
2066s ok 1 /glib/1bit-mutex/int
2066s # slow test /glib/1bit-mutex/int executed in 1.16 secs
2066s # Executing: glib/1bit-mutex.test
2067s ok 2 /glib/1bit-mutex/pointer
2067s # slow test /glib/1bit-mutex/pointer executed in 1.17 secs
2067s # End of 1bit-mutex tests
2067s # End of glib tests
2067s ok - glib/1bit-mutex.test
2067s # Running test: glib/portal-support-flatpak-full.test
2067s TAP version 14
2067s # random seed: R02S382ebbcb23bab67a551d2740e4e02bed
2067s 1..1
2067s # Start of portal-support tests
2067s # Start of flatpak tests
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/runtime
2067s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_GLTRX2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info
2067s ok 1 /portal-support/flatpak/full
2067s # End of flatpak tests
2067s # End of portal-support tests
2067s ok - glib/portal-support-flatpak-full.test
2067s # Running test: glib/hash.test
2067s TAP version 14
2067s # random seed: R02Sffee1e344813a48bdd58781f7b454b2c
2067s 1..34
2067s # Start of hash tests
2067s ok 1 /hash/misc
2067s ok 2 /hash/one
2067s ok 3 /hash/honeyman
2067s ok 4 /hash/direct
2067s ok 5 /hash/direct2
2067s ok 6 /hash/int
2067s ok 7 /hash/int64
2067s ok 8 /hash/double
2067s ok 9 /hash/string
2067s ok 10 /hash/set
2067s ok 11 /hash/set-ref
2067s ok 12 /hash/ref
2067s ok 13 /hash/remove-all
2067s ok 14 /hash/recursive-remove-all
2067s ok 15 /hash/find
2067s ok 16 /hash/foreach
2067s ok 17 /hash/foreach-steal
2067s ok 18 /hash/steal-extended
2067s ok 19 /hash/steal-all-keys
2067s ok 20 /hash/steal-all-values
2067s ok 21 /hash/lookup-extended
2067s ok 22 /hash/new-similar
2067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944
2067s ok 23 /hash/lookup-null-key
2067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459
2067s ok 24 /hash/destroy-modify
2067s ok 25 /hash/consistency
2067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544
2067s ok 26 /hash/iter-replace
2067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815
2067s ok 27 /hash/set-insert-corruption
2067s ok 28 /hash/set-to-strv
2067s ok 29 /hash/get-keys-as-ptr-array
2067s ok 30 /hash/get-values-as-ptr-array
2067s ok 31 /hash/primes
2067s # Start of int64 tests
2067s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word
2067s ok 32 /hash/int64/collisions
2067s # End of int64 tests
2067s # Start of double tests
2067s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64)
2067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771
2067s ok 33 /hash/double/collisions
2067s # End of double tests
2067s # Start of recursive-remove-all tests
2067s # End of recursive-remove-all tests
2067s # Start of steal-extended tests
2067s ok 34 /hash/steal-extended/optional
2067s # End of steal-extended tests
2067s # End of hash tests
2067s ok - glib/hash.test
2067s # Running test: glib/bookmarkfile.test
2067s TAP version 14
2067s # random seed: R02S7ca07a77374b0d69179d5f961fb400bb
2067s 1..96
2067s # Start of bookmarks tests
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/load-from-data-dirs/.dirs/runtime
2067s ok 1 /bookmarks/load-from-data-dirs
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/to-file/.dirs/runtime
2067s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_8VKQX2/bookmarkfile-test-A7LQX2.xbel
2067s # Roundtrip from a valid bookmark file
2067s ok 2 /bookmarks/to-file
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/move-item/.dirs/runtime
2067s ok 3 /bookmarks/move-item
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/corner-cases/.dirs/runtime
2067s ok 4 /bookmarks/corner-cases
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/misc/.dirs/runtime
2067s ok 5 /bookmarks/misc
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/deprecated/.dirs/runtime
2067s ok 6 /bookmarks/deprecated
2067s # Start of parse tests
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-01.xbel/.dirs/runtime
2067s ok 7 /bookmarks/parse/fail-01.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-02.xbel/.dirs/runtime
2067s ok 8 /bookmarks/parse/fail-02.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-03.xbel/.dirs/runtime
2067s ok 9 /bookmarks/parse/fail-03.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-04.xbel/.dirs/runtime
2067s ok 10 /bookmarks/parse/fail-04.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-05.xbel/.dirs/runtime
2067s ok 11 /bookmarks/parse/fail-05.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-06.xbel/.dirs/runtime
2067s ok 12 /bookmarks/parse/fail-06.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-07.xbel/.dirs/runtime
2067s ok 13 /bookmarks/parse/fail-07.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-08.xbel/.dirs/runtime
2067s ok 14 /bookmarks/parse/fail-08.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-09.xbel/.dirs/runtime
2067s ok 15 /bookmarks/parse/fail-09.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-10.xbel/.dirs/runtime
2067s ok 16 /bookmarks/parse/fail-10.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-11.xbel/.dirs/runtime
2067s ok 17 /bookmarks/parse/fail-11.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-12.xbel/.dirs/runtime
2067s ok 18 /bookmarks/parse/fail-12.xbel
2067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/home
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/cache
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/system-config2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/config
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/system-data2
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/data
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/state
2067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-13.xbel/.dirs/runtime
2067s ok 19 /bookmarks/parse/fail-13.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-14.xbel/.dirs/runtime
2068s ok 20 /bookmarks/parse/fail-14.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-15.xbel/.dirs/runtime
2068s ok 21 /bookmarks/parse/fail-15.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-16.xbel/.dirs/runtime
2068s ok 22 /bookmarks/parse/fail-16.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-17.xbel/.dirs/runtime
2068s ok 23 /bookmarks/parse/fail-17.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-18.xbel/.dirs/runtime
2068s ok 24 /bookmarks/parse/fail-18.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-19.xbel/.dirs/runtime
2068s ok 25 /bookmarks/parse/fail-19.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-20.xbel/.dirs/runtime
2068s ok 26 /bookmarks/parse/fail-20.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-21.xbel/.dirs/runtime
2068s ok 27 /bookmarks/parse/fail-21.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-22.xbel/.dirs/runtime
2068s ok 28 /bookmarks/parse/fail-22.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-23.xbel/.dirs/runtime
2068s ok 29 /bookmarks/parse/fail-23.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-24.xbel/.dirs/runtime
2068s ok 30 /bookmarks/parse/fail-24.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-25.xbel/.dirs/runtime
2068s ok 31 /bookmarks/parse/fail-25.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-26.xbel/.dirs/runtime
2068s ok 32 /bookmarks/parse/fail-26.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-27.xbel/.dirs/runtime
2068s ok 33 /bookmarks/parse/fail-27.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-28.xbel/.dirs/runtime
2068s ok 34 /bookmarks/parse/fail-28.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-29.xbel/.dirs/runtime
2068s ok 35 /bookmarks/parse/fail-29.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-30.xbel/.dirs/runtime
2068s ok 36 /bookmarks/parse/fail-30.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-31.xbel/.dirs/runtime
2068s ok 37 /bookmarks/parse/fail-31.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-32.xbel/.dirs/runtime
2068s ok 38 /bookmarks/parse/fail-32.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-33.xbel/.dirs/runtime
2068s ok 39 /bookmarks/parse/fail-33.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-34.xbel/.dirs/runtime
2068s ok 40 /bookmarks/parse/fail-34.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-35.xbel/.dirs/runtime
2068s ok 41 /bookmarks/parse/fail-35.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-36.xbel/.dirs/runtime
2068s ok 42 /bookmarks/parse/fail-36.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-37.xbel/.dirs/runtime
2068s ok 43 /bookmarks/parse/fail-37.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-38.xbel/.dirs/runtime
2068s ok 44 /bookmarks/parse/fail-38.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-39.xbel/.dirs/runtime
2068s ok 45 /bookmarks/parse/fail-39.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-40.xbel/.dirs/runtime
2068s ok 46 /bookmarks/parse/fail-40.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-41.xbel/.dirs/runtime
2068s ok 47 /bookmarks/parse/fail-41.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/fail-42.xbel/.dirs/runtime
2068s ok 48 /bookmarks/parse/fail-42.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-01.xbel/.dirs/runtime
2068s ok 49 /bookmarks/parse/valid-01.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-02.xbel/.dirs/runtime
2068s ok 50 /bookmarks/parse/valid-02.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/parse/valid-03.xbel/.dirs/runtime
2068s ok 51 /bookmarks/parse/valid-03.xbel
2068s # End of parse tests
2068s # Start of copy tests
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-01.xbel/.dirs/runtime
2068s ok 52 /bookmarks/copy/fail-01.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-02.xbel/.dirs/runtime
2068s ok 53 /bookmarks/copy/fail-02.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-03.xbel/.dirs/runtime
2068s ok 54 /bookmarks/copy/fail-03.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-04.xbel/.dirs/runtime
2068s ok 55 /bookmarks/copy/fail-04.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-05.xbel/.dirs/runtime
2068s ok 56 /bookmarks/copy/fail-05.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-06.xbel/.dirs/runtime
2068s ok 57 /bookmarks/copy/fail-06.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-07.xbel/.dirs/runtime
2068s ok 58 /bookmarks/copy/fail-07.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-08.xbel/.dirs/runtime
2068s ok 59 /bookmarks/copy/fail-08.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-09.xbel/.dirs/runtime
2068s ok 60 /bookmarks/copy/fail-09.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-10.xbel/.dirs/runtime
2068s ok 61 /bookmarks/copy/fail-10.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-11.xbel/.dirs/runtime
2068s ok 62 /bookmarks/copy/fail-11.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-12.xbel/.dirs/runtime
2068s ok 63 /bookmarks/copy/fail-12.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-13.xbel/.dirs/runtime
2068s ok 64 /bookmarks/copy/fail-13.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-14.xbel/.dirs/runtime
2068s ok 65 /bookmarks/copy/fail-14.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-15.xbel/.dirs/runtime
2068s ok 66 /bookmarks/copy/fail-15.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-16.xbel/.dirs/runtime
2068s ok 67 /bookmarks/copy/fail-16.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-17.xbel/.dirs/runtime
2068s ok 68 /bookmarks/copy/fail-17.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-18.xbel/.dirs/runtime
2068s ok 69 /bookmarks/copy/fail-18.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-19.xbel/.dirs/runtime
2068s ok 70 /bookmarks/copy/fail-19.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-20.xbel/.dirs/runtime
2068s ok 71 /bookmarks/copy/fail-20.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-21.xbel/.dirs/runtime
2068s ok 72 /bookmarks/copy/fail-21.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-22.xbel/.dirs/runtime
2068s ok 73 /bookmarks/copy/fail-22.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-23.xbel/.dirs/runtime
2068s ok 74 /bookmarks/copy/fail-23.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-24.xbel/.dirs/runtime
2068s ok 75 /bookmarks/copy/fail-24.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-25.xbel/.dirs/runtime
2068s ok 76 /bookmarks/copy/fail-25.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-26.xbel/.dirs/runtime
2068s ok 77 /bookmarks/copy/fail-26.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-27.xbel/.dirs/runtime
2068s ok 78 /bookmarks/copy/fail-27.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-28.xbel/.dirs/runtime
2068s ok 79 /bookmarks/copy/fail-28.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-29.xbel/.dirs/runtime
2068s ok 80 /bookmarks/copy/fail-29.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-30.xbel/.dirs/runtime
2068s ok 81 /bookmarks/copy/fail-30.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-31.xbel/.dirs/runtime
2068s ok 82 /bookmarks/copy/fail-31.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-32.xbel/.dirs/runtime
2068s ok 83 /bookmarks/copy/fail-32.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-33.xbel/.dirs/runtime
2068s ok 84 /bookmarks/copy/fail-33.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-34.xbel/.dirs/runtime
2068s ok 85 /bookmarks/copy/fail-34.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-35.xbel/.dirs/runtime
2068s ok 86 /bookmarks/copy/fail-35.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-36.xbel/.dirs/runtime
2068s ok 87 /bookmarks/copy/fail-36.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-37.xbel/.dirs/runtime
2068s ok 88 /bookmarks/copy/fail-37.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-38.xbel/.dirs/runtime
2068s ok 89 /bookmarks/copy/fail-38.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-39.xbel/.dirs/runtime
2068s ok 90 /bookmarks/copy/fail-39.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-40.xbel/.dirs/runtime
2068s ok 91 /bookmarks/copy/fail-40.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-41.xbel/.dirs/runtime
2068s ok 92 /bookmarks/copy/fail-41.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/fail-42.xbel/.dirs/runtime
2068s ok 93 /bookmarks/copy/fail-42.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-01.xbel/.dirs/runtime
2068s ok 94 /bookmarks/copy/valid-01.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-02.xbel/.dirs/runtime
2068s ok 95 /bookmarks/copy/valid-02.xbel
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_8VKQX2/bookmarks/copy/valid-03.xbel/.dirs/runtime
2068s ok 96 /bookmarks/copy/valid-03.xbel
2068s # End of copy tests
2068s # End of bookmarks tests
2068s ok - glib/bookmarkfile.test
2068s # Running test: glib/base64.test
2068s TAP version 14
2068s # random seed: R02S4aa88d1e3654a00c7fbdfb921b6c304b
2068s 1..28
2068s # Start of base64 tests
2068s ok 1 /base64/encode
2068s ok 2 /base64/decode
2068s ok 3 /base64/decode-inplace
2068s ok 4 /base64/encode-decode
2068s # Start of full tests
2068s ok 5 /base64/full/1
2068s ok 6 /base64/full/2
2068s ok 7 /base64/full/3
2068s ok 8 /base64/full/4
2068s # End of full tests
2068s # Start of encode tests
2068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
2068s ok 9 /base64/encode/empty
2068s # Start of incremental tests
2068s # Start of small-block tests
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
2068s ok 10 /base64/encode/incremental/small-block/1
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
2068s ok 11 /base64/encode/incremental/small-block/2
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
2068s ok 12 /base64/encode/incremental/small-block/3
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
2068s ok 13 /base64/encode/incremental/small-block/4
2068s # End of small-block tests
2068s # End of incremental tests
2068s # End of encode tests
2068s # Start of incremental tests
2068s # Start of nobreak tests
2068s ok 14 /base64/incremental/nobreak/1
2068s ok 15 /base64/incremental/nobreak/2
2068s ok 16 /base64/incremental/nobreak/3
2068s ok 17 /base64/incremental/nobreak/4-a
2068s ok 18 /base64/incremental/nobreak/4-b
2068s ok 19 /base64/incremental/nobreak/4-c
2068s # End of nobreak tests
2068s # Start of break tests
2068s ok 20 /base64/incremental/break/1
2068s ok 21 /base64/incremental/break/2
2068s ok 22 /base64/incremental/break/3
2068s # End of break tests
2068s # Start of smallblock tests
2068s ok 23 /base64/incremental/smallblock/1
2068s ok 24 /base64/incremental/smallblock/2
2068s ok 25 /base64/incremental/smallblock/3
2068s ok 26 /base64/incremental/smallblock/4
2068s # End of smallblock tests
2068s # End of incremental tests
2068s # Start of decode tests
2068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
2068s ok 27 /base64/decode/empty
2068s # End of decode tests
2068s # Start of encode-decode tests
2068s # Vector 0:
2068s # Vector 1: f
2068s # Vector 2: fo
2068s # Vector 3: foo
2068s # Vector 4: foob
2068s # Vector 5: fooba
2068s # Vector 6: foobar
2068s ok 28 /base64/encode-decode/rfc4648
2068s # End of encode-decode tests
2068s # End of base64 tests
2068s ok - glib/base64.test
2068s # Running test: glib/genmarshal.py.test
2068s TAP version 13
2068s ok 1 __main__.TestGenmarshal.test_empty_list
2068s # tmpdir: /tmp/tmpcsuqpmit
2068s # genmarshal: /usr/bin/glib-genmarshal
2068s # /tmp/tmpcsuqpmit/tmpyc4uoz4h.list:
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcsuqpmit/tmpyc4uoz4h.list', '--header', '--quiet']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s #
2068s # #include
2068s #
2068s # G_BEGIN_DECLS
2068s #
2068s #
2068s # G_END_DECLS
2068s #
2068s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcsuqpmit/tmpyc4uoz4h.list', '--body', '--quiet']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #include
2068s #
2068s # #ifdef G_ENABLE_DEBUG
2068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
2068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
2068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
2068s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
2068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
2068s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
2068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
2068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
2068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
2068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
2068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
2068s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
2068s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
2068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
2068s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
2068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
2068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
2068s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
2068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
2068s # #else /* !G_ENABLE_DEBUG */
2068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
2068s # * Do not access GValues directly in your code. Instead, use the
2068s # * g_value_get_*() functions
2068s # */
2068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
2068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
2068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
2068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
2068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
2068s # #endif /* !G_ENABLE_DEBUG */
2068s ok 2 __main__.TestGenmarshal.test_help
2068s # tmpdir: /tmp/tmp2iwc38sn
2068s # genmarshal: /usr/bin/glib-genmarshal
2068s # Running: ['/usr/bin/glib-genmarshal', '--help']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source]
2068s # [--internal] [--valist-marshallers] [-v]
2068s # [--g-fatal-warnings] [--include-header [HEADER]]
2068s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES]
2068s # [--prototypes] [--header] [--body]
2068s # [--stdinc | --nostdinc] [--quiet | --verbose]
2068s # [FILE ...]
2068s #
2068s # Generate signal marshallers for GObject
2068s #
2068s # positional arguments:
2068s # FILE Files with lists of marshallers to generate, or "-"
2068s # for standard input
2068s #
2068s # options:
2068s # -h, --help show this help message and exit
2068s # --prefix STRING Specify marshaller prefix
2068s # --output FILE Write output into the specified file
2068s # --skip-source Skip source location comments
2068s # --internal Mark generated functions as internal
2068s # --valist-marshallers Generate va_list marshallers
2068s # -v, --version Print version information, and exit
2068s # --g-fatal-warnings Make warnings fatal
2068s # --include-header [HEADER]
2068s # Include the specified header in the body
2068s # --pragma-once Use "pragma once" as the inclusion guard
2068s # -D CPP_DEFINES Pre-processor define
2068s # -U CPP_UNDEFINES Pre-processor undefine
2068s # --prototypes Generate the marshallers prototype in the C code
2068s # --header Generate C headers
2068s # --body Generate C code
2068s # --stdinc Include standard marshallers
2068s # --nostdinc Use standard marshallers
2068s # --quiet Only print warnings and errors
2068s # --verbose Be verbose, and include debugging information
2068s ok 3 __main__.TestGenmarshal.test_no_args
2068s # tmpdir: /tmp/tmpwsm0mo57
2068s # genmarshal: /usr/bin/glib-genmarshal
2068s # Running: ['/usr/bin/glib-genmarshal']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output:
2068s ok 4 __main__.TestGenmarshal.test_void_boolean
2068s # tmpdir: /tmp/tmpkoy_aohf
2068s # genmarshal: /usr/bin/glib-genmarshal
2068s # /tmp/tmpkoy_aohf/tmpcjdz28z6.list: VOID:BOOLEAN
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkoy_aohf/tmpcjdz28z6.list', '--header', '--quiet']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s #
2068s # #include
2068s #
2068s # G_BEGIN_DECLS
2068s #
2068s # /* VOID:BOOLEAN (/tmp/tmpkoy_aohf/tmpcjdz28z6.list:1) */
2068s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
2068s #
2068s #
2068s # G_END_DECLS
2068s #
2068s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkoy_aohf/tmpcjdz28z6.list', '--body', '--quiet']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #include
2068s #
2068s # #ifdef G_ENABLE_DEBUG
2068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
2068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
2068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
2068s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
2068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
2068s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
2068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
2068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
2068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
2068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
2068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
2068s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
2068s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
2068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
2068s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
2068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
2068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
2068s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
2068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
2068s # #else /* !G_ENABLE_DEBUG */
2068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
2068s # * Do not access GValues directly in your code. Instead, use the
2068s # * g_value_get_*() functions
2068s # */
2068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
2068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
2068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
2068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
2068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
2068s # #endif /* !G_ENABLE_DEBUG */
2068s ok 5 __main__.TestGenmarshal.test_void_boolean_int64
2068s # tmpdir: /tmp/tmpg8_hbg9v
2068s # genmarshal: /usr/bin/glib-genmarshal
2068s # /tmp/tmpg8_hbg9v/tmp9fz2qgwg.list: VOID:BOOLEAN,INT64
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpg8_hbg9v/tmp9fz2qgwg.list', '--header', '--quiet']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s #
2068s # #include
2068s #
2068s # G_BEGIN_DECLS
2068s #
2068s # /* VOID:BOOLEAN,INT64 (/tmp/tmpg8_hbg9v/tmp9fz2qgwg.list:1) */
2068s # extern
2068s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
2068s # GValue *return_value,
2068s # guint n_param_values,
2068s # const GValue *param_values,
2068s # gpointer invocation_hint,
2068s # gpointer marshal_data);
2068s #
2068s #
2068s # G_END_DECLS
2068s #
2068s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpg8_hbg9v/tmp9fz2qgwg.list', '--body', '--quiet']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #include
2068s #
2068s # #ifdef G_ENABLE_DEBUG
2068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
2068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
2068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
2068s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
2068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
2068s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
2068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
2068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
2068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
2068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
2068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
2068s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
2068s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
2068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
2068s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
2068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
2068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
2068s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
2068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
2068s # #else /* !G_ENABLE_DEBUG */
2068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
2068s # * Do not access GValues directly in your code. Instead, use the
2068s # * g_value_get_*() functions
2068s # */
2068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
2068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
2068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
2068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
2068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
2068s # #endif /* !G_ENABLE_DEBUG */
2068s #
2068s # /* VOID:BOOLEAN,INT64 (/tmp/tmpg8_hbg9v/tmp9fz2qgwg.list:1) */
2068s # void
2068s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
2068s # GValue *return_value G_GNUC_UNUSED,
2068s # guint n_param_values,
2068s # const GValue *param_values,
2068s # gpointer invocation_hint G_GNUC_UNUSED,
2068s # gpointer marshal_data)
2068s # {
2068s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1,
2068s # gboolean arg1,
2068s # gint64 arg2,
2068s # gpointer data2);
2068s # GCClosure *cc = (GCClosure *) closure;
2068s # gpointer data1, data2;
2068s # GMarshalFunc_VOID__BOOLEAN_INT64 callback;
2068s #
2068s # g_return_if_fail (n_param_values == 3);
2068s #
2068s # if (G_CCLOSURE_SWAP_DATA (closure))
2068s # {
2068s # data1 = closure->data;
2068s # data2 = g_value_peek_pointer (param_values + 0);
2068s # }
2068s # else
2068s # {
2068s # data1 = g_value_peek_pointer (param_values + 0);
2068s # data2 = closure->data;
2068s # }
2068s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback);
2068s #
2068s # callback (data1,
2068s # g_marshal_value_peek_boolean (param_values + 1),
2068s # g_marshal_value_peek_int64 (param_values + 2),
2068s # data2);
2068s # }
2068s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc
2068s # tmpdir: /tmp/tmpelyysqqu
2068s # genmarshal: /usr/bin/glib-genmarshal
2068s # /tmp/tmpelyysqqu/tmpbpwi73ik.list: VOID:PARAM
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpelyysqqu/tmpbpwi73ik.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s #
2068s # G_BEGIN_DECLS
2068s #
2068s # /* VOID:PARAM (/tmp/tmpelyysqqu/tmpbpwi73ik.list:1) */
2068s # extern
2068s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
2068s # GValue *return_value,
2068s # guint n_param_values,
2068s # const GValue *param_values,
2068s # gpointer invocation_hint,
2068s # gpointer marshal_data);
2068s # extern
2068s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
2068s # GValue *return_value,
2068s # gpointer instance,
2068s # va_list args,
2068s # gpointer marshal_data,
2068s # int n_params,
2068s # GType *param_types);
2068s #
2068s #
2068s # G_END_DECLS
2068s #
2068s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpelyysqqu/tmpbpwi73ik.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifdef G_ENABLE_DEBUG
2068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
2068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
2068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
2068s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
2068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
2068s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
2068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
2068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
2068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
2068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
2068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
2068s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
2068s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
2068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
2068s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
2068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
2068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
2068s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
2068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
2068s # #else /* !G_ENABLE_DEBUG */
2068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
2068s # * Do not access GValues directly in your code. Instead, use the
2068s # * g_value_get_*() functions
2068s # */
2068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
2068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
2068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
2068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
2068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
2068s # #endif /* !G_ENABLE_DEBUG */
2068s #
2068s # /* VOID:PARAM (/tmp/tmpelyysqqu/tmpbpwi73ik.list:1) */
2068s # void
2068s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
2068s # GValue *return_value G_GNUC_UNUSED,
2068s # guint n_param_values,
2068s # const GValue *param_values,
2068s # gpointer invocation_hint G_GNUC_UNUSED,
2068s # gpointer marshal_data)
2068s # {
2068s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
2068s # gpointer arg1,
2068s # gpointer data2);
2068s # GCClosure *cc = (GCClosure *) closure;
2068s # gpointer data1, data2;
2068s # GMarshalFunc_VOID__PARAM callback;
2068s #
2068s # g_return_if_fail (n_param_values == 2);
2068s #
2068s # if (G_CCLOSURE_SWAP_DATA (closure))
2068s # {
2068s # data1 = closure->data;
2068s # data2 = g_value_peek_pointer (param_values + 0);
2068s # }
2068s # else
2068s # {
2068s # data1 = g_value_peek_pointer (param_values + 0);
2068s # data2 = closure->data;
2068s # }
2068s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
2068s #
2068s # callback (data1,
2068s # g_marshal_value_peek_param (param_values + 1),
2068s # data2);
2068s # }
2068s #
2068s # void
2068s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
2068s # GValue *return_value G_GNUC_UNUSED,
2068s # gpointer instance,
2068s # va_list args,
2068s # gpointer marshal_data,
2068s # int n_params,
2068s # GType *param_types)
2068s # {
2068s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
2068s # gpointer arg1,
2068s # gpointer data2);
2068s # GCClosure *cc = (GCClosure *) closure;
2068s # gpointer data1, data2;
2068s # GMarshalFunc_VOID__PARAM callback;
2068s # gpointer arg0;
2068s # va_list args_copy;
2068s #
2068s # va_copy (args_copy, args);
2068s # arg0 = (gpointer) va_arg (args_copy, gpointer);
2068s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
2068s # arg0 = g_param_spec_ref (arg0);
2068s # va_end (args_copy);
2068s #
2068s #
2068s # if (G_CCLOSURE_SWAP_DATA (closure))
2068s # {
2068s # data1 = closure->data;
2068s # data2 = instance;
2068s # }
2068s # else
2068s # {
2068s # data1 = instance;
2068s # data2 = closure->data;
2068s # }
2068s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
2068s #
2068s # callback (data1,
2068s # arg0,
2068s # data2);
2068s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
2068s # g_param_spec_unref (arg0);
2068s # }
2068s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc
2068s # tmpdir: /tmp/tmp668yf2so
2068s # genmarshal: /usr/bin/glib-genmarshal
2068s # /tmp/tmp668yf2so/tmpeazqv9zi.list: VOID:STRING
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp668yf2so/tmpeazqv9zi.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s #
2068s # G_BEGIN_DECLS
2068s #
2068s # /* VOID:STRING (/tmp/tmp668yf2so/tmpeazqv9zi.list:1) */
2068s # extern
2068s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
2068s # GValue *return_value,
2068s # guint n_param_values,
2068s # const GValue *param_values,
2068s # gpointer invocation_hint,
2068s # gpointer marshal_data);
2068s # extern
2068s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
2068s # GValue *return_value,
2068s # gpointer instance,
2068s # va_list args,
2068s # gpointer marshal_data,
2068s # int n_params,
2068s # GType *param_types);
2068s #
2068s #
2068s # G_END_DECLS
2068s #
2068s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp668yf2so/tmpeazqv9zi.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifdef G_ENABLE_DEBUG
2068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
2068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
2068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
2068s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
2068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
2068s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
2068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
2068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
2068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
2068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
2068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
2068s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
2068s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
2068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
2068s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
2068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
2068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
2068s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
2068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
2068s # #else /* !G_ENABLE_DEBUG */
2068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
2068s # * Do not access GValues directly in your code. Instead, use the
2068s # * g_value_get_*() functions
2068s # */
2068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
2068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
2068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
2068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
2068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
2068s # #endif /* !G_ENABLE_DEBUG */
2068s #
2068s # /* VOID:STRING (/tmp/tmp668yf2so/tmpeazqv9zi.list:1) */
2068s # void
2068s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
2068s # GValue *return_value G_GNUC_UNUSED,
2068s # guint n_param_values,
2068s # const GValue *param_values,
2068s # gpointer invocation_hint G_GNUC_UNUSED,
2068s # gpointer marshal_data)
2068s # {
2068s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
2068s # gpointer arg1,
2068s # gpointer data2);
2068s # GCClosure *cc = (GCClosure *) closure;
2068s # gpointer data1, data2;
2068s # GMarshalFunc_VOID__STRING callback;
2068s #
2068s # g_return_if_fail (n_param_values == 2);
2068s #
2068s # if (G_CCLOSURE_SWAP_DATA (closure))
2068s # {
2068s # data1 = closure->data;
2068s # data2 = g_value_peek_pointer (param_values + 0);
2068s # }
2068s # else
2068s # {
2068s # data1 = g_value_peek_pointer (param_values + 0);
2068s # data2 = closure->data;
2068s # }
2068s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
2068s #
2068s # callback (data1,
2068s # g_marshal_value_peek_string (param_values + 1),
2068s # data2);
2068s # }
2068s #
2068s # void
2068s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
2068s # GValue *return_value G_GNUC_UNUSED,
2068s # gpointer instance,
2068s # va_list args,
2068s # gpointer marshal_data,
2068s # int n_params,
2068s # GType *param_types)
2068s # {
2068s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
2068s # gpointer arg1,
2068s # gpointer data2);
2068s # GCClosure *cc = (GCClosure *) closure;
2068s # gpointer data1, data2;
2068s # GMarshalFunc_VOID__STRING callback;
2068s # gpointer arg0;
2068s # va_list args_copy;
2068s #
2068s # va_copy (args_copy, args);
2068s # arg0 = (gpointer) va_arg (args_copy, gpointer);
2068s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
2068s # arg0 = g_strdup (arg0);
2068s # va_end (args_copy);
2068s #
2068s #
2068s # if (G_CCLOSURE_SWAP_DATA (closure))
2068s # {
2068s # data1 = closure->data;
2068s # data2 = instance;
2068s # }
2068s # else
2068s # {
2068s # data1 = instance;
2068s # data2 = closure->data;
2068s # }
2068s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
2068s #
2068s # callback (data1,
2068s # arg0,
2068s # data2);
2068s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
2068s # g_free (arg0);
2068s # }
2068s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller
2068s # tmpdir: /tmp/tmpt6i9qp0a
2068s # genmarshal: /usr/bin/glib-genmarshal
2068s # /tmp/tmpt6i9qp0a/tmpff5lgqk6.list: VOID:VARIANT
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt6i9qp0a/tmpff5lgqk6.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
2068s #
2068s # G_BEGIN_DECLS
2068s #
2068s # /* VOID:VARIANT (/tmp/tmpt6i9qp0a/tmpff5lgqk6.list:1) */
2068s # extern
2068s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
2068s # GValue *return_value,
2068s # guint n_param_values,
2068s # const GValue *param_values,
2068s # gpointer invocation_hint,
2068s # gpointer marshal_data);
2068s # extern
2068s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
2068s # GValue *return_value,
2068s # gpointer instance,
2068s # va_list args,
2068s # gpointer marshal_data,
2068s # int n_params,
2068s # GType *param_types);
2068s #
2068s #
2068s # G_END_DECLS
2068s #
2068s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
2068s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt6i9qp0a/tmpff5lgqk6.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: /* 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. */
2068s # #ifdef G_ENABLE_DEBUG
2068s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
2068s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
2068s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
2068s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
2068s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
2068s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
2068s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
2068s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
2068s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
2068s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
2068s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
2068s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
2068s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
2068s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
2068s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
2068s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
2068s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
2068s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
2068s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
2068s # #else /* !G_ENABLE_DEBUG */
2068s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
2068s # * Do not access GValues directly in your code. Instead, use the
2068s # * g_value_get_*() functions
2068s # */
2068s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
2068s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
2068s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
2068s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
2068s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
2068s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
2068s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
2068s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
2068s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
2068s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
2068s # #endif /* !G_ENABLE_DEBUG */
2068s #
2068s # /* VOID:VARIANT (/tmp/tmpt6i9qp0a/tmpff5lgqk6.list:1) */
2068s # void
2068s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
2068s # GValue *return_value G_GNUC_UNUSED,
2068s # guint n_param_values,
2068s # const GValue *param_values,
2068s # gpointer invocation_hint G_GNUC_UNUSED,
2068s # gpointer marshal_data)
2068s # {
2068s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
2068s # gpointer arg1,
2068s # gpointer data2);
2068s # GCClosure *cc = (GCClosure *) closure;
2068s # gpointer data1, data2;
2068s # GMarshalFunc_VOID__VARIANT callback;
2068s #
2068s # g_return_if_fail (n_param_values == 2);
2068s #
2068s # if (G_CCLOSURE_SWAP_DATA (closure))
2068s # {
2068s # data1 = closure->data;
2068s # data2 = g_value_peek_pointer (param_values + 0);
2068s # }
2068s # else
2068s # {
2068s # data1 = g_value_peek_pointer (param_values + 0);
2068s # data2 = closure->data;
2068s # }
2068s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
2068s #
2068s # callback (data1,
2068s # g_marshal_value_peek_variant (param_values + 1),
2068s # data2);
2068s # }
2068s #
2068s # void
2068s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
2068s # GValue *return_value G_GNUC_UNUSED,
2068s # gpointer instance,
2068s # va_list args,
2068s # gpointer marshal_data,
2068s # int n_params,
2068s # GType *param_types)
2068s # {
2068s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
2068s # gpointer arg1,
2068s # gpointer data2);
2068s # GCClosure *cc = (GCClosure *) closure;
2068s # gpointer data1, data2;
2068s # GMarshalFunc_VOID__VARIANT callback;
2068s # gpointer arg0;
2068s # va_list args_copy;
2068s #
2068s # va_copy (args_copy, args);
2068s # arg0 = (gpointer) va_arg (args_copy, gpointer);
2068s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
2068s # arg0 = g_variant_ref_sink (arg0);
2068s # va_end (args_copy);
2068s #
2068s #
2068s # if (G_CCLOSURE_SWAP_DATA (closure))
2068s # {
2068s # data1 = closure->data;
2068s # data2 = instance;
2068s # }
2068s # else
2068s # {
2068s # data1 = instance;
2068s # data2 = closure->data;
2068s # }
2068s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
2068s #
2068s # callback (data1,
2068s # arg0,
2068s # data2);
2068s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
2068s # g_variant_unref (arg0);
2068s # }
2068s 1..8
2068s ok - glib/genmarshal.py.test
2068s # Running test: glib/sandbox.test
2068s TAP version 14
2068s # random seed: R02Sbaba546e3bd7ce257c6da3f05c7322ed
2068s 1..4
2068s # Start of sandbox tests
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KZNWX2/sandbox/none/.dirs/runtime
2068s ok 1 /sandbox/none
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KZNWX2/sandbox/snap/.dirs/runtime
2068s # Created snap.yaml in /tmp/test_sandbox_KZNWX2/snap/current/meta/snap.yaml
2068s ok 2 /sandbox/snap
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KZNWX2/sandbox/classic-snap/.dirs/runtime
2068s # Created snap.yaml in /tmp/test_sandbox_KZNWX2/snap/current/meta/snap.yaml
2068s ok 3 /sandbox/classic-snap
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/runtime
2068s # Creating .flatpak-info in /tmp/test_sandbox_KZNWX2/sandbox/flatpak/.dirs/runtime/.flatpak-info
2068s ok 4 /sandbox/flatpak
2068s # End of sandbox tests
2068s ok - glib/sandbox.test
2068s # Running test: glib/macros-c-89.test
2068s TAP version 14
2068s # random seed: R02S18f23ba85cd2790ed30968dbf84482d0
2068s 1..4
2068s # Start of C tests
2068s ok 1 /C/standard-89
2068s # End of C tests
2068s # Start of alignof tests
2068s ok 2 /alignof/fallback
2068s # End of alignof tests
2068s # Start of assert tests
2068s ok 3 /assert/static
2068s # End of assert tests
2068s # Start of struct tests
2068s ok 4 /struct/sizeof_member
2068s # End of struct tests
2068s ok - glib/macros-c-89.test
2068s # Running test: glib/module-test-plugin.test
2068s TAP version 14
2068s # random seed: R02Sbe0795990049400409a58220c6f05b49
2068s 1..3
2068s # Start of module tests
2068s ok 1 /module/basics
2068s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
2068s ok 2 /module/invalid-libtool-archive
2068s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
2068s ok 3 /module/local-binding
2068s # End of module tests
2068s ok - glib/module-test-plugin.test
2068s # Running test: glib/buffered-input-stream.test
2068s TAP version 14
2068s # random seed: R02Sd4e3b1371a4659815d7ed9fc2c85ab2d
2068s 1..10
2068s # Start of buffered-input-stream tests
2068s ok 1 /buffered-input-stream/peek
2068s ok 2 /buffered-input-stream/peek-buffer
2068s ok 3 /buffered-input-stream/set-buffer-size
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393
2068s ok 4 /buffered-input-stream/read-byte
2068s ok 5 /buffered-input-stream/read
2068s ok 6 /buffered-input-stream/read-async
2068s ok 7 /buffered-input-stream/skip
2068s ok 8 /buffered-input-stream/skip-async
2068s ok 9 /buffered-input-stream/seek
2068s # End of buffered-input-stream tests
2068s # Start of filter-input-stream tests
2068s ok 10 /filter-input-stream/close
2068s # End of filter-input-stream tests
2068s ok - glib/buffered-input-stream.test
2068s # Running test: glib/g-file.test
2068s TAP version 14
2068s # random seed: R02S2ca749b7f23d4d1b16392d773cc58903
2068s 1..8
2068s # Start of g-file tests
2068s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2068s ok 1 /g-file/test_g_file_new_null
2068s ok 2 /g-file/test_g_file_new_for_path
2068s ok 3 /g-file/test_g_file_new_for_uri
2068s ok 4 /g-file/test_g_file_dup
2068s ok 5 /g-file/test_g_file_get_parse_name_utf8
2068s file:///tmp/test-tmp-glib_g-file.test-DF2VX2
2068s file:///tmp
2068s file:///tmp
2068s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
2068s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
2068s ok 6 /g-file/test_g_file_new_for_commandline_arg
2068s /dir1 /dir1/dir2/dir3/
2068s /dir1/ /dir1/dir2/dir3/
2068s /dir1 /dir1/dir2/dir3
2068s /dir1/ /dir1/dir2/dir3
2068s /tmp/ /something/
2068s /dir1/dir2 /dir1/
2068s //dir1/new //dir1/new/dir2/dir3
2068s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2
2068s file:///dir1 file:///dir1/dir2/dir3/
2068s file:///dir1/ file:///dir1/dir2/dir3/
2068s file:///dir1 file:///dir1/dir2/dir3
2068s file:///dir1/ file:///dir1/dir2/dir3
2068s file:///tmp/ file:///something/
2068s file:///dir1/dir2 file:///dir1/
2068s file:////dir1/new file:////dir1/new/dir2/dir3
2068s file:///dir/UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 file:///dir/UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88/dir2
2068s ok 7 /g-file/test_g_file_has_prefix
2068s ok 8 /g-file/test_g_file_get_parent_child
2068s # End of g-file tests
2068s ok - glib/g-file.test
2068s # Running test: glib/gobject-query.py.test
2068s TAP version 13
2068s ok 1 __main__.TestGobjectQuery.test_froots
2068s # gobject-query: /usr/bin/gobject-query
2068s # Running: ['/usr/bin/gobject-query', 'froots']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: ├void
2068s # ├GInterface
2068s # │ └GTypePlugin
2068s # ├gchar
2068s # ├guchar
2068s # ├gboolean
2068s # ├gint
2068s # ├guint
2068s # ├glong
2068s # ├gulong
2068s # ├gint64
2068s # ├guint64
2068s # ├GEnum
2068s # ├GFlags
2068s # ├gfloat
2068s # ├gdouble
2068s # ├gchararray
2068s # ├gpointer
2068s # │ └GType
2068s # ├GBoxed
2068s # │ └GValueArray
2068s # ├GParam
2068s # │ ├GParamChar
2068s # │ ├GParamUChar
2068s # │ ├GParamBoolean
2068s # │ ├GParamInt
2068s # │ ├GParamUInt
2068s # │ ├GParamLong
2068s # │ ├GParamULong
2068s # │ ├GParamInt64
2068s # │ ├GParamUInt64
2068s # │ ├GParamUnichar
2068s # │ ├GParamEnum
2068s # │ ├GParamFlags
2068s # │ ├GParamFloat
2068s # │ ├GParamDouble
2068s # │ ├GParamString
2068s # │ ├GParamParam
2068s # │ ├GParamBoxed
2068s # │ ├GParamPointer
2068s # │ ├GParamValueArray
2068s # │ ├GParamObject
2068s # │ ├GParamOverride
2068s # │ ├GParamGType
2068s # │ └GParamVariant
2068s # ├GObject
2068s # â””GVariant
2068s ok 2 __main__.TestGobjectQuery.test_help
2068s # gobject-query: /usr/bin/gobject-query
2068s # Running: ['/usr/bin/gobject-query', '--help']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}]
2068s # -r specify root type
2068s # -n don't descend type tree
2068s # -h show help
2068s # -b specify indent string
2068s # -i specify incremental indent string
2068s # -s specify line spacing
2068s # qualifiers:
2068s # froots iterate over fundamental roots
2068s # tree print type tree
2068s ok 3 __main__.TestGobjectQuery.test_tree
2068s # gobject-query: /usr/bin/gobject-query
2068s # Running: ['/usr/bin/gobject-query', 'tree']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: GObject
2068s ok 4 __main__.TestGobjectQuery.test_version
2068s # gobject-query: /usr/bin/gobject-query
2068s # Running: ['/usr/bin/gobject-query', '--version']
2068s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-BvKi4qEZun,guid=1c4ee46b3d29e232bb4a6ec2674fb975', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.sgD5cM/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.NKZLK3uhK9', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gppiih/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.sgD5cM/build.suw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.sgD5cM/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'}
2068s # Output: 2.82.2
2068s 1..4
2068s ok - glib/gobject-query.py.test
2068s # Running test: glib/fileutils.test
2068s TAP version 14
2068s # random seed: R02Sd381f34c129d9bd82ff18898da2a67e9
2068s 1..27
2068s # Start of fileutils tests
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/paths/.dirs/runtime
2068s ok 1 /fileutils/paths
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/build-path/.dirs/runtime
2068s ok 2 /fileutils/build-path
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/build-pathv/.dirs/runtime
2068s ok 3 /fileutils/build-pathv
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/build-filename/.dirs/runtime
2068s ok 4 /fileutils/build-filename
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/build-filenamev/.dirs/runtime
2068s ok 5 /fileutils/build-filenamev
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents/.dirs/runtime
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s ok 6 /fileutils/mkdir-with-parents
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/mkdir-with-parents-permission/.dirs/runtime
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s ok 7 /fileutils/mkdir-with-parents-permission
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/format-size-for-display/.dirs/runtime
2068s ok 8 /fileutils/format-size-for-display
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/errors/.dirs/runtime
2068s ok 9 /fileutils/errors
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/basename/.dirs/runtime
2068s ok 10 /fileutils/basename
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/get-basename/.dirs/runtime
2068s ok 11 /fileutils/get-basename
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/dirname/.dirs/runtime
2068s ok 12 /fileutils/dirname
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/dir-make-tmp/.dirs/runtime
2068s ok 13 /fileutils/dir-make-tmp
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/file-open-tmp/.dirs/runtime
2068s ok 14 /fileutils/file-open-tmp
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/file-test/.dirs/runtime
2068s ok 15 /fileutils/file-test
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/mkstemp/.dirs/runtime
2068s ok 16 /fileutils/mkstemp
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/mkdtemp/.dirs/runtime
2068s ok 17 /fileutils/mkdtemp
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/get-contents/.dirs/runtime
2068s ok 18 /fileutils/get-contents
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/get-contents-large-file/.dirs/runtime
2068s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/set-contents/.dirs/runtime
2068s ok 20 /fileutils/set-contents
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/.dirs/runtime
2068s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags
2068s # Flags 0 and test 0
2068s # Flags 0 and test 1
2068s # Flags 0 and test 2
2068s # Flags 0 and test 3
2068s # Flags 0 and test 4
2068s # Flags 0 and test 5
2068s # Flags 1 and test 0
2068s # Flags 1 and test 1
2068s # Flags 1 and test 2
2068s # Flags 1 and test 3
2068s # Flags 1 and test 4
2068s # Flags 1 and test 5
2068s # Flags 2 and test 0
2068s # Flags 2 and test 1
2068s # Flags 2 and test 2
2068s # Flags 2 and test 3
2068s # Flags 2 and test 4
2068s # Flags 2 and test 5
2068s # Flags 3 and test 0
2068s # Flags 3 and test 1
2068s # Flags 3 and test 2
2068s # Flags 3 and test 3
2068s # Flags 3 and test 4
2068s # Flags 3 and test 5
2068s # Flags 4 and test 0
2068s # Flags 4 and test 1
2068s # Flags 4 and test 2
2068s # Flags 4 and test 3
2068s # Flags 4 and test 4
2068s # Flags 4 and test 5
2068s # Flags 5 and test 0
2068s # Flags 5 and test 1
2068s # Flags 5 and test 2
2068s # Flags 5 and test 3
2068s # Flags 5 and test 4
2068s # Flags 5 and test 5
2068s # Flags 6 and test 0
2068s # Flags 6 and test 1
2068s # Flags 6 and test 2
2068s # Flags 6 and test 3
2068s # Flags 6 and test 4
2068s # Flags 6 and test 5
2068s ok 21 /fileutils/set-contents-full
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/read-link/.dirs/runtime
2068s ok 22 /fileutils/read-link
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/stdio-wrappers/.dirs/runtime
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s ok 23 /fileutils/stdio-wrappers
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/fopen-modes/.dirs/runtime
2068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119
2068s # Testing fopen() mode 'w'
2068s # Testing fopen() mode 'r'
2068s # Testing fopen() mode 'a'
2068s # Testing fopen() mode 'w+'
2068s # Testing fopen() mode 'r+'
2068s # Testing fopen() mode 'a+'
2068s # Testing fopen() mode 'wb'
2068s # Testing fopen() mode 'rb'
2068s # Testing fopen() mode 'ab'
2068s # Testing fopen() mode 'w+b'
2068s # Testing fopen() mode 'r+b'
2068s # Testing fopen() mode 'a+b'
2068s # Testing fopen() mode 'wb+'
2068s # Testing fopen() mode 'rb+'
2068s # Testing fopen() mode 'ab+'
2068s ok 24 /fileutils/fopen-modes
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/clear-fd/.dirs/runtime
2068s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd
2068s # Will be closed by autocleanup: 3, -42
2068s # Testing error handling
2068s ok 25 /fileutils/clear-fd
2068s # Start of set-contents-full tests
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-file/.dirs/runtime
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file
2068s ok 26 /fileutils/set-contents-full/read-only-file
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SCJTX2/fileutils/set-contents-full/read-only-directory/.dirs/runtime
2068s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory
2068s # Flags 0
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s # Flags 1
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s # Flags 2
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s # Flags 3
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s # Flags 4
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s # Flags 5
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s # Flags 6
2068s # We do not have CAP_DAC_OVERRIDE or equivalent
2068s ok 27 /fileutils/set-contents-full/read-only-directory
2068s # End of set-contents-full tests
2068s # Start of clear-fd tests
2068s # Start of subprocess tests
2068s # End of subprocess tests
2068s # End of clear-fd tests
2068s # End of fileutils tests
2068s Unable to clean up temporary directory /tmp/test_fileutils_SCJTX2/glib-file-set-contents-full-rodir-PJGSX2: Directory not empty
2068s Unable to clean up temporary directory /tmp/test_fileutils_SCJTX2/glib-file-set-contents-full-rodir-BMDSX2: Directory not empty
2068s Unable to clean up temporary directory /tmp/test_fileutils_SCJTX2/glib-file-set-contents-full-rodir-2ICSX2: Directory not empty
2068s Unable to clean up temporary directory /tmp/test_fileutils_SCJTX2/glib-file-set-contents-full-rodir-UHDSX2: Directory not empty
2068s Unable to clean up temporary directory /tmp/test_fileutils_SCJTX2/glib-file-set-contents-full-rodir-A8KRX2: Directory not empty
2068s Unable to clean up temporary directory /tmp/test_fileutils_SCJTX2/glib-file-set-contents-full-rodir-E1LRX2: Directory not empty
2068s Unable to clean up temporary directory /tmp/test_fileutils_SCJTX2/glib-file-set-contents-full-rodir-WKJRX2: Directory not empty
2068s Unable to clean up temporary directory /tmp/test_fileutils_SCJTX2: Directory not empty
2068s ok - glib/fileutils.test
2068s # Running test: glib/memory-output-stream.test
2068s TAP version 14
2068s # random seed: R02S30b63a7c30fa59a2834a0c44263ed9dc
2068s 1..10
2068s # Start of memory-output-stream tests
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080
2068s ok 1 /memory-output-stream/truncate
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461
2068s ok 2 /memory-output-stream/get-data-size
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733
2068s ok 3 /memory-output-stream/properties
2068s ok 4 /memory-output-stream/write-bytes
2068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471
2068s ok 5 /memory-output-stream/write-null
2068s ok 6 /memory-output-stream/writev
2068s ok 7 /memory-output-stream/writev_nonblocking
2068s ok 8 /memory-output-stream/steal_as_bytes
2068s # Start of seek tests
2068s ok 9 /memory-output-stream/seek/fixed
2068s ok 10 /memory-output-stream/seek/resizable
2068s # End of seek tests
2068s # End of memory-output-stream tests
2068s ok - glib/memory-output-stream.test
2068s # Running test: glib/gdbus-auth.test
2068s TAP version 14
2068s # random seed: R02S122286a99f6e33b8ea8733b846881ea5
2068s 1..5
2068s # Start of gdbus tests
2068s # Start of auth tests
2068s # Start of client tests
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/EXTERNAL/.dirs/runtime
2068s ok 1 /gdbus/auth/client/EXTERNAL
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime
2068s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1
2068s # End of client tests
2068s # Start of server tests
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/ANONYMOUS/.dirs/runtime
2068s ok 3 /gdbus/auth/server/ANONYMOUS
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/EXTERNAL/.dirs/runtime
2068s ok 4 /gdbus/auth/server/EXTERNAL
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_6HXRX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime
2068s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1
2068s # End of server tests
2068s # End of auth tests
2068s # End of gdbus tests
2068s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2068s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2068s ok - glib/gdbus-auth.test
2068s # Running test: glib/relation.test
2068s TAP version 14
2068s # random seed: R02S86525d7caff0ec209c5bd47dd0467d8e
2068s 1..1
2068s # Start of glib tests
2068s ok 1 /glib/relation
2068s # End of glib tests
2068s ok - glib/relation.test
2068s # Running test: glib/function-info.test
2068s TAP version 14
2068s # random seed: R02S404e9c588885a78ac15efa0ecf4535ab
2068s 1..1
2068s # Start of function-info tests
2068s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/home
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/cache
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/system-config2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/config
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/system-data2
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/data
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/state
2068s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_PR7QX2/function-info/invoker/.dirs/runtime
2068s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
2068s # /function-info/invoker summary: Test preparing a function invoker
2068s ok 1 /function-info/invoker
2068s # End of function-info tests
2068s ok - glib/function-info.test
2068s # Running test: glib/properties.test
2068s TAP version 14
2068s # random seed: R02S28ffa8ac1bf8605007d579e2937f48b5
2068s 1..13
2068s # Start of properties tests
2068s ok 1 /properties/install
2068s ok 2 /properties/install-many
2068s ok 3 /properties/notify
2068s ok 4 /properties/notify-queue
2068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357
2068s ok 5 /properties/construct
2068s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values
2068s # Test g_object_get_property with an initialized value
2068s # Test g_object_get_property with an uninitialized value
2068s # Test g_object_get_property with a transformable value
2068s ok 6 /properties/get-property
2068s ok 7 /properties/testv_with_no_properties
2068s ok 8 /properties/testv_with_valid_properties
2068s ok 9 /properties/testv_with_invalid_property_type
2068s ok 10 /properties/testv_with_invalid_property_names
2068s ok 11 /properties/testv_getv
2068s ok 12 /properties/testv_notify_queue
2068s # Start of set-property tests
2068s # Start of variant tests
2068s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference
2068s ok 13 /properties/set-property/variant/floating
2068s # End of variant tests
2068s # End of set-property tests
2068s # End of properties tests
2068s ok - glib/properties.test
2068s # Running test: glib/gmenumodel.test
2068s TAP version 14
2068s # random seed: R02S386b22cca1d1a9f810f511e271e9592e
2068s 1..15
2068s # Start of gmenu tests
2069s ok 1 /gmenu/equality
2069s # slow test /gmenu/equality executed in 0.87 secs
2070s ok 2 /gmenu/random
2070s # slow test /gmenu/random executed in 1.21 secs
2070s ok 3 /gmenu/attributes
2070s ok 4 /gmenu/links
2070s ok 5 /gmenu/mutable
2070s ok 6 /gmenu/convenience
2070s ok 7 /gmenu/menuitem
2070s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
2070s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2071s ok 8 /gmenu/input-validation
2071s # Start of dbus tests
2071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2071s # Executing: glib/gmenumodel.test
2072s ok 9 /gmenu/dbus/roundtrip
2072s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
2072s ok 10 /gmenu/dbus/subscriptions
2073s ok 11 /gmenu/dbus/threaded
2073s # slow test /gmenu/dbus/threaded executed in 1.00 secs
2073s # Start of peer tests
2074s ok 12 /gmenu/dbus/peer/roundtrip
2074s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs
2074s ok 13 /gmenu/dbus/peer/subscriptions
2074s # End of peer tests
2074s # Start of export tests
2074s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
2074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
2074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2074s ok 14 /gmenu/dbus/export/error-handling
2074s # End of export tests
2074s # End of dbus tests
2074s # Start of attributes tests
2074s ok 15 /gmenu/attributes/iterate
2074s # End of attributes tests
2074s # End of gmenu tests
2074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2074s ok - glib/gmenumodel.test
2074s # Running test: glib/properties-introspection.test
2074s TAP version 14
2074s # random seed: R02S0a31cdcc5722277c584322dfb0f307de
2074s 1..2
2074s # Start of properties tests
2074s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool.
2074s ok 1 /properties/introspection
2074s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool.
2074s ok 2 /properties/collision
2074s # End of properties tests
2074s ok - glib/properties-introspection.test
2074s # Running test: glib/memory-settings-backend.test
2074s TAP version 14
2074s # random seed: R02S076f64d09d57d5e4bfd8af5b5847f414
2074s 1..1
2074s # Start of memory-settings-backend tests
2074s ok 1 /memory-settings-backend/extension-point-registered
2074s # End of memory-settings-backend tests
2074s ok - glib/memory-settings-backend.test
2074s # Running test: glib/bitlock.test
2074s TAP version 14
2074s # random seed: R02Sb1aff59057a55ebbf43cc80c94f89665
2074s 1..1
2074s # Start of bitlock tests
2074s # Start of performance tests
2074s # max perf: iterations per second
2074s ok 1 /bitlock/performance/uncontended
2074s # End of performance tests
2074s # End of bitlock tests
2074s ok - glib/bitlock.test
2074s # Running test: glib/memory-monitor-portal.test
2075s TAP version 13
2075s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available
2075s 1..1
2075s ok - glib/memory-monitor-portal.test
2075s # Running test: glib/converter.test
2075s TAP version 14
2075s # random seed: R02Sef9ad63e3b65cf5b500599d57ea151d4
2075s 1..1
2075s # Start of converter tests
2075s ok 1 /converter/bytes
2075s # End of converter tests
2075s ok - glib/converter.test
2075s # Running test: glib/rand.test
2075s TAP version 14
2075s # random seed: R02S0a26414786c1c3d16e670f79d0bc2013
2075s 1..2
2075s # Start of rand tests
2075s ok 1 /rand/test-rand
2075s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560
2075s ok 2 /rand/double-range
2075s # End of rand tests
2075s ok - glib/rand.test
2075s # Running test: glib/mappedfile.test
2075s TAP version 14
2075s # random seed: R02S61bfc509b949d1cddcb6d36d9c7392e9
2075s 1..7
2075s # Start of mappedfile tests
2075s ok 1 /mappedfile/basic
2075s ok 2 /mappedfile/empty
2075s ok 3 /mappedfile/device
2075s ok 4 /mappedfile/nonexisting
2075s ok 5 /mappedfile/writable
2075s ok 6 /mappedfile/writable_fd
2075s ok 7 /mappedfile/gbytes
2075s # End of mappedfile tests
2075s ok - glib/mappedfile.test
2075s # Running test: glib/filter-streams.test
2075s TAP version 14
2075s # random seed: R02Sae86f93da2f9644f4650c57c53b89bbf
2075s 1..4
2075s # Start of filter-stream tests
2075s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394
2075s ok 1 /filter-stream/input
2075s ok 2 /filter-stream/output
2075s ok 3 /filter-stream/async-input
2075s ok 4 /filter-stream/async-output
2075s # End of filter-stream tests
2075s ok - glib/filter-streams.test
2075s # Running test: glib/dynamictests.test
2075s TAP version 14
2075s # random seed: R02S6502b4b7dc6f251b8e8ef631e60af29e
2075s 1..2
2075s # Start of GObject tests
2075s ok 1 /GObject/threaded-dynamic-ref-unref-init
2075s ok 2 /GObject/dynamic-interface-properties
2075s # End of GObject tests
2075s ok - glib/dynamictests.test
2075s # Running test: glib/rec-mutex.test
2075s TAP version 14
2075s # random seed: R02S893925830c6cf0d210d3549395cd0c9d
2075s 1..29
2075s # Start of thread tests
2075s ok 1 /thread/rec-mutex1
2075s ok 2 /thread/rec-mutex2
2075s ok 3 /thread/rec-mutex3
2075s ok 4 /thread/rec-mutex4
2075s # Start of rec-mutex tests
2075s # Start of perf tests
2075s # Start of uncontended tests
2075s # max perf: 1.000000 mips
2075s ok 5 /thread/rec-mutex/perf/uncontended/depth1
2075s # max perf: 1.000000 mips
2075s ok 6 /thread/rec-mutex/perf/uncontended/depth2
2075s # max perf: inf mips
2075s ok 7 /thread/rec-mutex/perf/uncontended/depth3
2075s # max perf: 1.000000 mips
2075s ok 8 /thread/rec-mutex/perf/uncontended/depth4
2075s # max perf: 1.000000 mips
2075s ok 9 /thread/rec-mutex/perf/uncontended/depth5
2075s # End of uncontended tests
2075s # Start of contended1 tests
2075s # max perf: 2.000000 mips
2075s ok 10 /thread/rec-mutex/perf/contended1/depth1
2075s # max perf: 2.000000 mips
2075s ok 11 /thread/rec-mutex/perf/contended1/depth2
2075s # max perf: 2.000000 mips
2075s ok 12 /thread/rec-mutex/perf/contended1/depth3
2075s # max perf: 2.000000 mips
2075s ok 13 /thread/rec-mutex/perf/contended1/depth4
2075s # max perf: inf mips
2075s ok 14 /thread/rec-mutex/perf/contended1/depth5
2075s # End of contended1 tests
2075s # Start of contended2 tests
2075s # max perf: 3.000000 mips
2075s ok 15 /thread/rec-mutex/perf/contended2/depth1
2075s # max perf: 3.000000 mips
2075s ok 16 /thread/rec-mutex/perf/contended2/depth2
2075s # max perf: 3.000000 mips
2075s ok 17 /thread/rec-mutex/perf/contended2/depth3
2075s # max perf: inf mips
2075s ok 18 /thread/rec-mutex/perf/contended2/depth4
2075s # max perf: 3.000000 mips
2075s ok 19 /thread/rec-mutex/perf/contended2/depth5
2075s # End of contended2 tests
2075s # Start of contended3 tests
2075s # max perf: 4.000000 mips
2075s ok 20 /thread/rec-mutex/perf/contended3/depth1
2075s # max perf: 4.000000 mips
2075s ok 21 /thread/rec-mutex/perf/contended3/depth2
2075s # max perf: 1.333333 mips
2075s ok 22 /thread/rec-mutex/perf/contended3/depth3
2075s # max perf: 2.000000 mips
2075s ok 23 /thread/rec-mutex/perf/contended3/depth4
2075s # max perf: 1.333333 mips
2075s ok 24 /thread/rec-mutex/perf/contended3/depth5
2075s # End of contended3 tests
2075s # Start of contended4 tests
2075s # max perf: 1.666667 mips
2075s ok 25 /thread/rec-mutex/perf/contended4/depth1
2075s # max perf: 1.250000 mips
2075s ok 26 /thread/rec-mutex/perf/contended4/depth2
2075s # max perf: 1.250000 mips
2075s ok 27 /thread/rec-mutex/perf/contended4/depth3
2075s # max perf: 1.666667 mips
2075s ok 28 /thread/rec-mutex/perf/contended4/depth4
2075s # max perf: 1.000000 mips
2075s ok 29 /thread/rec-mutex/perf/contended4/depth5
2075s # End of contended4 tests
2075s # End of perf tests
2075s # End of rec-mutex tests
2075s # End of thread tests
2075s ok - glib/rec-mutex.test
2075s # Running test: glib/socket-listener.test
2075s TAP version 14
2075s # random seed: R02S01687b5131f59a1e26625ad37bd88e28
2075s 1..1
2075s # Start of socket-listener tests
2075s ok 1 /socket-listener/event-signal
2075s # End of socket-listener tests
2075s ok - glib/socket-listener.test
2075s # Running test: glib/object.test
2075s TAP version 14
2075s # random seed: R02Sc55307c94d7e6dc8459d8e59d8c8be62
2075s 1..2
2075s # Start of object tests
2075s # Start of constructor tests
2075s ok 1 /object/constructor/singleton
2075s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings
2075s # End of constructor tests
2075s # End of object tests
2075s ok - glib/object.test
2075s # Running test: glib/spawn-singlethread.test
2075s TAP version 14
2075s # random seed: R02Sb0f58be72aec7f4eb5625d21ac510ed7
2075s 1..9
2075s # Start of gthread tests
2075s ok 1 /gthread/spawn-single-sync
2075s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket
2075s ok 2 /gthread/spawn-stderr-socket
2075s ok 3 /gthread/spawn-single-async
2075s # thread 1
2075s # thread 1
2075s ok 4 /gthread/spawn-single-async-with-fds
2075s ok 5 /gthread/spawn-async-with-invalid-fds
2075s ok 6 /gthread/spawn-script
2075s ok 7 /gthread/spawn-posix-spawn
2075s # Start of spawn tests
2075s ok 8 /gthread/spawn/nonexistent
2075s # FD map:
2075s # • 5 → 15
2075s # • 6 → 16
2075s # • 7 → 17
2075s # • 8 → 18
2075s # • 9 → 19
2075s # • 10 → 20
2075s # • 11 → 21
2075s # • 12 → 22
2075s # • 13 → 23
2075s # • 3 → 13
2075s ok 9 /gthread/spawn/fd-assignment-clash
2075s # End of spawn tests
2075s # End of gthread tests
2075s ok - glib/spawn-singlethread.test
2075s # Running test: glib/uri.test
2075s TAP version 14
2075s # random seed: R02Sd8325e86b67508446463120b171a2918
2075s 1..24
2075s # Start of uri tests
2075s ok 1 /uri/file-to-uri
2075s ok 2 /uri/file-from-uri
2075s ok 3 /uri/file-roundtrip
2075s ok 4 /uri/list
2075s # Test 0: %2Babc %4F
2075s # Test 1: %2Babc %4F
2075s # Test 2: %00abc %4F
2075s # Test 3: /cursors/none.png
2075s # Test 4: /cursors%2fbad-subdir/none.png
2075s # Test 5: %0
2075s # Test 6: %ra
2075s # Test 7: %2r
2075s # Test 8: Timm B?der
2075s # Test 9: (null)
2075s ok 5 /uri/unescape-string
2075s ok 6 /uri/unescape-segment
2075s # Test 0: abcdefgABCDEFG._~
2075s # Test 1: :+ \\?#
2075s # Test 2: a+b:c
2075s # Test 3: a+b:c\303\234
2075s # Test 4: \374;\322
2075s # Test 5: \303\261\303(
2075s ok 7 /uri/escape-string
2075s ok 8 /uri/escape-bytes
2075s ok 9 /uri/scheme
2075s ok 10 /uri/build
2075s ok 11 /uri/split
2075s ok 12 /uri/is_valid
2075s ok 13 /uri/to-string
2075s ok 14 /uri/join
2075s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip
2075s # Combination 0
2075s # Combination 1
2075s # Combination 2
2075s # Combination 3
2075s # Combination 4
2075s # Combination 5
2075s # Combination 6
2075s # Combination 7
2075s # Combination 8
2075s # Combination 9
2075s # Combination 10
2075s # Combination 11
2075s # Combination 12
2075s # Combination 13
2075s # Combination 14
2075s # Combination 15
2075s # Combination 16
2075s # Combination 17
2075s # Combination 18
2075s # Combination 19
2075s # Combination 20
2075s # Combination 21
2075s # Combination 22
2075s # Combination 23
2075s # Combination 24
2075s # Combination 25
2075s # Combination 26
2075s # Combination 27
2075s # Combination 28
2075s # Combination 29
2075s # Combination 30
2075s # Combination 31
2075s # Combination 32
2075s # Combination 33
2075s # Combination 34
2075s # Combination 35
2075s # Combination 36
2075s # Combination 37
2075s # Combination 38
2075s # Combination 39
2075s # Combination 40
2075s # Combination 41
2075s # Combination 42
2075s # Combination 43
2075s # Combination 44
2075s # Combination 45
2075s # Combination 46
2075s # Combination 47
2075s # Combination 48
2075s # Combination 49
2075s # Combination 50
2075s # Combination 51
2075s # Combination 52
2075s # Combination 53
2075s # Combination 54
2075s # Combination 55
2075s # Combination 56
2075s # Combination 57
2075s # Combination 58
2075s # Combination 59
2075s # Combination 60
2075s # Combination 61
2075s # Combination 62
2075s # Combination 63
2075s # Combination 64
2075s # Combination 65
2075s # Combination 66
2075s # Combination 67
2075s # Combination 68
2075s # Combination 69
2075s # Combination 70
2075s # Combination 71
2075s # Combination 72
2075s # Combination 73
2075s # Combination 74
2075s # Combination 75
2075s # Combination 76
2075s # Combination 77
2075s # Combination 78
2075s # Combination 79
2075s # Combination 80
2075s # Combination 81
2075s # Combination 82
2075s # Combination 83
2075s # Combination 84
2075s # Combination 85
2075s # Combination 86
2075s # Combination 87
2075s # Combination 88
2075s # Combination 89
2075s # Combination 90
2075s # Combination 91
2075s # Combination 92
2075s # Combination 93
2075s # Combination 94
2075s # Combination 95
2075s # Combination 96
2075s # Combination 97
2075s # Combination 98
2075s # Combination 99
2075s # Combination 100
2075s # Combination 101
2075s # Combination 102
2075s # Combination 103
2075s # Combination 104
2075s # Combination 105
2075s # Combination 106
2075s # Combination 107
2075s # Combination 108
2075s # Combination 109
2075s # Combination 110
2075s # Combination 111
2075s # Combination 112
2075s # Combination 113
2075s # Combination 114
2075s # Combination 115
2075s # Combination 116
2075s # Combination 117
2075s # Combination 118
2075s # Combination 119
2075s # Combination 120
2075s # Combination 121
2075s # Combination 122
2075s # Combination 123
2075s # Combination 124
2075s # Combination 125
2075s # Combination 126
2075s # Combination 127
2075s # Combination 128
2075s # Combination 129
2075s # Combination 130
2075s # Combination 131
2075s # Combination 132
2075s # Combination 133
2075s # Combination 134
2075s # Combination 135
2075s # Combination 136
2075s # Combination 137
2075s # Combination 138
2075s # Combination 139
2075s # Combination 140
2075s # Combination 141
2075s # Combination 142
2075s # Combination 143
2075s # Combination 144
2075s # Combination 145
2075s # Combination 146
2075s # Combination 147
2075s # Combination 148
2075s # Combination 149
2075s # Combination 150
2075s # Combination 151
2075s # Combination 152
2075s # Combination 153
2075s # Combination 154
2075s # Combination 155
2075s # Combination 156
2075s # Combination 157
2075s # Combination 158
2075s # Combination 159
2075s # Combination 160
2075s # Combination 161
2075s # Combination 162
2075s # Combination 163
2075s # Combination 164
2075s # Combination 165
2075s # Combination 166
2075s # Combination 167
2075s # Combination 168
2075s # Combination 169
2075s # Combination 170
2075s # Combination 171
2075s # Combination 172
2075s # Combination 173
2075s # Combination 174
2075s # Combination 175
2075s # Combination 176
2075s # Combination 177
2075s # Combination 178
2075s # Combination 179
2075s # Combination 180
2075s # Combination 181
2075s # Combination 182
2075s # Combination 183
2075s # Combination 184
2075s # Combination 185
2075s # Combination 186
2075s # Combination 187
2075s # Combination 188
2075s # Combination 189
2075s # Combination 190
2075s # Combination 191
2075s # Combination 192
2075s # Combination 193
2075s # Combination 194
2075s # Combination 195
2075s # Combination 196
2075s # Combination 197
2075s # Combination 198
2075s # Combination 199
2075s # Combination 200
2075s # Combination 201
2075s # Combination 202
2075s # Combination 203
2075s # Combination 204
2075s # Combination 205
2075s # Combination 206
2075s # Combination 207
2075s # Combination 208
2075s # Combination 209
2075s # Combination 210
2075s # Combination 211
2075s # Combination 212
2075s # Combination 213
2075s # Combination 214
2075s # Combination 215
2075s # Combination 216
2075s # Combination 217
2075s # Combination 218
2075s # Combination 219
2075s # Combination 220
2075s # Combination 221
2075s # Combination 222
2075s # Combination 223
2075s # Combination 224
2075s # Combination 225
2075s # Combination 226
2075s # Combination 227
2075s # Combination 228
2075s # Combination 229
2075s # Combination 230
2075s # Combination 231
2075s # Combination 232
2075s # Combination 233
2075s # Combination 234
2075s # Combination 235
2075s # Combination 236
2075s # Combination 237
2075s # Combination 238
2075s # Combination 239
2075s # Combination 240
2075s # Combination 241
2075s # Combination 242
2075s # Combination 243
2075s # Combination 244
2075s # Combination 245
2075s # Combination 246
2075s # Combination 247
2075s # Combination 248
2075s # Combination 249
2075s # Combination 250
2075s # Combination 251
2075s # Combination 252
2075s # Combination 253
2075s # Combination 254
2075s # Combination 255
2075s ok 15 /uri/join-split-round-trip
2075s ok 16 /uri/normalize
2075s # Start of unescape-bytes tests
2075s # Test 0: %00%00
2075s # Test 1: /cursors/none.png
2075s # Test 2: /cursors%2fbad-subdir/none.png
2075s # Test 3: %%
2075s # Test 4: %
2075s ok 17 /uri/unescape-bytes/nul-terminated
2075s # Test 0: %00%00
2075s # Test 1: /cursors/none.png
2075s # Test 2: /cursors%2fbad-subdir/none.png
2075s # Test 3: %%
2075s # Test 4: %
2075s ok 18 /uri/unescape-bytes/length
2075s # End of unescape-bytes tests
2075s # Start of parsing tests
2075s # Test 0: foo:
2075s # Test 1: file:/dev/null
2075s # Test 2: file:///dev/null
2075s # Test 3: ftp://user@host/path
2075s # Test 4: ftp://user@host:9999/path
2075s # Test 5: ftp://user:password@host/path
2075s # Test 6: ftp://user:password@host:9999/path
2075s # Test 7: ftp://user:password@host
2075s # Test 8: http://us%65r@host
2075s # Test 9: http://us%40r@host
2075s # Test 10: http://us%3ar@host
2075s # Test 11: http://us%2fr@host
2075s # Test 12: http://us%3fr@host
2075s # Test 13: http://host?query
2075s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value
2075s # 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
2075s # Test 16: http://space/%20
2075s # Test 17: http://delims/%3C%3E%23%25%22
2075s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60
2075s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
2075s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html
2075s # Test 21: http://[3ffe:2a00:100:7031::1]
2075s # Test 22: http://[1080::8:800:200C:417A]/foo
2075s # Test 23: http://[::192.9.5.5]/ipng
2075s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html
2075s # Test 25: http://[2010:836B:4179::836B:4179]
2075s # Test 26: http://host/path with spaces
2075s # Test 27: http://host/path
2075s # Test 28: http://host/path
2075s # Test 29: http://host
2075s # Test 30: http://host:999
2075s # Test 31: http://host/pa
2075s # th
2075s # Test 32: http:
2075s # //host/path
2075s # Test 33: http:// host/path
2075s # Test 34: http://host/path?
2075s # Test 35: http://host/path#
2075s # Test 36: http://host/path%
2075s # Test 37: http://h%ost/path
2075s # Test 38: http://host/path%%
2075s # Test 39: http://host/path%%%
2075s # Test 40: http://host/path%/x/
2075s # Test 41: http://host/path%0x/
2075s # Test 42: http://host/path%ax
2075s # Test 43: http://host/p?th/
2075s # Test 44: HTTP:////////////////
2075s # Test 45: http://@host
2075s # Test 46: http://:@host
2075s # Test 47: scheme://foo%3Abar._webdav._tcp.local
2075s # Test 48: http://example.com/..
2075s # Test 49: foo0://host/path
2075s # Test 50: f0.o://host/path
2075s # Test 51: http++://host/path
2075s # Test 52: http-ish://host/path
2075s # Test 53: http://[fe80::dead:beef%]/
2075s # Test 54: http://[fe80::dead:beef%em1]/
2075s # Test 55: http://[fe80::dead:beef%em1]/
2075s # Test 56: http://[fe80::dead:beef%25em1]/
2075s # Test 57: http://[fe80::dead:beef%25em1%20]/
2075s # Test 58: http://[fe80::dead:beef%25em%31]/
2075s # Test 59: http://[fe80::dead:beef%10]/
2075s # Test 60: http://[fe80::dead:beef%10]/
2075s # Test 61: http://[fe80::dead:beef%25]/
2075s # Test 62: http://[fe80::dead:beef%25]/
2075s # Test 63: http://[192.168.0.1%25em1]/
2075s # Test 64: http://[fe80::dead:beef%2em1]/
2075s # Test 65: http://[fe80::dead:beef%2em1]/
2075s # Test 66: http://[fe80::dead:beef%25em1%00]/
2075s # Test 67: http://[fe80::dead:beef%25em1%00]/
2075s # Test 68: http://xn--mixed-?p/
2075s ok 19 /uri/parsing/absolute
2075s ok 20 /uri/parsing/relative
2075s # End of parsing tests
2075s # Start of iter-params tests
2075s # URI 0: p1=foo&p2=bar;p3=baz
2075s # URI 1: p1=foo&p2=bar
2075s # URI 2: p1=foo&&P1=bar
2075s # URI 3: %00=foo
2075s # URI 4: p1=%00
2075s # URI 5: p1=foo&p1=bar
2075s # URI 6: p1=foo&P1=bar
2075s # URI 7: =%
2075s # URI 8: =
2075s # URI 9: foo
2075s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
2075s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
2075s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
2075s ok 21 /uri/iter-params/nul-terminated
2075s # URI 0: p1=foo&p2=bar;p3=baz
2075s # URI 1: p1=foo&p2=bar
2075s # URI 2: p1=foo&&P1=bar
2075s # URI 3: %00=foo
2075s # URI 4: p1=%00
2075s # URI 5: p1=foo&p1=bar
2075s # URI 6: p1=foo&P1=bar
2075s # URI 7: =%
2075s # URI 8: =
2075s # URI 9: foo
2075s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
2075s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
2075s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
2075s ok 22 /uri/iter-params/length
2075s # End of iter-params tests
2075s # Start of parse-params tests
2075s # URI 0: p1=foo&p2=bar;p3=baz
2075s # URI 1: p1=foo&p2=bar
2075s # URI 2: p1=foo&&P1=bar
2075s # URI 3: %00=foo
2075s # URI 4: p1=%00
2075s # URI 5: p1=foo&p1=bar
2075s # URI 6: p1=foo&P1=bar
2075s # URI 7: =%
2075s # URI 8: =
2075s # URI 9: foo
2075s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
2075s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
2075s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
2075s ok 23 /uri/parse-params/nul-terminated
2075s # URI 0: p1=foo&p2=bar;p3=baz
2075s # URI 1: p1=foo&p2=bar
2075s # URI 2: p1=foo&&P1=bar
2075s # URI 3: %00=foo
2075s # URI 4: p1=%00
2075s # URI 5: p1=foo&p1=bar
2075s # URI 6: p1=foo&P1=bar
2075s # URI 7: =%
2075s # URI 8: =
2075s # URI 9: foo
2075s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
2075s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
2075s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
2075s ok 24 /uri/parse-params/length
2075s # End of parse-params tests
2075s # End of uri tests
2075s ok - glib/uri.test
2075s # Running test: glib/macros-c-17.test
2075s TAP version 14
2075s # random seed: R02Sb17a9a8461947964aed9e372775fe6a2
2075s 1..4
2075s # Start of C tests
2075s ok 1 /C/standard-17
2075s # End of C tests
2075s # Start of alignof tests
2075s ok 2 /alignof/fallback
2075s # End of alignof tests
2075s # Start of assert tests
2075s ok 3 /assert/static
2075s # End of assert tests
2075s # Start of struct tests
2075s ok 4 /struct/sizeof_member
2075s # End of struct tests
2075s ok - glib/macros-c-17.test
2075s # Running test: glib/objects-refcount2.test
2075s TAP version 14
2075s # random seed: R02S21ba539332fbc6911d776df0982b2ed8
2075s 1..1
2075s # Start of gobject tests
2075s # Start of refcount tests
2075s # init 0xc1921e0
2075s #
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2075s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # .
2076s # Executing: glib/objects-refcount2.test
2076s # .
2076s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2077s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2078s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2079s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2080s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # .
2081s # Executing: glib/objects-refcount2.test
2081s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2082s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2083s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2084s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2085s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # .
2086s # Executing: glib/objects-refcount2.test
2086s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # .
2087s # dispose 0xc1921e0!
2087s #
2087s ok 1 /gobject/refcount/object-advanced
2087s # slow test /gobject/refcount/object-advanced executed in 12.15 secs
2087s # End of refcount tests
2087s # End of gobject tests
2087s ok - glib/objects-refcount2.test
2087s # Running test: glib/mount-operation.test
2087s TAP version 14
2087s # random seed: R02Sf3785ea93c701cbff3efd24f582db4b5
2087s 1..2
2087s # Start of mount-operation tests
2087s ok 1 /mount-operation/construction
2087s ok 2 /mount-operation/properties
2087s # End of mount-operation tests
2087s ok - glib/mount-operation.test
2087s # Running test: glib/pollable.test
2088s TAP version 14
2088s # random seed: R02S272e3f276d148cbb592daca02cd63133
2088s 1..6
2088s # Start of pollable tests
2088s ok 1 /pollable/converter
2088s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
2088s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x61f8bd0 and GSocketClientAsyncConnectData 0x61f2150
2088s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
2088s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
2088s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x61f9790 for GSocketClientAsyncConnectData 0x61f2150
2088s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
2088s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
2088s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
2088s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
2088s ok 2 /pollable/socket
2088s # Start of unix tests
2088s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets
2088s ok 3 /pollable/unix/pipe
2088s # /pollable/unix/pty summary: Test that PTYs are considered pollable
2088s ok 4 /pollable/unix/pty
2088s # /pollable/unix/file summary: Test that regular files are not considered pollable
2088s ok 5 /pollable/unix/file
2088s # /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
2088s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system
2088s # End of unix tests
2088s # End of pollable tests
2088s ok - glib/pollable.test
2088s # Running test: glib/charset.test
2088s TAP version 14
2088s # random seed: R02Sdf9ae79c5494c8c3e840df08e194ed15
2088s 1..2
2088s # Start of charset tests
2088s # Test 0
2088s # Test 1
2088s # Test 2
2088s # Test 3
2088s ok 1 /charset/language_names_with_category
2088s ok 2 /charset/language_names_with_category_async
2088s # End of charset tests
2088s ok - glib/charset.test
2088s # Running test: glib/atomic-c-11.test
2088s TAP version 14
2088s # random seed: R02Sef664d0a611920f884a3c9ac1cd540f7
2088s 1..2
2088s # Start of atomic tests
2088s ok 1 /atomic/types
2088s ok 2 /atomic/threaded
2088s # End of atomic tests
2088s ok - glib/atomic-c-11.test
2088s # Running test: glib/cxx-2b.test
2088s TAP version 14
2088s # random seed: R02S64577d5229c393a81929edd8b3b273b8
2088s 1..2
2088s # Start of gtask tests
2088s # 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.
2088s ok 1 /gtask/name
2088s # Start of name tests
2088s # 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.
2088s ok 2 /gtask/name/macro-wrapper
2088s # End of name tests
2088s # End of gtask tests
2088s ok - glib/cxx-2b.test
2088s # Running test: glib/references.test
2088s TAP version 14
2088s # random seed: R02S3e034f3af9cc25bd0f970b06f77e2268
2088s 1..1
2088s # Start of gobject tests
2088s ok 1 /gobject/references
2088s # End of gobject tests
2088s ok - glib/references.test
2088s # Running test: glib/gdbus-message.test
2088s TAP version 14
2088s # random seed: R02Sc4b81305d015236255b165849422fc34
2088s 1..3
2088s # Start of gdbus tests
2088s # Start of message tests
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IYW6X2/gdbus/message/lock/.dirs/runtime
2088s ok 1 /gdbus/message/lock
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IYW6X2/gdbus/message/copy/.dirs/runtime
2088s ok 2 /gdbus/message/copy
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IYW6X2/gdbus/message/bytes-needed/.dirs/runtime
2088s # Vector: 0
2088s # Vector: 1
2088s # Vector: 2
2088s # Vector: 3
2088s # Vector: 4
2088s # Vector: 5
2088s ok 3 /gdbus/message/bytes-needed
2088s # End of message tests
2088s # End of gdbus tests
2088s ok - glib/gdbus-message.test
2088s # Running test: glib/value.test
2088s TAP version 14
2088s # random seed: R02S6daff3ca06b02318f796e75567d6b2ce
2088s 1..9
2088s # Start of value tests
2088s ok 1 /value/basic
2088s ok 2 /value/collection
2088s ok 3 /value/copying
2088s ok 4 /value/enum-transformation
2088s ok 5 /value/gtype
2088s # /value/string summary: Test that G_TYPE_STRING GValue copy properly
2088s ok 6 /value/string
2088s # Next: GObject object in GValue of GObject to GValue of GObject
2088s # Next: GObject object in GValue of GObject to GValue of TestInterface
2088s # Next: GObject object in GValue of GObject to GValue of TestObjectA
2088s # Next: GObject object in GValue of GObject to GValue of TestObjectB
2088s # Next: GObject object in GValue of GObject to GValue of TestObjectA1
2088s # Next: GObject object in GValue of GObject to GValue of TestObjectA2
2088s # Next: TestObjectA object in GValue of GObject to GValue of GObject
2088s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface
2088s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA
2088s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB
2088s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1
2088s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2
2088s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject
2088s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface
2088s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA
2088s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB
2088s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1
2088s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2
2088s # Next: TestObjectB object in GValue of GObject to GValue of GObject
2088s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface
2088s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA
2088s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB
2088s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1
2088s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2
2088s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject
2088s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface
2088s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA
2088s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB
2088s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1
2088s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2
2088s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject
2088s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface
2088s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA
2088s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB
2088s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1
2088s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2
2088s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject
2088s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface
2088s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA
2088s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB
2088s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1
2088s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2
2088s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject
2088s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface
2088s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA
2088s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB
2088s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1
2088s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2
2088s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject
2088s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface
2088s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA
2088s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB
2088s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1
2088s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2
2088s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject
2088s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface
2088s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA
2088s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB
2088s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1
2088s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2
2088s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject
2088s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface
2088s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA
2088s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB
2088s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1
2088s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2
2088s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject
2088s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface
2088s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA
2088s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB
2088s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1
2088s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2
2088s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject
2088s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface
2088s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA
2088s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB
2088s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1
2088s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2
2088s ok 7 /value/transform-object
2088s # Start of array tests
2088s ok 8 /value/array/basic
2088s ok 9 /value/array/sort-with-data
2088s # End of array tests
2088s # End of value tests
2088s ok - glib/value.test
2088s # Running test: glib/inet-address.test
2088s TAP version 14
2088s # random seed: R02S1716627d1254c6519ff4bae1534c68cf
2088s 1..11
2088s # Start of inet-address tests
2088s ok 1 /inet-address/parse
2088s ok 2 /inet-address/any
2088s ok 3 /inet-address/loopback
2088s ok 4 /inet-address/bytes
2088s ok 5 /inet-address/property
2088s # End of inet-address tests
2088s # Start of socket-address tests
2088s ok 6 /socket-address/basic
2088s ok 7 /socket-address/to-string
2088s # End of socket-address tests
2088s # Start of address-mask tests
2088s ok 8 /address-mask/parse
2088s ok 9 /address-mask/property
2088s ok 10 /address-mask/equal
2088s ok 11 /address-mask/match
2088s # End of address-mask tests
2088s ok - glib/inet-address.test
2088s # Running test: glib/list.test
2088s TAP version 14
2088s # random seed: R02S28428ccf6cfbd21aa525c0d92a2e6df2
2088s 1..20
2088s # Start of list tests
2088s ok 1 /list/sort
2088s ok 2 /list/sort-with-data
2088s ok 3 /list/insert-before-link
2088s ok 4 /list/insert-sorted
2088s ok 5 /list/insert-sorted-with-data
2088s ok 6 /list/reverse
2088s ok 7 /list/nth
2088s ok 8 /list/concat
2088s ok 9 /list/remove
2088s ok 10 /list/remove-all
2088s ok 11 /list/first-last
2088s ok 12 /list/insert
2088s ok 13 /list/free-full
2088s ok 14 /list/copy
2088s ok 15 /list/copy-deep
2088s ok 16 /list/delete-link
2088s ok 17 /list/prepend
2088s ok 18 /list/position
2088s ok 19 /list/double-free
2088s # Start of sort tests
2088s ok 20 /list/sort/stable
2088s # End of sort tests
2088s # End of list tests
2088s ok - glib/list.test
2088s # Running test: glib/portal-support-flatpak-gsettings-only.test
2088s TAP version 14
2088s # random seed: R02S647a742d38c0179b8c7ed5b4593955ce
2088s 1..1
2088s # Start of portal-support tests
2088s # Start of flatpak tests
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/runtime
2088s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_HG56X2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info
2088s ok 1 /portal-support/flatpak/gsettings
2088s # End of flatpak tests
2088s # End of portal-support tests
2088s ok - glib/portal-support-flatpak-gsettings-only.test
2088s # Running test: glib/shell.test
2088s TAP version 14
2088s # random seed: R02S4e034957169fc5175a52c15c6e622502
2088s 1..51
2088s # Start of shell tests
2088s # Start of cmdline tests
2088s test cmdline: foo bar
2088s ok 1 /shell/cmdline/0
2088s test cmdline: foo 'bar'
2088s ok 2 /shell/cmdline/1
2088s test cmdline: foo "bar"
2088s ok 3 /shell/cmdline/2
2088s test cmdline: foo '' 'bar'
2088s ok 4 /shell/cmdline/3
2088s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo"
2088s ok 5 /shell/cmdline/4
2088s test cmdline: foo blah foo bar baz
2088s ok 6 /shell/cmdline/5
2088s test cmdline: foo ' spaces more spaces lots of spaces in this '
2088s ok 7 /shell/cmdline/6
2088s test cmdline: foo \
2088s bar
2088s ok 8 /shell/cmdline/7
2088s test cmdline: foo '' ''
2088s ok 9 /shell/cmdline/8
2088s test cmdline: foo \" la la la
2088s ok 10 /shell/cmdline/9
2088s test cmdline: foo \ foo woo woo\
2088s ok 11 /shell/cmdline/10
2088s test cmdline: foo "yada yada \$\""
2088s ok 12 /shell/cmdline/11
2088s test cmdline: foo "c:\\"
2088s ok 13 /shell/cmdline/12
2088s test cmdline: foo # bla bla bla
2088s bar
2088s ok 14 /shell/cmdline/13
2088s test cmdline: foo a#b
2088s ok 15 /shell/cmdline/14
2088s test cmdline: #foo
2088s ok 16 /shell/cmdline/15
2088s test cmdline: foo bar \
2088s ok 17 /shell/cmdline/16
2088s test cmdline: foo 'bar baz
2088s ok 18 /shell/cmdline/17
2088s test cmdline: foo '"bar" baz
2088s ok 19 /shell/cmdline/18
2088s test cmdline:
2088s ok 20 /shell/cmdline/19
2088s test cmdline:
2088s ok 21 /shell/cmdline/20
2088s test cmdline: # foo bar
2088s ok 22 /shell/cmdline/21
2088s test cmdline: foo '/bar/summer'\''09 tours.pdf'
2088s ok 23 /shell/cmdline/22
2088s # End of cmdline tests
2088s # Start of quote tests
2088s ok 24 /shell/quote/0
2088s ok 25 /shell/quote/1
2088s ok 26 /shell/quote/2
2088s ok 27 /shell/quote/3
2088s ok 28 /shell/quote/4
2088s ok 29 /shell/quote/5
2088s ok 30 /shell/quote/6
2088s # End of quote tests
2088s # Start of unquote tests
2088s ok 31 /shell/unquote/0
2088s ok 32 /shell/unquote/1
2088s ok 33 /shell/unquote/2
2088s ok 34 /shell/unquote/3
2088s ok 35 /shell/unquote/4
2088s ok 36 /shell/unquote/5
2088s ok 37 /shell/unquote/6
2088s ok 38 /shell/unquote/7
2088s ok 39 /shell/unquote/8
2088s ok 40 /shell/unquote/9
2088s ok 41 /shell/unquote/10
2088s ok 42 /shell/unquote/11
2088s ok 43 /shell/unquote/12
2088s ok 44 /shell/unquote/13
2088s ok 45 /shell/unquote/14
2088s ok 46 /shell/unquote/15
2088s ok 47 /shell/unquote/16
2088s ok 48 /shell/unquote/17
2088s ok 49 /shell/unquote/18
2088s ok 50 /shell/unquote/19
2088s ok 51 /shell/unquote/20
2088s # End of unquote tests
2088s # End of shell tests
2088s ok - glib/shell.test
2088s # Running test: glib/init.test
2088s TAP version 14
2088s # random seed: R02S2662dd9479846027a10e47e9b25ec7f2
2088s 1..2
2088s # Start of thread tests
2088s # Start of deprecated tests
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_6N85X2/thread/deprecated/init/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_6N85X2/thread/deprecated/init/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_6N85X2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_6N85X2/thread/deprecated/init/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_6N85X2/thread/deprecated/init/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_6N85X2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_6N85X2/thread/deprecated/init/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_6N85X2/thread/deprecated/init/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_6N85X2/thread/deprecated/init/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_6N85X2/thread/deprecated/init/.dirs/runtime
2088s ok 1 /thread/deprecated/init
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_6N85X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime
2088s ok 2 /thread/deprecated/init-with-errorcheck-mutexes
2088s # End of deprecated tests
2088s # End of thread tests
2088s ok - glib/init.test
2088s # Running test: glib/dump.test
2088s TAP version 14
2088s # random seed: R02Scd06de54a8ce8195b9e1a5e927ebfad2
2088s 1..4
2088s # Start of dump tests
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_EY35X2/dump/empty-file/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_EY35X2/dump/empty-file/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_EY35X2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_EY35X2/dump/empty-file/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_EY35X2/dump/empty-file/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_EY35X2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_EY35X2/dump/empty-file/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_EY35X2/dump/empty-file/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_EY35X2/dump/empty-file/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_EY35X2/dump/empty-file/.dirs/runtime
2088s ok 1 /dump/empty-file
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_EY35X2/dump/missing-get-type/.dirs/runtime
2088s Invalid GType function: 'does_not_exist_get_type'
2088s ok 2 /dump/missing-get-type
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_EY35X2/dump/missing-quark/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_EY35X2/dump/missing-quark/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_EY35X2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_EY35X2/dump/missing-quark/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_EY35X2/dump/missing-quark/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_EY35X2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_EY35X2/dump/missing-quark/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_EY35X2/dump/missing-quark/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_EY35X2/dump/missing-quark/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_EY35X2/dump/missing-quark/.dirs/runtime
2088s Invalid error quark function: 'does_not_exist_error'
2088s ok 3 /dump/missing-quark
2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_EY35X2/dump/basic/.dirs/home
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_EY35X2/dump/basic/.dirs/cache
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_EY35X2/dump/basic/.dirs/system-config1:/tmp/test_dump_EY35X2/dump/basic/.dirs/system-config2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_EY35X2/dump/basic/.dirs/config
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_EY35X2/dump/basic/.dirs/system-data1:/tmp/test_dump_EY35X2/dump/basic/.dirs/system-data2
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_EY35X2/dump/basic/.dirs/data
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_EY35X2/dump/basic/.dirs/state
2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_EY35X2/dump/basic/.dirs/runtime
2088s ok 4 /dump/basic
2088s # End of dump tests
2088s ok - glib/dump.test
2088s # Running test: glib/refcount.test
2088s TAP version 14
2088s # random seed: R02Sde62c80ec713ed12841eedec2f53c091
2088s 1..4
2088s # Start of refcount tests
2088s ok 1 /refcount/grefcount
2088s ok 2 /refcount/gatomicrefcount
2088s # Start of grefcount tests
2088s ok 3 /refcount/grefcount/saturation
2088s # End of grefcount tests
2088s # Start of gatomicrefcount tests
2088s ok 4 /refcount/gatomicrefcount/saturation
2088s # End of gatomicrefcount tests
2088s # End of refcount tests
2088s ok - glib/refcount.test
2088s # Running test: glib/protocol.test
2088s TAP version 14
2088s # random seed: R02S23cb83887406bcccace373a5ada15f52
2088s 1..9
2088s # Start of glib tests
2088s # Start of testing tests
2088s # Start of protocol tests
2088s ok 1 /glib/testing/protocol/debug
2088s ok 2 /glib/testing/protocol/info
2088s ok 3 /glib/testing/protocol/message
2088s ok 4 /glib/testing/protocol/warning
2088s ok 5 /glib/testing/protocol/critical
2088s ok 6 /glib/testing/protocol/error
2088s ok 7 /glib/testing/protocol/gtest-message
2088s ok 8 /glib/testing/protocol/test-message
2088s ok 9 /glib/testing/protocol/test-error
2088s # End of protocol tests
2088s # End of testing tests
2088s # End of glib tests
2088s ok - glib/protocol.test
2088s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=344.6s; system=88.8s; maxrss=143360
2088s autopkgtest [02:13:41]: test installed-tests: -----------------------]
2094s autopkgtest [02:13:47]: test installed-tests: - - - - - - - - - - results - - - - - - - - - -
2094s installed-tests PASS
2097s autopkgtest [02:13:50]: test closure-refcount: preparing testbed
2099s Reading package lists...
2100s Building dependency tree...
2100s Reading state information...
2100s Starting pkgProblemResolver with broken count: 0
2100s Starting 2 pkgProblemResolver with broken count: 0
2100s Done
2101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2109s autopkgtest [02:14:02]: test closure-refcount: [-----------------------
2111s Running test: glib/closure-refcount.test
2111s TAP version 14
2111s # random seed: R02Sbac70d25b218083cbc3ce8bce00122e5
2111s 1..1
2111s # Start of closure tests
2111s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983)
2111s # End of closure tests
2111s PASS: glib/closure-refcount.test
2111s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2432
2111s autopkgtest [02:14:04]: test closure-refcount: -----------------------]
2115s autopkgtest [02:14:08]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - -
2115s closure-refcount PASS
2119s autopkgtest [02:14:12]: test debugcontroller: preparing testbed
2121s Reading package lists...
2121s Building dependency tree...
2121s Reading state information...
2122s Starting pkgProblemResolver with broken count: 0
2122s Starting 2 pkgProblemResolver with broken count: 0
2122s Done
2123s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2131s autopkgtest [02:14:24]: test debugcontroller: [-----------------------
2133s Running test: glib/debugcontroller.test
2133s TAP version 14
2133s # random seed: R02Sb6f9e786aef813851c9662fedd82665a
2133s 1..3
2133s # Start of debug-controller tests
2133s # Start of dbus tests
2133s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
2133s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2133s # GLib-GIO-DEBUG: Debug output enabled
2133s # GLib-GIO-DEBUG: Debug output disabled
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s ok 1 /debug-controller/dbus/basic
2133s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2133s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s ok 2 /debug-controller/dbus/duplicate
2133s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2133s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2133s # GLib-GIO-DEBUG: Debug output enabled
2133s # GLib-GIO-DEBUG: Debug output disabled
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2133s ok 3 /debug-controller/dbus/properties
2133s # End of dbus tests
2133s # End of debug-controller tests
2133s PASS: glib/debugcontroller.test
2133s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4480
2133s autopkgtest [02:14:26]: test debugcontroller: -----------------------]
2138s autopkgtest [02:14:31]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - -
2138s debugcontroller PASS
2145s autopkgtest [02:14:38]: test gdbus-server-auth: preparing testbed
2147s Reading package lists...
2148s Building dependency tree...
2148s Reading state information...
2148s Starting pkgProblemResolver with broken count: 0
2148s Starting 2 pkgProblemResolver with broken count: 0
2148s Done
2149s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2162s autopkgtest [02:14:52]: test gdbus-server-auth: [-----------------------
2162s Running test: glib/gdbus-server-auth.test
2162s TAP version 14
2162s # random seed: R02S2c02a8c4bf5c29868e900365ffd26452
2162s 1..9
2162s # Start of gdbus tests
2162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/home
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/cache
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/system-config2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/config
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/system-data2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/data
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/state
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/.dirs/runtime
2162s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-LRGQX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
2162s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-LRGQX2/dbus-cEF9WCPo
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15458
2162s ok 1 /gdbus/server-auth
2162s # Start of server-auth tests
2162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/home
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/cache
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/system-config2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/config
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/system-data2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/data
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/state
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/abstract/.dirs/runtime
2162s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-PX7OX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
2162s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-PX7OX2/dbus-aGo0AbDt
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15458
2162s ok 2 /gdbus/server-auth/abstract
2162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/home
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/cache
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/system-config2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/config
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/system-data2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/data
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/state
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/tcp/.dirs/runtime
2162s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
2162s # Connectable address: tcp:host=127.0.0.1,port=45491
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
2162s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
2162s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
2162s ok 3 /gdbus/server-auth/tcp
2162s # slow test /gdbus/server-auth/tcp executed in 0.90 secs
2162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/home
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/cache
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/system-config2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/config
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/system-data2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/data
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/state
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/.dirs/runtime
2162s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-15WQX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
2162s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-15WQX2/dbus-scTbo5E9
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15458
2162s ok 4 /gdbus/server-auth/anonymous
2162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/home
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/cache
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/system-config2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/config
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/system-data2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/data
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/state
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/.dirs/runtime
2162s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-8V1QX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
2162s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-8V1QX2/dbus-Mr1C5H8m
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2162s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15458
2162s ok 5 /gdbus/server-auth/external
2162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/home
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/cache
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/system-config2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/config
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/system-data2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/data
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/state
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/.dirs/runtime
2162s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-X4GQX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
2162s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-X4GQX2/dbus-Sv52YShD
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15458
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2162s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15458
2162s ok 6 /gdbus/server-auth/sha1
2162s # Start of anonymous tests
2162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/home
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/cache
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/config
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/data
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/state
2162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime
2162s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
2162s # Connectable address: tcp:host=127.0.0.1,port=46065
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
2162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2162s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2162s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2162s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2162s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2163s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2163s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
2164s ok 7 /gdbus/server-auth/anonymous/tcp
2164s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs
2164s # End of anonymous tests
2164s # Start of external tests
2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/home
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/cache
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/config
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/data
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/state
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/external/require-same-user/.dirs/runtime
2164s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-37JSX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
2164s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZRHQX2/gdbus-server-auth-37JSX2/dbus-OBgqfW2X
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15458
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15458,uid=1000,gid=1000
2164s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15458
2164s ok 8 /gdbus/server-auth/external/require-same-user
2164s # End of external tests
2164s # Start of sha1 tests
2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/home
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/cache
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/config
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/data
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/state
2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZRHQX2/gdbus/server-auth/sha1/tcp/.dirs/runtime
2164s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
2164s # Connectable address: tcp:host=127.0.0.1,port=43653
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
2164s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
2164s ok 9 /gdbus/server-auth/sha1/tcp
2164s # slow test /gdbus/server-auth/sha1/tcp executed in 0.87 secs
2164s # End of sha1 tests
2164s # End of server-auth tests
2164s # End of gdbus tests
2164s PASS: glib/gdbus-server-auth.test
2164s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=6016
2165s autopkgtest [02:14:58]: test gdbus-server-auth: -----------------------]
2168s autopkgtest [02:15:01]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - -
2168s gdbus-server-auth PASS
2172s autopkgtest [02:15:05]: test gdbus-threading: preparing testbed
2174s Reading package lists...
2175s Building dependency tree...
2175s Reading state information...
2175s Starting pkgProblemResolver with broken count: 0
2175s Starting 2 pkgProblemResolver with broken count: 0
2175s Done
2176s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2184s autopkgtest [02:15:17]: test gdbus-threading: [-----------------------
2186s Running test: glib/gdbus-threading.test
2186s TAP version 14
2186s # random seed: R02S27661eaad52ca57e2dffb55e930ab6fd
2186s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2186s 1..3
2186s # Start of gdbus tests
2186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/home
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/cache
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/system-config2
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/config
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/system-data2
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/data
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/state
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_4023X2/gdbus/delivery-in-thread/.dirs/runtime
2186s ok 1 /gdbus/delivery-in-thread
2186s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/home
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/cache
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/system-config2
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/config
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/system-data2
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/data
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/state
2186s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_4023X2/gdbus/method-calls-in-thread/.dirs/runtime
2187s ok 2 /gdbus/method-calls-in-thread
2187s # slow test /gdbus/method-calls-in-thread executed in 0.86 secs
2187s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/home
2187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/cache
2187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/system-config2
2187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/config
2187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/system-data2
2187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/data
2187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/state
2187s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_4023X2/gdbus/threaded-singleton/.dirs/runtime
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: refcount of 0xf4002508 is not right (2 rather than 1) in test_threaded_singleton(), sleeping
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2188s ok 3 /gdbus/threaded-singleton
2188s # slow test /gdbus/threaded-singleton executed in 1.67 secs
2188s # End of gdbus tests
2188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2188s PASS: glib/gdbus-threading.test
2188s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.8s; system=0.6s; maxrss=4224
2189s autopkgtest [02:15:22]: test gdbus-threading: -----------------------]
2193s autopkgtest [02:15:26]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - -
2193s gdbus-threading PASS
2196s autopkgtest [02:15:29]: test gmenumodel: preparing testbed
2198s Reading package lists...
2199s Building dependency tree...
2199s Reading state information...
2199s Starting pkgProblemResolver with broken count: 0
2199s Starting 2 pkgProblemResolver with broken count: 0
2199s Done
2200s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2208s autopkgtest [02:15:41]: test gmenumodel: [-----------------------
2210s Running test: glib/gmenumodel.test
2210s TAP version 14
2210s # random seed: R02S297956e0d87bffe040cb9238da5aec15
2210s 1..15
2210s # Start of gmenu tests
2211s ok 1 /gmenu/equality
2211s # slow test /gmenu/equality executed in 0.94 secs
2212s ok 2 /gmenu/random
2212s # slow test /gmenu/random executed in 1.10 secs
2212s ok 3 /gmenu/attributes
2212s ok 4 /gmenu/links
2212s ok 5 /gmenu/mutable
2212s ok 6 /gmenu/convenience
2212s ok 7 /gmenu/menuitem
2212s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
2212s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2212s ok 8 /gmenu/input-validation
2212s # Start of dbus tests
2212s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2213s ok 9 /gmenu/dbus/roundtrip
2213s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
2213s ok 10 /gmenu/dbus/subscriptions
2215s ok 11 /gmenu/dbus/threaded
2215s # slow test /gmenu/dbus/threaded executed in 1.43 secs
2215s # Start of peer tests
2215s Executing: glib/gmenumodel.test
2216s ok 12 /gmenu/dbus/peer/roundtrip
2216s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs
2216s ok 13 /gmenu/dbus/peer/subscriptions
2216s # End of peer tests
2216s # Start of export tests
2216s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
2216s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
2216s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
2216s ok 14 /gmenu/dbus/export/error-handling
2216s # End of export tests
2216s # End of dbus tests
2216s # Start of attributes tests
2216s ok 15 /gmenu/attributes/iterate
2216s # End of attributes tests
2216s # End of gmenu tests
2216s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2216s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2216s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2216s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2216s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
2216s PASS: glib/gmenumodel.test
2216s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.6s; system=1.1s; maxrss=9344
2216s autopkgtest [02:15:49]: test gmenumodel: -----------------------]
2220s autopkgtest [02:15:53]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - -
2220s gmenumodel PASS
2224s autopkgtest [02:15:57]: test mainloop: preparing testbed
2226s Reading package lists...
2226s Building dependency tree...
2226s Reading state information...
2227s Starting pkgProblemResolver with broken count: 0
2227s Starting 2 pkgProblemResolver with broken count: 0
2227s Done
2227s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2235s autopkgtest [02:16:08]: test mainloop: [-----------------------
2237s Running test: glib/mainloop.test
2237s TAP version 14
2237s # random seed: R02S0e7296b420c87ed83d3b850691bf67ed
2237s 1..45
2237s # Start of maincontext tests
2237s ok 1 /maincontext/basic
2237s # Add same-priority sources: 28
2237s # Find each source: 3
2237s # Remove in random order: 32
2237s ok 2 /maincontext/nsources_same_priority
2237s # Add different-priority sources: 32
2237s # Find each source: 3
2237s # Remove in random order: 37
2237s ok 3 /maincontext/nsources_different_priority
2237s # Add sources from threads: 117
2237s # Remove sources from threads: 110
2237s ok 4 /maincontext/nsources_threadpool
2237s ok 5 /maincontext/source_finalization
2237s # /maincontext/idle-once summary: Test g_idle_add_once() works
2237s ok 6 /maincontext/idle-once
2237s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
2238s ok 7 /maincontext/timeout-once
2238s # Start of source_finalization_from_source tests
2238s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 8 /maincontext/source_finalization_from_source/0
2238s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 9 /maincontext/source_finalization_from_source/1
2238s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 10 /maincontext/source_finalization_from_source/2
2238s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 11 /maincontext/source_finalization_from_source/3
2238s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 12 /maincontext/source_finalization_from_source/4
2238s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 13 /maincontext/source_finalization_from_source/5
2238s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 14 /maincontext/source_finalization_from_source/6
2238s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 15 /maincontext/source_finalization_from_source/7
2238s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 16 /maincontext/source_finalization_from_source/8
2238s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
2238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
2238s ok 17 /maincontext/source_finalization_from_source/9
2238s # End of source_finalization_from_source tests
2238s # Start of source_finalization_from_dispatch tests
2238s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
2238s ok 18 /maincontext/source_finalization_from_dispatch/0
2238s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
2238s ok 19 /maincontext/source_finalization_from_dispatch/1
2238s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
2238s ok 20 /maincontext/source_finalization_from_dispatch/2
2238s # End of source_finalization_from_dispatch tests
2238s # End of maincontext tests
2238s # Start of mainloop tests
2238s ok 21 /mainloop/basic
2238s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test
2238s ok 23 /mainloop/priorities
2238s ok 24 /mainloop/invoke
2238s # slow test /mainloop/invoke executed in 0.50 secs
2239s ok 25 /mainloop/child_sources
2239s # slow test /mainloop/child_sources executed in 1.19 secs
2241s ok 26 /mainloop/recursive_child_sources
2241s # slow test /mainloop/recursive_child_sources executed in 2.18 secs
2241s ok 27 /mainloop/recursive_loop_child_sources
2241s ok 28 /mainloop/swapping_child_sources
2241s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
2241s ok 29 /mainloop/blocked_child_sources
2242s Executing: glib/mainloop.test
2242s ok 30 /mainloop/source_time
2242s # slow test /mainloop/source_time executed in 1.00 secs
2242s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
2242s ok 31 /mainloop/overflow
2243s ok 32 /mainloop/ready-time
2243s # slow test /mainloop/ready-time executed in 0.50 secs
2243s ok 33 /mainloop/wakeup
2243s ok 34 /mainloop/remove-invalid
2243s ok 35 /mainloop/unref-while-pending
2244s ok 36 /mainloop/unix-fd
2244s # slow test /mainloop/unix-fd executed in 0.90 secs
2244s ok 37 /mainloop/unix-fd-source
2244s ok 38 /mainloop/source-unix-fd-api
2244s ok 39 /mainloop/wait
2244s ok 40 /mainloop/unix-file-poll
2244s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
2244s ok 41 /mainloop/unix-fd-priority
2244s ok 42 /mainloop/nfds
2244s ok 43 /mainloop/steal-fd
2244s # Start of ownerless-polling tests
2244s ok 44 /mainloop/ownerless-polling/attach-first
2244s ok 45 /mainloop/ownerless-polling/pop-first
2244s # End of ownerless-polling tests
2244s # End of mainloop tests
2244s PASS: glib/mainloop.test
2244s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.0s; system=1.5s; maxrss=9540
2244s autopkgtest [02:16:17]: test mainloop: -----------------------]
2248s autopkgtest [02:16:21]: test mainloop: - - - - - - - - - - results - - - - - - - - - -
2248s mainloop PASS
2252s autopkgtest [02:16:25]: test memory-monitor-dbus: preparing testbed
2254s Reading package lists...
2254s Building dependency tree...
2254s Reading state information...
2254s Starting pkgProblemResolver with broken count: 0
2255s Starting 2 pkgProblemResolver with broken count: 0
2255s Done
2255s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2263s autopkgtest [02:16:36]: test memory-monitor-dbus: [-----------------------
2265s Running test: glib/memory-monitor-dbus.test
2265s TAP version 13
2265s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal
2265s # Received memory warning signal, level
2265s # Received memory warning signal, level
2265s # Received memory warning signal, level
2265s 1..1
2265s PASS: glib/memory-monitor-dbus.test
2265s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=20680
2266s autopkgtest [02:16:39]: test memory-monitor-dbus: -----------------------]
2270s autopkgtest [02:16:43]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - -
2270s memory-monitor-dbus PASS
2274s autopkgtest [02:16:47]: test socket: preparing testbed
2275s Reading package lists...
2276s Building dependency tree...
2276s Reading state information...
2276s Starting pkgProblemResolver with broken count: 0
2276s Starting 2 pkgProblemResolver with broken count: 0
2276s Done
2277s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2285s autopkgtest [02:16:58]: test socket: [-----------------------
2287s Running test: glib/socket.test
2287s TAP version 14
2287s # random seed: R02S7b955fb11c083252ffd0b11df17cd8db
2287s 1..28
2287s # Start of socket tests
2288s ok 1 /socket/ipv4_sync
2288s # slow test /socket/ipv4_sync executed in 1.00 secs
2289s ok 2 /socket/ipv4_async
2289s # slow test /socket/ipv4_async executed in 1.00 secs
2289s ok 3 /socket/ipv6_sync
2289s ok 4 /socket/ipv6_async
2289s ok 5 /socket/ipv6_v4mapped
2290s ok 6 /socket/close_graceful
2290s # slow test /socket/close_graceful executed in 1.00 secs
2290s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
2290s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
2290s ok 8 /socket/fd_reuse
2290s ok 9 /socket/address
2290s ok 10 /socket/unix-from-fd
2290s ok 11 /socket/unix-connection
2290s ok 12 /socket/unix-connection-ancillary-data
2290s ok 13 /socket/source-postmortem
2290s ok 14 /socket/read_write
2290s ok 15 /socket/read_writev
2290s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
2290s ok 16 /socket/receive_bytes
2290s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
2290s ok 17 /socket/receive_bytes_from
2290s # Start of ipv4_sync tests
2290s ok 18 /socket/ipv4_sync/datagram
2290s # Start of datagram tests
2291s ok 19 /socket/ipv4_sync/datagram/timeouts
2291s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
2291s # End of datagram tests
2291s # End of ipv4_sync tests
2291s # Start of ipv6_sync tests
2291s ok 20 /socket/ipv6_sync/datagram
2291s # Start of datagram tests
2292s ok 21 /socket/ipv6_sync/datagram/timeouts
2292s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
2292s # End of datagram tests
2292s # End of ipv6_sync tests
2292s # Start of reuse tests
2292s ok 22 /socket/reuse/tcp
2292s ok 23 /socket/reuse/udp
2292s # End of reuse tests
2292s # Start of get_available tests
2292s ok 24 /socket/get_available/datagram
2292s ok 25 /socket/get_available/stream
2292s # End of get_available tests
2292s # Start of credentials tests
2292s # Supported on this OS: GCredentials:linux-ucred:pid=0
2292s ok 26 /socket/credentials/tcp_client
2292s # Supported on this OS: GCredentials:linux-ucred:pid=0
2292s ok 27 /socket/credentials/tcp_server
2292s # Supported on this OS: GCredentials:linux-ucred:pid=17519,uid=1000,gid=1000
2292s ok 28 /socket/credentials/unix_socketpair
2292s # End of credentials tests
2292s # End of socket tests
2292s PASS: glib/socket.test
2292s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3840
2293s autopkgtest [02:17:06]: test socket: -----------------------]
2297s autopkgtest [02:17:10]: test socket: - - - - - - - - - - results - - - - - - - - - -
2297s socket PASS
2301s autopkgtest [02:17:14]: test testfilemonitor: preparing testbed
2302s Reading package lists...
2303s Building dependency tree...
2303s Reading state information...
2304s Starting pkgProblemResolver with broken count: 0
2304s Starting 2 pkgProblemResolver with broken count: 0
2304s Done
2306s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2314s autopkgtest [02:17:27]: test testfilemonitor: [-----------------------
2316s Running test: glib/testfilemonitor.test
2316s TAP version 14
2316s # random seed: R02Sa0b2d5031d1db5ab1b627b4a3c1d3178
2316s 1..8
2316s # Start of monitor tests
2316s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2316s # Using temporary directory: /tmp/gio-test-testfilemonitor_3IJUX2
2316s # Using GFileMonitor GInotifyFileMonitor
2318s ok 1 /monitor/atomic-replace
2318s # slow test /monitor/atomic-replace executed in 2.00 secs
2318s # Using temporary directory: /tmp/gio-test-testfilemonitor_FCHUX2
2318s # Using GFileMonitor GInotifyFileMonitor
2321s ok 2 /monitor/file-changes
2321s # slow test /monitor/file-changes executed in 2.50 secs
2321s # Using temporary directory: /tmp/gio-test-testfilemonitor_QB24X2
2321s # Using GFileMonitor GInotifyFileMonitor
2322s Executing: glib/testfilemonitor.test
2325s ok 3 /monitor/dir-monitor
2325s # slow test /monitor/dir-monitor executed in 3.51 secs
2325s # Using temporary directory: /tmp/gio-test-testfilemonitor_NRITX2
2325s # Using GFileMonitor GInotifyFileMonitor
2327s Executing: glib/testfilemonitor.test
2332s Executing: glib/testfilemonitor.test
2337s Executing: glib/testfilemonitor.test
2342s Executing: glib/testfilemonitor.test
2347s Executing: glib/testfilemonitor.test
2349s ok 4 /monitor/dir-not-existent
2349s # slow test /monitor/dir-not-existent executed in 25.02 secs
2349s # Using temporary directory: /tmp/gio-test-testfilemonitor_G8ZSX2
2349s # Using GFileMonitor 0 GInotifyFileMonitor
2349s # Using GFileMonitor 1 GInotifyFileMonitor
2351s ok 5 /monitor/cross-dir-moves
2351s # slow test /monitor/cross-dir-moves executed in 2.00 secs
2351s # Using temporary directory: /tmp/gio-test-testfilemonitor_85XSX2
2351s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock.
2351s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941
2351s ok 6 /monitor/finalize-in-callback
2351s # Using temporary directory: /tmp/gio-test-testfilemonitor_RHTSX2
2351s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
2351s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
2351s ok 7 /monitor/root
2351s # Start of file tests
2351s # Using temporary directory: /tmp/gio-test-testfilemonitor_9DTSX2
2351s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721
2351s # Running with hard link tests
2351s # Using GFileMonitor GInotifyFileMonitor
2352s Executing: glib/testfilemonitor.test
2355s # Event 0 at expected index 7 skipped because it is marked as optional
2355s # Event 2 at expected index 11 skipped because it is marked as optional
2355s ok 8 /monitor/file/hard-links
2355s # slow test /monitor/file/hard-links executed in 3.50 secs
2355s # End of file tests
2355s # End of monitor tests
2355s PASS: glib/testfilemonitor.test
2355s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4224
2355s autopkgtest [02:18:08]: test testfilemonitor: -----------------------]
2359s testfilemonitor PASS
2359s autopkgtest [02:18:12]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - -
2363s autopkgtest [02:18:16]: test thread-pool-slow: preparing testbed
2365s Reading package lists...
2365s Building dependency tree...
2365s Reading state information...
2365s Starting pkgProblemResolver with broken count: 0
2365s Starting 2 pkgProblemResolver with broken count: 0
2365s Done
2366s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2374s autopkgtest [02:18:27]: test thread-pool-slow: [-----------------------
2376s Running test: glib/thread-pool-slow.test
2376s TAP version 14
2376s # random seed: R02S33b6a01d2c8a89b290ea877fb6037ea8
2376s 1..7
2376s # Start of threadpool tests
2376s ok 1 /threadpool/functions
2376s ok 2 /threadpool/stop-unused
2376s # slow test /threadpool/stop-unused executed in 0.52 secs
2377s ok 3 /threadpool/pools
2377s # [unsorted] ===> pushed new thread with id:32, number of threads:1, unprocessed:1
2377s # [unsorted] ===> pushed new thread with id:10, number of threads:2, unprocessed:2
2377s # [unsorted] ===> pushed new thread with id:94, number of threads:3, unprocessed:3
2377s # [unsorted] ===> pushed new thread with id:98, number of threads:4, unprocessed:4
2377s # [unsorted] ===> pushed new thread with id:72, number of threads:5, unprocessed:1
2377s # [unsorted] ===> pushed new thread with id:80, number of threads:6, unprocessed:2
2377s # [unsorted] ===> pushed new thread with id:55, number of threads:7, unprocessed:3
2377s # [unsorted] ===> pushed new thread with id:87, number of threads:8, unprocessed:2
2377s # [unsorted] ===> pushed new thread with id:58, number of threads:9, unprocessed:2
2377s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:3
2377s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:3
2377s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:4
2377s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:5
2377s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:6
2377s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:7
2377s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:8
2377s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:9
2377s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:10
2377s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:11
2377s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:12
2377s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:11
2377s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:12
2377s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:13
2377s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:14
2377s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:15
2377s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:16
2377s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:17
2377s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:18
2377s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:19
2377s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:20
2377s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:21
2377s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:22
2377s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:23
2377s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:24
2377s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:25
2377s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:26
2377s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:27
2377s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:28
2377s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:29
2377s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:30
2377s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:31
2377s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:32
2377s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:33
2377s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:34
2377s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:35
2377s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:36
2377s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:37
2377s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:38
2377s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:39
2377s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:40
2377s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:41
2377s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:42
2377s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:43
2377s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:44
2377s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:45
2377s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:46
2377s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:47
2377s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:48
2377s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:49
2377s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:50
2377s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:51
2377s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:52
2377s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:53
2377s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:54
2377s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:55
2377s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:56
2377s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:57
2377s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:58
2377s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:59
2377s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:60
2377s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:61
2377s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:62
2377s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:63
2377s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:64
2377s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:65
2377s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:66
2377s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:67
2377s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:68
2377s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:69
2377s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:70
2377s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:71
2377s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:72
2377s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:73
2377s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:74
2377s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:75
2377s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:76
2377s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:77
2377s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:78
2377s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:79
2377s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:80
2377s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:81
2377s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:82
2377s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:83
2377s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:84
2377s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:85
2377s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:86
2377s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:87
2377s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:88
2377s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:89
2377s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:90
2377s ok 4 /threadpool/no-sort
2377s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:1
2377s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:2
2377s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:3
2377s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:4
2377s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:5
2377s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:6
2377s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:7
2377s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:8
2377s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:9
2377s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:10
2377s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:11
2377s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:12
2377s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:13
2377s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:14
2377s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:15
2377s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:16
2377s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:17
2377s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:18
2377s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:19
2377s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:20
2377s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:21
2377s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:22
2377s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:23
2377s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:24
2377s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:25
2377s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:26
2377s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:27
2377s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:28
2377s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:29
2377s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:30
2377s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:31
2377s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:32
2377s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:33
2377s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:34
2377s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:35
2377s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:36
2377s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:37
2377s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:38
2377s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:39
2377s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:40
2377s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:41
2377s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:42
2377s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:43
2377s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:44
2377s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:45
2377s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:46
2377s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:47
2377s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:48
2377s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:49
2377s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:50
2377s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:51
2377s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:52
2377s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:53
2377s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:54
2377s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:55
2377s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:56
2377s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:57
2377s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:58
2377s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:59
2377s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:60
2377s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:61
2377s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:62
2377s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:63
2377s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:64
2377s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:65
2377s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:66
2377s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:67
2377s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:68
2377s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:69
2377s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:70
2377s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:71
2377s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:72
2377s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:73
2377s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:74
2377s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:75
2377s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:76
2377s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:77
2377s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:78
2377s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:79
2377s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:80
2377s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:81
2377s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:82
2377s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:83
2377s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:84
2377s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:85
2377s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:86
2377s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:87
2377s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:88
2377s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:89
2377s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:90
2377s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:91
2377s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:92
2377s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:93
2377s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:94
2377s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:95
2377s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:96
2377s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:97
2377s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:98
2377s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:99
2377s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:100
2377s # Starting thread pool processing
2377s ok 5 /threadpool/sort
2377s ok 6 /threadpool/stop-unused-multiple
2377s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs
2377s # Pool idle thread count: 0, unprocessed jobs: 48
2378s # Pool idle thread count: 0, unprocessed jobs: 0
2378s # Pool idle thread count: 0, unprocessed jobs: 0
2378s # Pool idle thread count: 10, unprocessed jobs: 0
2378s # Pool idle thread count: 10, unprocessed jobs: 0
2379s # Pool idle thread count: 10, unprocessed jobs: 0
2379s # Pool idle thread count: 10, unprocessed jobs: 0
2379s # Pool idle thread count: 10, unprocessed jobs: 0
2379s # Pool idle thread count: 10, unprocessed jobs: 0
2380s # Pool idle thread count: 10, unprocessed jobs: 0
2380s # Pool idle thread count: 10, unprocessed jobs: 0
2380s # Pool idle thread count: 10, unprocessed jobs: 0
2380s # Pool idle thread count: 10, unprocessed jobs: 0
2381s # Pool idle thread count: 10, unprocessed jobs: 0
2381s # Pool idle thread count: 10, unprocessed jobs: 0
2381s Executing: glib/thread-pool-slow.test
2381s # Pool idle thread count: 10, unprocessed jobs: 0
2381s # Pool idle thread count: 10, unprocessed jobs: 0
2382s # Pool idle thread count: 10, unprocessed jobs: 0
2382s # Pool idle thread count: 10, unprocessed jobs: 0
2382s # Pool idle thread count: 10, unprocessed jobs: 0
2382s # Pool idle thread count: 10, unprocessed jobs: 0
2383s # Pool idle thread count: 10, unprocessed jobs: 0
2383s # Pool idle thread count: 10, unprocessed jobs: 0
2383s # Pool idle thread count: 10, unprocessed jobs: 0
2383s # Pool idle thread count: 10, unprocessed jobs: 0
2384s # Pool idle thread count: 10, unprocessed jobs: 0
2384s # Pool idle thread count: 10, unprocessed jobs: 0
2384s # Pool idle thread count: 10, unprocessed jobs: 0
2384s # Pool idle thread count: 10, unprocessed jobs: 0
2385s # Pool idle thread count: 10, unprocessed jobs: 0
2385s # Pool idle thread count: 10, unprocessed jobs: 0
2385s # Pool idle thread count: 10, unprocessed jobs: 0
2385s # Pool idle thread count: 10, unprocessed jobs: 0
2386s # Pool idle thread count: 10, unprocessed jobs: 0
2386s # Pool idle thread count: 10, unprocessed jobs: 0
2386s Executing: glib/thread-pool-slow.test
2386s # Pool idle thread count: 10, unprocessed jobs: 2
2386s # Pool idle thread count: 8, unprocessed jobs: 0
2386s # Pool idle thread count: 8, unprocessed jobs: 0
2386s # Pool idle thread count: 8, unprocessed jobs: 0
2387s # Pool idle thread count: 10, unprocessed jobs: 0
2387s # Pool idle thread count: 10, unprocessed jobs: 0
2387s # Pool idle thread count: 10, unprocessed jobs: 0
2387s # Pool idle thread count: 10, unprocessed jobs: 0
2388s # Pool idle thread count: 10, unprocessed jobs: 0
2388s # Pool idle thread count: 10, unprocessed jobs: 0
2388s # Pool idle thread count: 2, unprocessed jobs: 0
2388s # Pool idle thread count: 2, unprocessed jobs: 0
2389s # Pool idle thread count: 2, unprocessed jobs: 0
2389s # Pool idle thread count: 2, unprocessed jobs: 0
2389s # Pool idle thread count: 2, unprocessed jobs: 0
2389s # Pool idle thread count: 2, unprocessed jobs: 0
2390s # Pool idle thread count: 2, unprocessed jobs: 0
2390s # Pool idle thread count: 2, unprocessed jobs: 0
2390s # Pool idle thread count: 2, unprocessed jobs: 0
2390s # Pool idle thread count: 2, unprocessed jobs: 0
2391s # Pool idle thread count: 2, unprocessed jobs: 0
2391s # Pool idle thread count: 2, unprocessed jobs: 0
2391s Executing: glib/thread-pool-slow.test
2391s # Pool idle thread count: 2, unprocessed jobs: 0
2391s # Pool idle thread count: 2, unprocessed jobs: 0
2392s # Pool idle thread count: 2, unprocessed jobs: 0
2392s # Pool idle thread count: 2, unprocessed jobs: 0
2392s # Pool idle thread count: 2, unprocessed jobs: 0
2392s # Pool idle thread count: 2, unprocessed jobs: 0
2393s # Pool idle thread count: 2, unprocessed jobs: 0
2393s # Pool idle thread count: 2, unprocessed jobs: 0
2393s # Pool idle thread count: 2, unprocessed jobs: 0
2393s # Pool idle thread count: 2, unprocessed jobs: 0
2394s # Pool idle thread count: 2, unprocessed jobs: 0
2394s # Pool idle thread count: 2, unprocessed jobs: 0
2394s # Pool idle thread count: 2, unprocessed jobs: 0
2394s # Pool idle thread count: 2, unprocessed jobs: 0
2395s # Pool idle thread count: 2, unprocessed jobs: 0
2395s # Pool idle thread count: 2, unprocessed jobs: 0
2395s # Pool idle thread count: 2, unprocessed jobs: 0
2395s # Pool idle thread count: 2, unprocessed jobs: 0
2396s # Pool idle thread count: 2, unprocessed jobs: 0
2396s # Pool idle thread count: 2, unprocessed jobs: 0
2396s Executing: glib/thread-pool-slow.test
2396s # Pool idle thread count: 2, unprocessed jobs: 0
2396s # Pool idle thread count: 2, unprocessed jobs: 0
2397s ok 7 /threadpool/idle-time
2397s # slow test /threadpool/idle-time executed in 19.53 secs
2397s # End of threadpool tests
2397s PASS: glib/thread-pool-slow.test
2397s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=2560
2397s autopkgtest [02:18:50]: test thread-pool-slow: -----------------------]
2401s thread-pool-slow PASS
2401s autopkgtest [02:18:54]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - -
2405s autopkgtest [02:18:58]: test threadtests: preparing testbed
2407s Reading package lists...
2407s Building dependency tree...
2407s Reading state information...
2407s Starting pkgProblemResolver with broken count: 0
2407s Starting 2 pkgProblemResolver with broken count: 0
2407s Done
2408s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2416s autopkgtest [02:19:09]: test threadtests: [-----------------------
2418s Running test: glib/threadtests.test
2418s TAP version 14
2418s # random seed: R02S7e73720ff5645596be99f41e01581852
2418s 1..5
2418s # Start of GObject tests
2418s ok 1 /GObject/threaded-object-init
2419s ok 2 /GObject/threaded-weak-ref
2419s # slow test /GObject/threaded-weak-ref executed in 0.72 secs
2419s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
2419s # /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
2421s ok 3 /GObject/threaded-toggle-notify
2421s # slow test /GObject/threaded-toggle-notify executed in 2.30 secs
2421s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
2421s # Start of threaded-weak-ref tests
2421s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
2421s # /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.
2421s ok 5 /GObject/threaded-weak-ref/on-finalization
2421s # End of threaded-weak-ref tests
2421s # End of GObject tests
2421s PASS: glib/threadtests.test
2421s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=9.1s; system=0.4s; maxrss=2560
2421s autopkgtest [02:19:14]: test threadtests: -----------------------]
2425s autopkgtest [02:19:18]: test threadtests: - - - - - - - - - - results - - - - - - - - - -
2425s threadtests PASS
2429s autopkgtest [02:19:22]: test timeout: preparing testbed
2431s Reading package lists...
2431s Building dependency tree...
2431s Reading state information...
2431s Starting pkgProblemResolver with broken count: 0
2432s Starting 2 pkgProblemResolver with broken count: 0
2432s Done
2432s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2440s autopkgtest [02:19:33]: test timeout: [-----------------------
2442s Running test: glib/timeout.test
2442s TAP version 14
2442s # random seed: R02S3dbb7c6c759c430343b782d78f51fe2f
2442s 1..5
2442s # Start of timeout tests
2442s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
2444s ok 1 /timeout/seconds
2444s # slow test /timeout/seconds executed in 2.10 secs
2446s ok 2 /timeout/seconds-once
2446s # slow test /timeout/seconds-once executed in 2.10 secs
2446s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
2447s Executing: glib/timeout.test
2448s ok 3 /timeout/weeks-overflow
2448s # slow test /timeout/weeks-overflow executed in 2.10 secs
2448s ok 4 /timeout/far-future-ready-time
2452s Executing: glib/timeout.test
2457s Executing: glib/timeout.test
2458s ok 5 /timeout/rounding
2458s # slow test /timeout/rounding executed in 9.92 secs
2458s # End of timeout tests
2458s PASS: glib/timeout.test
2458s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048
2458s autopkgtest [02:19:51]: test timeout: -----------------------]
2462s autopkgtest [02:19:55]: test timeout: - - - - - - - - - - results - - - - - - - - - -
2462s timeout PASS
2466s autopkgtest [02:19:59]: test timer: preparing testbed
2467s Reading package lists...
2468s Building dependency tree...
2468s Reading state information...
2468s Starting pkgProblemResolver with broken count: 0
2468s Starting 2 pkgProblemResolver with broken count: 0
2468s Done
2469s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2477s autopkgtest [02:20:10]: test timer: [-----------------------
2479s Running test: glib/timer.test
2479s autopkgtest [02:20:12]: test timer: -----------------------]
2479s TAP version 14
2479s # random seed: R02S18bea0d024ee4d56f1068ea1fcdc2993
2479s 1..10
2479s # Start of timer tests
2479s ok 1 /timer/basic
2479s ok 2 /timer/stop
2479s ok 3 /timer/continue
2479s ok 4 /timer/reset
2479s ok 5 /timer/is_active
2479s # End of timer tests
2479s # Start of timeval tests
2479s ok 6 /timeval/add
2479s ok 7 /timeval/from-iso8601
2479s ok 8 /timeval/to-iso8601
2479s # Start of to-iso8601 tests
2479s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow.
2479s # End of to-iso8601 tests
2479s # End of timeval tests
2479s # Start of usleep tests
2479s ok 10 /usleep/with-zero-wait
2479s # End of usleep tests
2479s PASS: glib/timer.test
2479s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176
2483s timer PASS
2483s autopkgtest [02:20:16]: test timer: - - - - - - - - - - results - - - - - - - - - -
2487s autopkgtest [02:20:20]: test 1065022-futureproofing: preparing testbed
2538s autopkgtest [02:21:11]: testbed dpkg architecture: armhf
2540s autopkgtest [02:21:13]: testbed apt version: 2.9.14ubuntu1
2544s autopkgtest [02:21:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup
2545s autopkgtest [02:21:18]: testbed release detected to be: plucky
2553s autopkgtest [02:21:26]: updating testbed package index (apt update)
2555s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB]
2555s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB]
2555s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
2555s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
2555s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B]
2555s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB]
2555s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB]
2555s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB]
2555s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [108 kB]
2555s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B]
2555s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [582 kB]
2555s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6956 B]
2555s Get:13 http://ftpmaster.internal/ubuntu plucky/main Sources [1382 kB]
2556s Get:14 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB]
2556s Get:15 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB]
2556s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1353 kB]
2556s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.6 MB]
2556s Get:18 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [175 kB]
2560s Fetched 40.3 MB in 5s (8208 kB/s)
2561s Reading package lists...
2566s autopkgtest [02:21:39]: upgrading testbed (apt dist-upgrade and autopurge)
2568s Reading package lists...
2568s Building dependency tree...
2568s Reading state information...
2569s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
2569s Starting 2 pkgProblemResolver with broken count: 0
2569s Done
2570s Entering ResolveByKeep
2570s
2571s The following package was automatically installed and is no longer required:
2571s libassuan0
2571s Use 'apt autoremove' to remove it.
2571s The following packages will be upgraded:
2571s binutils binutils-arm-linux-gnueabihf binutils-common dirmngr fwupd
2571s gcc-14-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
2571s gpgconf gpgsm gpgv keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0
2571s libctf0 libfwupd3 libgcc-s1 libsframe1 libstdc++6 publicsuffix
2571s python3-software-properties software-properties-common xauth
2571s 29 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2571s Need to get 12.5 MB of archives.
2571s After this operation, 416 kB of additional disk space will be used.
2571s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-9ubuntu1 [7856 B]
2571s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-9ubuntu1 [51.9 kB]
2571s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-9ubuntu1 [713 kB]
2571s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-9ubuntu1 [40.9 kB]
2571s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB]
2571s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu20 [88.9 kB]
2571s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu20 [351 kB]
2571s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu20 [246 kB]
2571s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu20 [160 kB]
2571s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu20 [238 kB]
2571s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu20 [535 kB]
2571s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu20 [117 kB]
2571s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu20 [359 kB]
2571s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu20 [113 kB]
2571s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu20 [228 kB]
2571s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241025.1547-0.1 [135 kB]
2571s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB]
2572s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241126-3ubuntu1 [90.2 kB]
2572s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241126-3ubuntu1 [89.7 kB]
2572s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241126-3ubuntu1 [3084 B]
2572s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241126-3ubuntu1 [2938 kB]
2572s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241126-3ubuntu1 [461 kB]
2572s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241126-3ubuntu1 [222 kB]
2572s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241126-3ubuntu1 [12.8 kB]
2572s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.2-2 [5020 kB]
2572s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.2-2 [124 kB]
2572s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB]
2572s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.107 [16.5 kB]
2572s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.107 [30.4 kB]
2572s Fetched 12.5 MB in 1s (12.4 MB/s)
2572s (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 ... 59970 files and directories currently installed.)
2572s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_armhf.deb ...
2572s Unpacking libatomic1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
2572s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_armhf.deb ...
2572s Unpacking gcc-14-base:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
2572s Setting up gcc-14-base:armhf (14.2.0-9ubuntu1) ...
2573s (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 ... 59970 files and directories currently installed.)
2573s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_armhf.deb ...
2573s Unpacking libstdc++6:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
2573s Setting up libstdc++6:armhf (14.2.0-9ubuntu1) ...
2573s (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 ... 59970 files and directories currently installed.)
2573s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_armhf.deb ...
2573s Unpacking libgcc-s1:armhf (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ...
2573s Setting up libgcc-s1:armhf (14.2.0-9ubuntu1) ...
2573s (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 ... 59970 files and directories currently installed.)
2573s Preparing to unpack .../libcap-ng0_0.8.5-4_armhf.deb ...
2573s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ...
2573s Setting up libcap-ng0:armhf (0.8.5-4) ...
2573s (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 ... 59970 files and directories currently installed.)
2573s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ...
2573s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_armhf.deb ...
2573s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2573s Setting up gpgv (2.4.4-2ubuntu20) ...
2573s (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 ... 59970 files and directories currently installed.)
2573s Preparing to unpack .../00-publicsuffix_20241025.1547-0.1_all.deb ...
2573s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ...
2573s Preparing to unpack .../01-xauth_1%3a1.1.2-1.1_armhf.deb ...
2573s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ...
2573s Preparing to unpack .../02-libctf0_2.43.50.20241126-3ubuntu1_armhf.deb ...
2573s Unpacking libctf0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
2573s Preparing to unpack .../03-libctf-nobfd0_2.43.50.20241126-3ubuntu1_armhf.deb ...
2573s Unpacking libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
2573s Preparing to unpack .../04-binutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
2573s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
2574s Preparing to unpack .../05-binutils-arm-linux-gnueabihf_2.43.50.20241126-3ubuntu1_armhf.deb ...
2574s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
2574s Preparing to unpack .../06-libbinutils_2.43.50.20241126-3ubuntu1_armhf.deb ...
2574s Unpacking libbinutils:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
2574s Preparing to unpack .../07-binutils-common_2.43.50.20241126-3ubuntu1_armhf.deb ...
2574s Unpacking binutils-common:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
2574s Preparing to unpack .../08-libsframe1_2.43.50.20241126-3ubuntu1_armhf.deb ...
2574s Unpacking libsframe1:armhf (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ...
2574s Preparing to unpack .../09-fwupd_2.0.2-2_armhf.deb ...
2574s Unpacking fwupd (2.0.2-2) over (2.0.2-1) ...
2574s Preparing to unpack .../10-libfwupd3_2.0.2-2_armhf.deb ...
2574s Unpacking libfwupd3:armhf (2.0.2-2) over (2.0.2-1) ...
2574s Preparing to unpack .../11-gnupg-l10n_2.4.4-2ubuntu20_all.deb ...
2574s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ...
2574s Preparing to unpack .../12-software-properties-common_0.107_all.deb ...
2574s Unpacking software-properties-common (0.107) over (0.105) ...
2574s Preparing to unpack .../13-python3-software-properties_0.107_all.deb ...
2574s Unpacking python3-software-properties (0.107) over (0.105) ...
2574s Setting up binutils-common:armhf (2.43.50.20241126-3ubuntu1) ...
2574s Setting up libctf-nobfd0:armhf (2.43.50.20241126-3ubuntu1) ...
2574s Setting up libfwupd3:armhf (2.0.2-2) ...
2574s Setting up libsframe1:armhf (2.43.50.20241126-3ubuntu1) ...
2574s Setting up gnupg-l10n (2.4.4-2ubuntu20) ...
2574s Setting up libatomic1:armhf (14.2.0-9ubuntu1) ...
2574s Setting up xauth (1:1.1.2-1.1) ...
2574s Setting up gpgconf (2.4.4-2ubuntu20) ...
2574s Setting up libbinutils:armhf (2.43.50.20241126-3ubuntu1) ...
2574s Setting up publicsuffix (20241025.1547-0.1) ...
2574s Setting up fwupd (2.0.2-2) ...
2575s fwupd-refresh.service is a disabled or a static unit not running, not starting it.
2575s fwupd.service is a disabled or a static unit not running, not starting it.
2575s Setting up gpg (2.4.4-2ubuntu20) ...
2575s Setting up gnupg-utils (2.4.4-2ubuntu20) ...
2575s Setting up libctf0:armhf (2.43.50.20241126-3ubuntu1) ...
2575s Setting up gpg-agent (2.4.4-2ubuntu20) ...
2575s Setting up gpgsm (2.4.4-2ubuntu20) ...
2575s Setting up dirmngr (2.4.4-2ubuntu20) ...
2576s Setting up python3-software-properties (0.107) ...
2576s Setting up keyboxd (2.4.4-2ubuntu20) ...
2576s Setting up gnupg (2.4.4-2ubuntu20) ...
2576s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241126-3ubuntu1) ...
2576s Setting up gpg-wks-client (2.4.4-2ubuntu20) ...
2576s Setting up binutils (2.43.50.20241126-3ubuntu1) ...
2576s Setting up software-properties-common (0.107) ...
2576s Processing triggers for install-info (7.1.1-1) ...
2576s Processing triggers for libc-bin (2.40-1ubuntu3) ...
2576s Processing triggers for man-db (2.13.0-1) ...
2578s Processing triggers for dbus (1.14.10-4ubuntu5) ...
2579s Reading package lists...
2580s Building dependency tree...
2580s Reading state information...
2580s Starting pkgProblemResolver with broken count: 0
2580s Starting 2 pkgProblemResolver with broken count: 0
2580s Done
2581s The following packages will be REMOVED:
2581s libassuan0*
2581s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2581s After this operation, 68.6 kB disk space will be freed.
2581s (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 ... 59970 files and directories currently installed.)
2581s Removing libassuan0:armhf (2.5.6-1build1) ...
2581s Processing triggers for libc-bin (2.40-1ubuntu3) ...
2583s autopkgtest [02:21:56]: rebooting testbed after setup commands that affected boot
2671s Reading package lists...
2671s Building dependency tree...
2671s Reading state information...
2672s Starting pkgProblemResolver with broken count: 0
2672s Starting 2 pkgProblemResolver with broken count: 0
2672s Done
2673s The following NEW packages will be installed:
2673s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas
2673s libdconf1
2673s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
2673s Need to get 138 kB of archives.
2673s After this operation, 569 kB of additional disk space will be used.
2673s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libdconf1 armhf 0.40.0-4build2 [38.4 kB]
2673s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-service armhf 0.40.0-4build2 [27.4 kB]
2673s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-gsettings-backend armhf 0.40.0-4build2 [23.6 kB]
2673s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-repack all 1.54 [11.2 kB]
2673s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB]
2673s Fetched 138 kB in 0s (361 kB/s)
2673s Selecting previously unselected package libdconf1:armhf.
2673s (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 ... 59965 files and directories currently installed.)
2673s Preparing to unpack .../libdconf1_0.40.0-4build2_armhf.deb ...
2673s Unpacking libdconf1:armhf (0.40.0-4build2) ...
2673s Selecting previously unselected package dconf-service.
2673s Preparing to unpack .../dconf-service_0.40.0-4build2_armhf.deb ...
2673s Unpacking dconf-service (0.40.0-4build2) ...
2673s Selecting previously unselected package dconf-gsettings-backend:armhf.
2673s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_armhf.deb ...
2673s Unpacking dconf-gsettings-backend:armhf (0.40.0-4build2) ...
2674s Selecting previously unselected package dpkg-repack.
2674s Preparing to unpack .../dpkg-repack_1.54_all.deb ...
2674s Unpacking dpkg-repack (1.54) ...
2674s Selecting previously unselected package gsettings-desktop-schemas.
2674s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ...
2674s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ...
2674s Setting up dpkg-repack (1.54) ...
2674s Setting up libdconf1:armhf (0.40.0-4build2) ...
2674s Setting up dconf-service (0.40.0-4build2) ...
2674s Setting up dconf-gsettings-backend:armhf (0.40.0-4build2) ...
2674s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ...
2674s Processing triggers for man-db (2.13.0-1) ...
2674s Processing triggers for libglib2.0-0t64:armhf (2.82.2-3) ...
2674s Processing triggers for libc-bin (2.40-1ubuntu3) ...
2689s autopkgtest [02:23:42]: test 1065022-futureproofing: [-----------------------
2691s + export DEBIAN_FRONTEND=noninteractive
2691s + n=0
2691s + failed=0
2691s + binary_package=libglib2.0-0t64
2691s + future_binary_package=libglib2.0-0xyz
2691s + pwd
2691s + srcdir=/tmp/autopkgtest.sgD5cM/build.suw/src
2691s + mktemp -d
2691s + tmpdir=/tmp/tmp.lQqiBw9VzN
2691s + cd /tmp/tmp.lQqiBw9VzN
2691s + [ -e /tmp/autopkgtest.sgD5cM/build.suw/src/debian/tests/manual/local-1065022.sources ]
2691s + dpkg-query -W dpkg-repack
2691s dpkg-repack 1.54
2691s + dpkg-repack --generate libglib2.0-0t64
2691s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file
2691s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.SBXiO2 for libglib2.0-0t64
2691s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.SBXiO2 ."
2691s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.SBXiO2/DEBIAN/control
2691s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.SBXiO2/DEBIAN/control
2691s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.SBXiO2/DEBIAN/control
2691s + env binary_package=libglib2.0-0t64 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}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.SBXiO2/DEBIAN/control
2691s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.SBXiO2 libglib2.0-0xyz.deb
2691s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'.
2692s + apt-get -y install ./libglib2.0-0xyz.deb
2692s Reading package lists...
2693s Building dependency tree...
2693s Reading state information...
2693s The following packages were automatically installed and are no longer required:
2693s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1
2693s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2
2693s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64
2693s libonig5 libprotobuf-c1 libstemmer0d libunwind8 python3-apport
2693s python3-certifi python3-chardet python3-configobj python3-debconf
2693s python3-distro-info python3-markdown-it python3-mdurl python3-openssl
2693s python3-problem-report python3-pygments python3-requests python3-rich
2693s python3-systemd python3-urllib3 sgml-base xml-core
2693s Use 'apt autoremove' to remove them.
2693s The following additional packages will be installed:
2693s xdg-user-dirs
2693s Suggested packages:
2693s low-memory-monitor
2693s Recommended packages:
2693s shared-mime-info
2693s The following packages will be REMOVED:
2693s apport apport-core-dump-handler appstream bolt cloud-init cloud-init-base
2693s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0
2693s gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gsettings-desktop-schemas
2693s libappstream5 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3
2693s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3
2693s libblockdev-utils3 libblockdev3 libdconf1 libfwupd3 libgirepository-1.0-1
2693s libglib2.0-0t64 libglib2.0-bin libgstreamer1.0-0 libgudev-1.0-0 libjcat1
2693s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1
2693s libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0
2693s libqmi-glib5 libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2
2693s netplan-generator netplan.io networkd-dispatcher packagekit packagekit-tools
2693s polkitd python3-dbus python3-gi python3-netplan python3-software-properties
2693s shared-mime-info software-properties-common ubuntu-minimal udisks2
2693s unattended-upgrades
2693s The following NEW packages will be installed:
2693s libglib2.0-0xyz xdg-user-dirs
2693s 0 upgraded, 2 newly installed, 60 to remove and 0 not upgraded.
2693s Need to get 17.3 kB/1460 kB of archives.
2693s After this operation, 33.6 MB disk space will be freed.
2693s Get:1 /tmp/tmp.lQqiBw9VzN/libglib2.0-0xyz.deb libglib2.0-0xyz armhf 2.82.2-3 [1443 kB]
2694s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf xdg-user-dirs armhf 0.18-1build1 [17.3 kB]
2694s Fetched 17.3 kB in 0s (78.8 kB/s)
2694s (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 ... 60033 files and directories currently installed.)
2694s Removing appstream (1.0.3-1) ...
2694s Removing bolt (0.9.8-1) ...
2694s Removing cloud-init (24.4-0ubuntu1) ...
2694s Removing cloud-init-base (24.4-0ubuntu1) ...
2695s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ...
2695s Removing dconf-gsettings-backend:armhf (0.40.0-4build2) ...
2695s Removing dconf-service (0.40.0-4build2) ...
2695s Removing fwupd (2.0.2-2) ...
2695s Removing software-properties-common (0.107) ...
2696s Removing python3-software-properties (0.107) ...
2696s Removing gir1.2-packagekitglib-1.0 (1.3.0-2) ...
2696s Removing networkd-dispatcher (2.2.4-1.1) ...
2696s Removing packagekit-tools (1.3.0-2) ...
2696s Removing packagekit (1.3.0-2) ...
2696s Removing libappstream5:armhf (1.0.3-1) ...
2696s Removing udisks2 (2.10.1-11ubuntu1) ...
2697s Removing libblockdev-crypto3:armhf (3.2.1-1) ...
2697s Removing libblockdev-fs3:armhf (3.2.1-1) ...
2697s Removing libblockdev-loop3:armhf (3.2.1-1) ...
2697s Removing libblockdev-mdraid3:armhf (3.2.1-1) ...
2697s Removing libblockdev-nvme3:armhf (3.2.1-1) ...
2697s Removing libblockdev-part3:armhf (3.2.1-1) ...
2697s Removing libblockdev-swap3:armhf (3.2.1-1) ...
2697s Removing libblockdev3:armhf (3.2.1-1) ...
2697s Removing libblockdev-utils3:armhf (3.2.1-1) ...
2697s Removing libdconf1:armhf (0.40.0-4build2) ...
2697s Removing libfwupd3:armhf (2.0.2-2) ...
2697s Removing shared-mime-info (2.4-5) ...
2697s Removing unattended-upgrades (2.9.1+nmu4ubuntu1) ...
2697s Removing python3-dbus (1.3.2-5build4) ...
2697s Removing libglib2.0-bin (2.82.2-3) ...
2697s Removing libgstreamer1.0-0:armhf (1.24.9-1) ...
2697s Removing libgudev-1.0-0:armhf (1:238-5ubuntu1) ...
2697s Removing libjcat1:armhf (0.2.0-2build3) ...
2697s Removing libjson-glib-1.0-0:armhf (1.10.0+ds-3) ...
2697s Removing libqmi-proxy (1.35.2-0ubuntu2) ...
2697s Removing libqmi-glib5:armhf (1.35.2-0ubuntu2) ...
2697s Removing libmbim-proxy (1.31.2-0ubuntu4) ...
2697s Removing libmbim-glib4:armhf (1.31.2-0ubuntu4) ...
2698s Removing libmm-glib0:armhf (1.23.4-0ubuntu2) ...
2698s Removing ubuntu-minimal (1.544) ...
2698s Removing netplan.io (1.1.1-1) ...
2698s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed
2698s Removing python3-netplan (1.1.1-1) ...
2698s Removing netplan-generator (1.1.1-1) ...
2698s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed
2698s Removing libnetplan1:armhf (1.1.1-1) ...
2698s Removing libpackagekit-glib2-18:armhf (1.3.0-2) ...
2698s Removing polkitd (125-2ubuntu1) ...
2698s Removing libpolkit-agent-1-0:armhf (125-2ubuntu1) ...
2698s Removing libpolkit-gobject-1-0:armhf (125-2ubuntu1) ...
2698s Removing libqrtr-glib0:armhf (1.2.2-1ubuntu4) ...
2698s Removing libudisks2-0:armhf (2.10.1-11ubuntu1) ...
2698s Removing libvolume-key1:armhf (0.3.12-8) ...
2698s Removing libxmlb2:armhf (0.3.21-1) ...
2699s Removing apport (2.30.0-0ubuntu5) ...
2699s Removing apport-core-dump-handler (2.30.0-0ubuntu5) ...
2699s Removing python3-gi (3.50.0-3build1) ...
2699s Removing gir1.2-girepository-2.0:armhf (1.82.0-2) ...
2699s Removing gir1.2-glib-2.0:armhf (2.82.2-3) ...
2699s Removing libgirepository-1.0-1:armhf (1.82.0-2) ...
2699s Removing libglib2.0-0t64:armhf (2.82.2-3) ...
2699s Selecting previously unselected package libglib2.0-0xyz:armhf.
2699s (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 ... 58747 files and directories currently installed.)
2699s Preparing to unpack .../libglib2.0-0xyz.deb ...
2699s Unpacking libglib2.0-0xyz:armhf (2.82.2-3) ...
2700s Selecting previously unselected package xdg-user-dirs.
2700s Preparing to unpack .../xdg-user-dirs_0.18-1build1_armhf.deb ...
2700s Unpacking xdg-user-dirs (0.18-1build1) ...
2700s Setting up xdg-user-dirs (0.18-1build1) ...
2700s Setting up libglib2.0-0xyz:armhf (2.82.2-3) ...
2700s No schema files found: removed existing output file.
2700s Processing triggers for dbus (1.14.10-4ubuntu5) ...
2700s Processing triggers for sgml-base (1.31) ...
2700s Processing triggers for libc-bin (2.40-1ubuntu3) ...
2700s Processing triggers for man-db (2.13.0-1) ...
2701s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
2701s + n=1
2701s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
2701s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
2701s + failed=1
2701s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
2701s + n=2
2701s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
2701s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
2701s + failed=1
2701s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so
2701s + n=3
2701s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
2701s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
2701s + failed=1
2701s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so
2701s + n=4
2701s + test -s /usr/lib/*/gio/modules/libdconfsettings.so
2701s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
2701s + failed=1
2701s + assert test -e /usr/lib/*/gio/modules/giomodule.cache
2701s + n=5
2701s + test -e /usr/lib/*/gio/modules/giomodule.cache
2701s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
2701s + failed=1
2701s + assert test -s /usr/lib/*/gio/modules/giomodule.cache
2701s + n=6
2701s + test -s /usr/lib/*/gio/modules/giomodule.cache
2701s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
2701s + failed=1
2701s + apt-get -y purge libglib2.0-0t64
2701s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
2701s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
2701s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
2701s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
2701s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
2701s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
2701s Reading package lists...
2701s Building dependency tree...
2701s Reading state information...
2701s The following packages were automatically installed and are no longer required:
2701s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1
2701s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2
2701s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64
2701s libonig5 libprotobuf-c1 libstemmer0d libunwind8 python3-apport
2701s python3-certifi python3-chardet python3-configobj python3-debconf
2701s python3-distro-info python3-markdown-it python3-mdurl python3-openssl
2701s python3-problem-report python3-pygments python3-requests python3-rich
2701s python3-systemd python3-urllib3 sgml-base xml-core
2701s Use 'apt autoremove' to remove them.
2702s The following packages will be REMOVED:
2702s libglib2.0-0t64*
2702s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2702s After this operation, 0 B of additional disk space will be used.
2702s (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 ... 58782 files and directories currently installed.)
2702s Purging configuration files for libglib2.0-0t64:armhf (2.82.2-3) ...
2702s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
2702s + n=7
2702s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
2702s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
2702s + failed=1
2702s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
2702s + n=8
2702s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
2702s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
2702s + failed=1
2702s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so
2702s + n=9
2702s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
2702s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
2702s + failed=1
2702s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so
2702s + n=10
2702s + test -s /usr/lib/*/gio/modules/libdconfsettings.so
2702s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
2702s + failed=1
2702s + assert test -e /usr/lib/*/gio/modules/giomodule.cache
2702s + n=11
2702s + test -e /usr/lib/*/gio/modules/giomodule.cache
2702s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
2702s + failed=1
2702s + assert test -s /usr/lib/*/gio/modules/giomodule.cache
2702s + n=12
2702s + test -s /usr/lib/*/gio/modules/giomodule.cache
2702s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
2702s + failed=1
2702s + apt-get -y purge libglib2.0-0xyz
2702s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
2702s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
2702s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
2702s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
2702s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
2702s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
2702s Reading package lists...
2702s Building dependency tree...
2702s Reading state information...
2703s The following packages were automatically installed and are no longer required:
2703s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1
2703s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2
2703s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4
2703s libnss3 libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d libunwind8
2703s python3-apport python3-certifi python3-chardet python3-configobj
2703s python3-debconf python3-distro-info python3-markdown-it python3-mdurl
2703s python3-openssl python3-problem-report python3-pygments python3-requests
2703s python3-rich python3-systemd python3-urllib3 sgml-base xdg-user-dirs
2703s xml-core
2703s Use 'apt autoremove' to remove them.
2703s The following packages will be REMOVED:
2703s libglib2.0-0xyz*
2703s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2703s After this operation, 3129 kB disk space will be freed.
2704s (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 ... 58782 files and directories currently installed.)
2704s Removing libglib2.0-0xyz:armhf (2.82.2-3) ...
2704s Processing triggers for libc-bin (2.40-1ubuntu3) ...
2704s (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 ... 58757 files and directories currently installed.)
2704s Purging configuration files for libglib2.0-0xyz:armhf (2.82.2-3) ...
2704s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
2704s + n=13
2704s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
2704s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
2704s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled
2704s + n=14
2704s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled
2704s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
2704s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so
2704s + n=15
2704s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
2704s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so
2704s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache
2704s + n=16
2704s + test -e /usr/lib/*/gio/modules/giomodule.cache
2704s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache
2704s + echo 1..16
2704s + exit 1
2704s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
2704s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
2704s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so
2704s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache
2704s 1..16
2704s autopkgtest [02:23:57]: test 1065022-futureproofing: -----------------------]
2708s autopkgtest [02:24:01]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - -
2708s 1065022-futureproofing FLAKY non-zero exit status 1
2712s autopkgtest [02:24:05]: @@@@@@@@@@@@@@@@@@@@ summary
2712s build PASS (superficial)
2712s build-static PASS (superficial)
2712s girepository-tools PASS (superficial)
2712s libgio-2.0-dev-bin PASS (superficial)
2712s libglib2.0-dev PASS (superficial)
2712s installed-tests PASS
2712s closure-refcount PASS
2712s debugcontroller PASS
2712s gdbus-server-auth PASS
2712s gdbus-threading PASS
2712s gmenumodel PASS
2712s mainloop PASS
2712s memory-monitor-dbus PASS
2712s socket PASS
2712s testfilemonitor PASS
2712s thread-pool-slow PASS
2712s threadtests PASS
2712s timeout PASS
2712s timer PASS
2712s 1065022-futureproofing FLAKY non-zero exit status 1